summaryrefslogtreecommitdiff
path: root/poppler/poppler-apple-clang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/poppler-apple-clang.patch')
-rw-r--r--poppler/poppler-apple-clang.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/poppler/poppler-apple-clang.patch b/poppler/poppler-apple-clang.patch
new file mode 100644
index 000000000000..6ae7a6c271a0
--- /dev/null
+++ b/poppler/poppler-apple-clang.patch
@@ -0,0 +1,12 @@
+--- misc/poppler/configure
++++ misc/build/poppler/configure
+@@ -21162,7 +21162,7 @@
+ fi
+ case "$enable_compile_warnings" in
+ no) ;;
+- yes) CXXFLAGS="-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common $CXXFLAGS" ;;
++ yes) CXXFLAGS="-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-common $CXXFLAGS" ;;
+ kde) CXXFLAGS="-Wnon-virtual-dtor -Wno-long-long -Wundef \
+ -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -Wcast-align \
+ -Wconversion -Wall -W -Wpointer-arith \
+