summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-05-16 11:46:57 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-05-16 11:46:57 +0000
commitf2c94a31f31b5d0f6199a36a50b0a50d21f2c5d3 (patch)
treea64117d03258120f5f6c92945cc65d25250ac771 /Build/source/libs
parent88b2a3deff4a07e7abf9c15119b743f6a73de88a (diff)
xpdf: bug fix for AIX, from Vladimir Volovic
git-svn-id: svn://tug.org/texlive/trunk@26441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/xpdf/xpdf-3.03-PATCHES/ChangeLog5
-rw-r--r--Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-30-include-strings_h15
-rw-r--r--Build/source/libs/xpdf/xpdf-3.03/xpdf/GlobalParams.cc2
3 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.03-PATCHES/ChangeLog b/Build/source/libs/xpdf/xpdf-3.03-PATCHES/ChangeLog
index 744ac518ad9..82fed5f082f 100644
--- a/Build/source/libs/xpdf/xpdf-3.03-PATCHES/ChangeLog
+++ b/Build/source/libs/xpdf/xpdf-3.03-PATCHES/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-16 Vladimir Volovich <vvv@vsu.ru>
+
+ * patch-30-include-strings_h (new): Bug fix for AIX 4.3 and xlc.
+ The Posix manpage says strcasecmp() is declared in <strings.h>.
+
2011-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* patch-40-objectStream-support-for-pdftosrc: Removed, no longer
diff --git a/Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-30-include-strings_h b/Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-30-include-strings_h
new file mode 100644
index 00000000000..acd799a952e
--- /dev/null
+++ b/Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-30-include-strings_h
@@ -0,0 +1,15 @@
+ The Posix manpage says strcasecmp() is declared in <strings.h>
+ and this indeed required for AIX 4.3 and xlc.
+
+diff -ur -N xpdf-3.03.orig/xpdf/GlobalParams.cc xpdf-3.03/xpdf/GlobalParams.cc
+--- xpdf-3.03.orig/xpdf/GlobalParams.cc 2011-08-22 14:11:46.000000000 +0200
++++ xpdf-3.03/xpdf/GlobalParams.cc 2012-05-16 13:36:12.000000000 +0200
+@@ -52,6 +52,8 @@
+
+ #ifdef WIN32
+ # define strcasecmp stricmp
++#else
++# include <strings.h>
+ #endif
+
+ #if MULTITHREADED
diff --git a/Build/source/libs/xpdf/xpdf-3.03/xpdf/GlobalParams.cc b/Build/source/libs/xpdf/xpdf-3.03/xpdf/GlobalParams.cc
index 496c01f87bf..018978470a9 100644
--- a/Build/source/libs/xpdf/xpdf-3.03/xpdf/GlobalParams.cc
+++ b/Build/source/libs/xpdf/xpdf-3.03/xpdf/GlobalParams.cc
@@ -52,6 +52,8 @@
#ifdef WIN32
# define strcasecmp stricmp
+#else
+# include <strings.h>
#endif
#if MULTITHREADED