summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2018-04-10 02:06:54 +0300
committerPatrice Clement <monsieurp@gentoo.org>2018-04-11 23:47:25 +0200
commit547b426dc4c4f660a9262ad4a2fa21a2f55f247f (patch)
tree87ecf1f340f88f65c8dd5e6c2dde18b4c5dfa73a /games-fps/yamagi-quake2/files
parentnet-mail/grepmail: fix HOMEPAGE, use HTTPS. (diff)
downloadgentoo-547b426dc4c4f660a9262ad4a2fa21a2f55f247f.tar.gz
gentoo-547b426dc4c4f660a9262ad4a2fa21a2f55f247f.tar.bz2
gentoo-547b426dc4c4f660a9262ad4a2fa21a2f55f247f.zip
games-fps/yamagi-quake2: version bump to 7.20.
Closes: https://github.com/gentoo/gentoo/pull/7921
Diffstat (limited to 'games-fps/yamagi-quake2/files')
-rw-r--r--games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch
new file mode 100644
index 000000000000..1de79c986907
--- /dev/null
+++ b/games-fps/yamagi-quake2/files/yamagi-quake2-zlib.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/383179
+
+Upstream removed OF macro definition:
+https://github.com/yquake2/yquake2/commit/716d72a295c9247b3c88ccd180bb7a517ed99e13
+
+--- a/src/common/unzip/ioapi.h 2018-03-10 20:24:21.000000000 +0300
++++ b/src/common/unzip/ioapi.h 2018-04-10 00:34:08.688675097 +0300
+@@ -120,6 +120,9 @@
+ #define ZLIB_FILEFUNC_MODE_EXISTING (4)
+ #define ZLIB_FILEFUNC_MODE_CREATE (8)
+
++#ifdef _Z_OF
++#define OF _Z_OF
++#endif
+
+ #ifndef ZCALLBACK
+ #if (defined(WIN32) || defined(_WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK)