summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-09-23 18:05:42 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-09-23 18:05:42 +0000
commit86d509f0f5874666f9f8d1b498b55ab51ec2edc9 (patch)
tree28f0d80c43c1bca47e0537268460e2f54e1d8665 /games-util/ucon64/files
parentVersion bump (diff)
downloadgentoo-2-86d509f0f5874666f9f8d1b498b55ab51ec2edc9.tar.gz
gentoo-2-86d509f0f5874666f9f8d1b498b55ab51ec2edc9.tar.bz2
gentoo-2-86d509f0f5874666f9f8d1b498b55ab51ec2edc9.zip
Build with new zlib. Bug #383813
(Portage version: 2.1.10.19/cvs/Linux i686)
Diffstat (limited to 'games-util/ucon64/files')
-rw-r--r--games-util/ucon64/files/ucon64-2.0.0-zlib.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-util/ucon64/files/ucon64-2.0.0-zlib.patch b/games-util/ucon64/files/ucon64-2.0.0-zlib.patch
new file mode 100644
index 000000000000..f7a371ab69ec
--- /dev/null
+++ b/games-util/ucon64/files/ucon64-2.0.0-zlib.patch
@@ -0,0 +1,25 @@
+--- misc/unzip.h.old 2011-09-23 19:53:09.708884325 +0200
++++ misc/unzip.h 2011-09-23 19:54:00.012878355 +0200
+@@ -49,6 +49,10 @@
+ #include "zlib.h"
+ #endif
+
++#ifndef OF
++#define OF(x) x
++#endif
++
+ #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
+ /* like the STRICT of WIN32, we define a pointer that cannot be converted
+ from (void*) without cast */
+--- libdiscmage/unzip.h.old 2011-09-23 19:59:47.319837133 +0200
++++ libdiscmage/unzip.h 2011-09-23 20:00:07.230834769 +0200
+@@ -48,6 +48,9 @@
+ #ifndef _ZLIB_H
+ #include "zlib.h"
+ #endif
++#ifndef OF
++#define OF(x) x
++#endif
+
+ #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
+ /* like the STRICT of WIN32, we define a pointer that cannot be converted