diff options
author | Robert Scott <code@humanleg.org.uk> | 2024-05-25 12:32:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-25 12:32:38 +0100 |
commit | e67c3852746021ef1256c83c6c1158f6a1b6e156 (patch) | |
tree | c6a7be74e50e352fd1b4023f039b7e541e5c23f3 | |
parent | df615778bab4fe18eb2d024865a673592cd20109 (diff) | |
parent | 99f6cff91dfbf45595d3587a0ba53c3ca83e84e6 (diff) |
Merge pull request #314340 from AndrewKvalheim/pdfslicer/gcc-13
pdfslicer: work around incompatibility with GCC 13
-rw-r--r-- | pkgs/applications/misc/pdfslicer/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/pdfslicer/default.nix b/pkgs/applications/misc/pdfslicer/default.nix index d856dfaca8cb3..154a2ed837e3a 100644 --- a/pkgs/applications/misc/pdfslicer/default.nix +++ b/pkgs/applications/misc/pdfslicer/default.nix @@ -45,6 +45,10 @@ stdenv.mkDerivation rec { qpdf ]; + CXXFLAGS = + # Pending upstream compatibility with GCC 13 + lib.optional (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "13") "-Wno-changes-meaning"; + meta = with lib; { description = "A simple application to extract, merge, rotate and reorder pages of PDF documents"; homepage = "https://junrrein.github.io/pdfslicer/"; |