diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-04 20:51:39 +0100 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-02-09 10:59:22 -0600 |
commit | fd2a72e2b447db3b0a3554f7b3918e7f63a9bedc (patch) | |
tree | fe078b1a4308c0cdfd236c2866ac1a4b4ecee3c7 /games-fps/quake2-icculus/files | |
parent | app-pda/jpilot: Port to EAPI 7 (diff) | |
download | gentoo-fd2a72e2b447db3b0a3554f7b3918e7f63a9bedc.tar.gz gentoo-fd2a72e2b447db3b0a3554f7b3918e7f63a9bedc.tar.bz2 gentoo-fd2a72e2b447db3b0a3554f7b3918e7f63a9bedc.zip |
games-fps/quake2-icculus: Fix build with gcc-10
Closes: https://bugs.gentoo.org/733962
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'games-fps/quake2-icculus/files')
-rw-r--r-- | games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch | 10 |
1 files changed, 10 insertions, 0 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); + |