summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-0.18.4-PATCHES/patch-03-POPPLER_VERSION
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-0.18.4-PATCHES/patch-03-POPPLER_VERSION')
-rw-r--r--Build/source/libs/poppler/poppler-0.18.4-PATCHES/patch-03-POPPLER_VERSION15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/poppler-0.18.4-PATCHES/patch-03-POPPLER_VERSION b/Build/source/libs/poppler/poppler-0.18.4-PATCHES/patch-03-POPPLER_VERSION
new file mode 100644
index 00000000000..e936c70ad72
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.18.4-PATCHES/patch-03-POPPLER_VERSION
@@ -0,0 +1,15 @@
+diff -ur poppler-0.18.4.orig/poppler/poppler-config.h.in poppler-0.18.4/poppler/poppler-config.h.in
+--- poppler-0.18.4.orig/poppler/poppler-config.h.in 2012-02-15 18:23:06.000000000 +0100
++++ poppler-0.18.4/poppler/poppler-config.h.in 2012-02-23 11:09:01.791684462 +0100
+@@ -14,6 +14,11 @@
+ // around #undef look odd, but it's to silence warnings about
+ // redefining those symbols.
+
++/* Define to the poppler version. */
++#ifndef POPPLER_VERSION
++#undef POPPLER_VERSION
++#endif
++
+ /* Enable multithreading support. */
+ #ifndef MULTITHREADED
+ #undef MULTITHREADED