diff options
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 |