Loading pkgs/by-name/pd/pdf4qt/package.nix +13 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,19 @@ stdenv.mkDerivation (finalAttrs: { ./find_lcms2_path.patch ]; # make calls to QString::arg compatible with Qt 6.9 # see https://doc-snapshots.qt.io/qt6-6.9/whatsnew69.html#new-features-in-qt-6-9 postPatch = '' substituteInPlace Pdf4QtLibCore/sources/pdf{documentsanitizer,optimizer}.cpp \ --replace-fail \ '.arg(counter)' \ '.arg<PDFInteger>(counter)' substituteInPlace Pdf4QtLibCore/sources/pdfoptimizer.cpp \ --replace-fail \ '.arg(bytesSaved)' \ '.arg<PDFInteger>(bytesSaved)' ''; nativeBuildInputs = [ cmake pkg-config Loading Loading
pkgs/by-name/pd/pdf4qt/package.nix +13 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,19 @@ stdenv.mkDerivation (finalAttrs: { ./find_lcms2_path.patch ]; # make calls to QString::arg compatible with Qt 6.9 # see https://doc-snapshots.qt.io/qt6-6.9/whatsnew69.html#new-features-in-qt-6-9 postPatch = '' substituteInPlace Pdf4QtLibCore/sources/pdf{documentsanitizer,optimizer}.cpp \ --replace-fail \ '.arg(counter)' \ '.arg<PDFInteger>(counter)' substituteInPlace Pdf4QtLibCore/sources/pdfoptimizer.cpp \ --replace-fail \ '.arg(bytesSaved)' \ '.arg<PDFInteger>(bytesSaved)' ''; nativeBuildInputs = [ cmake pkg-config Loading