summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-03 23:01:09 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-03 23:01:09 +0000
commit6f1d929c3f081afc59aa84c3a9884d59366c5775 (patch)
tree1bb4774ff36281ed0d792f350fa5bc479fa3b866 /games-fps/quake3
parentold (diff)
downloadgentoo-2-6f1d929c3f081afc59aa84c3a9884d59366c5775.tar.gz
gentoo-2-6f1d929c3f081afc59aa84c3a9884d59366c5775.tar.bz2
gentoo-2-6f1d929c3f081afc59aa84c3a9884d59366c5775.zip
Add workarounds for zlib and renderers loading, wrt bug #449510. Thanks to robo9k <robo+gentoo AT 9k.lv> for discovering these issues
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-fps/quake3')
-rw-r--r--games-fps/quake3/ChangeLog6
-rw-r--r--games-fps/quake3/quake3-9999.ebuild11
2 files changed, 15 insertions, 2 deletions
diff --git a/games-fps/quake3/ChangeLog b/games-fps/quake3/ChangeLog
index f7e77f46a5c7..e1beca3bf71a 100644
--- a/games-fps/quake3/ChangeLog
+++ b/games-fps/quake3/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/quake3
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.64 2013/01/03 22:23:10 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.65 2013/01/03 23:01:09 pinkbyte Exp $
+
+ 03 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> quake3-9999.ebuild:
+ Add workarounds for zlib and renderers loading, wrt bug #449510. Thanks to
+ robo9k <robo+gentoo AT 9k.lv> for discovering these issues
03 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> quake3-9999.ebuild:
Set new repo address for live ebuild, wrt bug #449510
diff --git a/games-fps/quake3/quake3-9999.ebuild b/games-fps/quake3/quake3-9999.ebuild
index 64055989fdb6..47f1ff4fb5f9 100644
--- a/games-fps/quake3/quake3-9999.ebuild
+++ b/games-fps/quake3/quake3-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-9999.ebuild,v 1.23 2013/01/03 22:23:10 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-9999.ebuild,v 1.24 2013/01/03 23:01:09 pinkbyte Exp $
# quake3-9999 -> latest git
# quake3-9999.REV -> use git REV
@@ -74,6 +74,9 @@ src_compile() {
# are otherwise ignored.
append-flags ${CPPFLAGS}
+ # Workaround for used zlib macro, wrt bug #449510
+ append-flags -DOF=_Z_OF
+
# OPTIMIZE is disabled in favor of CFLAGS.
#
# TODO: BUILD_CLIENT_SMP=$(buildit smp)
@@ -123,6 +126,12 @@ src_install() {
fi
done
+ # Install renderer libraries, wrt bug #449510
+ # this should be done through 'dogameslib', but
+ # for this some files need to be patched
+ exeinto "${GAMES_DATADIR}/${PN}"
+ doexe renderer*.so
+
prepgamesdirs
}