summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-03-24 15:27:32 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-03-24 15:27:32 +0000
commitc5c653fed2475aaffccb72a69014b988c539dfc5 (patch)
treeea196200aaddecc69064d114c82c23d76ad2302b /games-arcade
parentMarked ~x64-macos (diff)
downloadgentoo-2-c5c653fed2475aaffccb72a69014b988c539dfc5.tar.gz
gentoo-2-c5c653fed2475aaffccb72a69014b988c539dfc5.tar.bz2
gentoo-2-c5c653fed2475aaffccb72a69014b988c539dfc5.zip
Fix build with new zlib. Bug #408451
(Portage version: 2.1.10.51/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/xrick/ChangeLog8
-rw-r--r--games-arcade/xrick/files/xrick-021212-zlib.patch13
2 files changed, 19 insertions, 2 deletions
diff --git a/games-arcade/xrick/ChangeLog b/games-arcade/xrick/ChangeLog
index 1308cd02a0d7..0e438a8dc78c 100644
--- a/games-arcade/xrick/ChangeLog
+++ b/games-arcade/xrick/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/xrick
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.14 2011/02/11 03:01:06 mr_bones_ Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xrick/ChangeLog,v 1.15 2012/03/24 15:27:32 tupone Exp $
+
+ 24 Mar 2012; Tupone Alfredo <tupone@gentoo.org>
+ +files/xrick-021212-zlib.patch:
+ Fix build with new zlib. Bug #408451 by Piotr Szymaniak
11 Feb 2011; Michael Sterrett <mr_bones_@gentoo.org>
xrick-021212-r1.ebuild, +files/xrick-021212-exit.patch,
diff --git a/games-arcade/xrick/files/xrick-021212-zlib.patch b/games-arcade/xrick/files/xrick-021212-zlib.patch
new file mode 100644
index 000000000000..da09a46369d6
--- /dev/null
+++ b/games-arcade/xrick/files/xrick-021212-zlib.patch
@@ -0,0 +1,13 @@
+--- include/unzip.h.old 2012-03-24 16:13:16.012854948 +0100
++++ include/unzip.h 2012-03-24 16:15:42.744346771 +0100
+@@ -49,6 +49,10 @@
+ #include "zlib.h"
+ #endif
+
++#ifdef _Z_OF
++#define OF _Z_OF
++#endif
++
+ #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
+ /* like the STRICT of WIN32, we define a pointer that cannot be converted
+ from (void*) without cast */