diff options
Diffstat (limited to 'games-fps/quake2-icculus')
-rw-r--r-- | games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch | 10 | ||||
-rw-r--r-- | games-fps/quake2-icculus/quake2-icculus-0.16.1-r1.ebuild | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch new file mode 100644 index 000000000000..8392ec63b784 --- /dev/null +++ b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch @@ -0,0 +1,10 @@ +--- a/src/client/client.h ++++ b/src/client/client.h +@@ -49,7 +49,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #ifdef QMAX + #define random() ((rand () & 0x7fff) / ((float)0x7fff)) + #define crandom() (2.0 * (random() - 0.5)) +-vec3_t clientOrg; //lerped org of client for server->client side effects + + void vectoangles2 (vec3_t value1, vec3_t angles); + diff --git a/games-fps/quake2-icculus/quake2-icculus-0.16.1-r1.ebuild b/games-fps/quake2-icculus/quake2-icculus-0.16.1-r1.ebuild index 13756e436dc6..5a5e6b994311 100644 --- a/games-fps/quake2-icculus/quake2-icculus-0.16.1-r1.ebuild +++ b/games-fps/quake2-icculus/quake2-icculus-0.16.1-r1.ebuild @@ -70,7 +70,8 @@ src_prepare() { "${FILESDIR}"/${P}-x11_soft.patch \ "${FILESDIR}"/${P}-x11_mouse.patch \ "${FILESDIR}"/${P}-alsa.patch \ - "${FILESDIR}"/${P}-ia64.patch + "${FILESDIR}"/${P}-ia64.patch \ + "${FILESDIR}"/${P}-fno-common.patch if use xatrix ; then epatch "${FILESDIR}/${P}"-gcc41.patch |