Commit 50389247 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by Stanisław Pitucha
Browse files

dia: fix darwin build

Patch PDF plugin to build correctly with clang.
parent 746a47be
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 .
  '';