summaryrefslogtreecommitdiff
path: root/games/openarena/files/patch-code_qcommon_vm__x86.c
diff options
context:
space:
mode:
authorDominic Fandrey <kami@FreeBSD.org>2016-04-25 22:43:23 +0000
committerDominic Fandrey <kami@FreeBSD.org>2016-04-25 22:43:23 +0000
commit9ab41ffb0ed7fe5b80ada841b19b709a527be516 (patch)
treeb925cdd4e451243acc640cf04658621ba50ec608 /games/openarena/files/patch-code_qcommon_vm__x86.c
parentUpdate libbluray and related libraries (diff)
Update and clean up the ioquake3 family of ports.
The following maintenance operations were performed: - Recreate all patches with `make makepatch` - Add LICENSE - Update MAINTAINER to kami@freebsd.org - games/ioquake3 - Replace a lot of `.if ${PORT_OPTIONS:MFOO}` with `bsd.options.mk` fu - Add support for slaves using different SDL versions - games/ioquake3-devel - Update to GIT revision 2808 - Use SDL2 - games/iourbanterror - Change treatment of patches so `make makepatch` doesn't screw the patches in ${MASTERDIR}/files over - Update 4.2.018 to 4.2.023 - games/urbanterror-data - Update 4.2.018 to 4.2.023 - Fix install without DOCS Reviewed by: cs Approved by: cs Differential Revision: https://reviews.freebsd.org/D5816
Diffstat (limited to 'games/openarena/files/patch-code_qcommon_vm__x86.c')
-rw-r--r--games/openarena/files/patch-code_qcommon_vm__x86.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/openarena/files/patch-code_qcommon_vm__x86.c b/games/openarena/files/patch-code_qcommon_vm__x86.c
new file mode 100644
index 000000000000..7bc5b30118f5
--- /dev/null
+++ b/games/openarena/files/patch-code_qcommon_vm__x86.c
@@ -0,0 +1,15 @@
+--- code/qcommon/vm_x86.c.orig 2016-04-01 10:07:17 UTC
++++ code/qcommon/vm_x86.c
+@@ -90,8 +90,11 @@ static int ftolPtr = (int)qftol0F7F;
+ void AsmCall(void);
+ static void (*const asmCallPtr)(void) = AsmCall;
+
+-
++#ifdef __clang__
++ int callMask = 0;
++#else
+ static int callMask = 0;
++#endif
+
+ static int instruction, pass;
+ static int lastConst = 0;