From 9ab41ffb0ed7fe5b80ada841b19b709a527be516 Mon Sep 17 00:00:00 2001 From: Dominic Fandrey Date: Mon, 25 Apr 2016 22:43:23 +0000 Subject: 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 --- games/openarena/files/patch-code_qcommon_vm__x86.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 games/openarena/files/patch-code_qcommon_vm__x86.c (limited to 'games/openarena/files/patch-code_qcommon_vm__x86.c') 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; -- cgit v1.2.3