pdfslicer: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/155183850

+6
+6
pkgs/applications/misc/pdfslicer/default.nix
··· 24 24 sha256 = "0sja0ddd9c8wjjpzk2ag8q1lxpj09adgmhd7wnsylincqnj2jyls"; 25 25 }; 26 26 27 + postPatch = '' 28 + # Don't build tests, vendored catch doesn't build with latest glibc. 29 + substituteInPlace CMakeLists.txt \ 30 + --replace "add_subdirectory (tests)" "" 31 + ''; 32 + 27 33 nativeBuildInputs = [ 28 34 cmake 29 35 gettext