summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2010-05-31 19:06:01 +0000
committerTaco Hoekwater <taco@elvenkind.com>2010-05-31 19:06:01 +0000
commit016cf0b1f8cb5c3bc32b8d2b0e1ce07aeae78adf (patch)
treec4c8fee4b35281cec086326408d7a208193adb4f /Build/source/libs
parent48fe5a48abd086ba8a91aaa1cce61c22bc0baddd (diff)
hopefully fix AIX compilation
git-svn-id: svn://tug.org/texlive/trunk@18655 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/zziplib/zziplib-0.13.58-PATCHES/patch-02-aix-strcasecmp14
-rw-r--r--Build/source/libs/zziplib/zziplib-0.13.58/ChangeLog5
-rw-r--r--Build/source/libs/zziplib/zziplib-0.13.58/zzip/stat.c3
3 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/zziplib-0.13.58-PATCHES/patch-02-aix-strcasecmp b/Build/source/libs/zziplib/zziplib-0.13.58-PATCHES/patch-02-aix-strcasecmp
new file mode 100644
index 00000000000..f1c6bc87d7e
--- /dev/null
+++ b/Build/source/libs/zziplib/zziplib-0.13.58-PATCHES/patch-02-aix-strcasecmp
@@ -0,0 +1,14 @@
+Index: zziplib-0.13.58/zzip/stat.c
+===================================================================
+--- zziplib-0.13.58/zzip/stat.c (revision 18597)
++++ zziplib-0.13.58/zzip/stat.c (working copy)
+@@ -21,6 +21,9 @@
+ #include <zzip/lib.h> /* exported... */
+ #include <zzip/file.h>
+ #include <string.h>
++#if defined(_AIX)
++#include <strings.h> /* for strcasecmp */
++#endif
+ #include <sys/stat.h>
+
+ #define ZZIP_USE_INTERNAL
diff --git a/Build/source/libs/zziplib/zziplib-0.13.58/ChangeLog b/Build/source/libs/zziplib/zziplib-0.13.58/ChangeLog
index 085bbbc2b5c..fc73bdd4da6 100644
--- a/Build/source/libs/zziplib/zziplib-0.13.58/ChangeLog
+++ b/Build/source/libs/zziplib/zziplib-0.13.58/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-31 Taco Hoekwater <taco@luatex.org>
+
+ * zzip/stat.c: add loading of <strings.h> under _AIX to bring
+ in the strcasecmp function.
+
2009-08-23 guidod <guidod@gmx.de>
* Makefile.mk: remove some old stuff related to the compilefarm
diff --git a/Build/source/libs/zziplib/zziplib-0.13.58/zzip/stat.c b/Build/source/libs/zziplib/zziplib-0.13.58/zzip/stat.c
index 1c9428357b1..33f4fdc223c 100644
--- a/Build/source/libs/zziplib/zziplib-0.13.58/zzip/stat.c
+++ b/Build/source/libs/zziplib/zziplib-0.13.58/zzip/stat.c
@@ -21,6 +21,9 @@
#include <zzip/lib.h> /* exported... */
#include <zzip/file.h>
#include <string.h>
+#if defined(_AIX)
+#include <strings.h> /* for strcasecmp */
+#endif
#include <sys/stat.h>
#define ZZIP_USE_INTERNAL