Merge pull request #314563 from NixOS/backport-314340-to-release-24.05

[Backport release-24.05] pdfslicer: work around incompatibility with GCC 13
This commit is contained in:
Robert Scott 2024-05-25 17:54:57 +01:00 committed by GitHub
commit 8219ecf351
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/";