dia: fix darwin build

Patch PDF plugin to build correctly with clang.
This commit is contained in:
Stanisław Pitucha 2023-02-05 23:04:14 +11:00 committed by Stanisław Pitucha
parent 746a47bea0
commit 5038924756

@ -34,6 +34,9 @@ stdenv.mkDerivation {
patches = [ ./poppler-22_09-build-fix.patch ];
# Required for the PDF plugin when building with clang.
CXXFLAGS = "-std=c++17";
preConfigure = ''
patchShebangs .
'';