summaryrefslogtreecommitdiff
path: root/games/ioquake3/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/ioquake3/patches/patch-ad')
-rw-r--r--games/ioquake3/patches/patch-ad15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/ioquake3/patches/patch-ad b/games/ioquake3/patches/patch-ad
new file mode 100644
index 00000000000..61ee9138f59
--- /dev/null
+++ b/games/ioquake3/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2009/01/13 00:12:29 jmcneill Exp $
+
+--- code/qcommon/vm_x86_64.c.orig 2009-01-12 18:50:39.000000000 -0500
++++ code/qcommon/vm_x86_64.c
+@@ -58,6 +58,10 @@ void assemble_line(const char* input, si
+ #endif
+ #endif // USE_GAS
+
++#ifndef MAP_ANONYMOUS
++#define MAP_ANONYMOUS MAP_ANON
++#endif
++
+ static void VM_Destroy_Compiled(vm_t* self);
+
+ /*