aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2009-07-29 06:31:35 +0800
committeralepulver <alepulver@FreeBSD.org>2009-07-29 06:31:35 +0800
commit288c85e83da04d59da4ace55731df655240be21f (patch)
tree4686fb755dc0198cce41c08c4511b76f290c5fcc
parent242fc244559f57400c101bf17895f0563d7bb800 (diff)
downloadfreebsd-ports-gnome-288c85e83da04d59da4ace55731df655240be21f.tar.gz
freebsd-ports-gnome-288c85e83da04d59da4ace55731df655240be21f.tar.zst
freebsd-ports-gnome-288c85e83da04d59da4ace55731df655240be21f.zip
- Fix VM in amd64 ("%" -> "%%" in format string).
- Bump PORTREVISION. PR: ports/134874 Submitted by: Mak Kolybabi <mak@mogigoma.com>
-rw-r--r--games/iourbanterror/files/patch-code__qcommon__vm_x86_64.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/iourbanterror/files/patch-code__qcommon__vm_x86_64.c b/games/iourbanterror/files/patch-code__qcommon__vm_x86_64.c
index 0c1c5b5da16b..e6d19725a746 100644
--- a/games/iourbanterror/files/patch-code__qcommon__vm_x86_64.c
+++ b/games/iourbanterror/files/patch-code__qcommon__vm_x86_64.c
@@ -1,5 +1,14 @@
--- ./code/qcommon/vm_x86_64.c.orig 2007-10-09 02:47:22.000000000 -0300
+++ ./code/qcommon/vm_x86_64.c 2008-03-04 10:45:08.000000000 -0300
+@@ -246,7 +246,7 @@
+ #else
+ #define JMPIARG \
+ emit("movq $%lu, %%rax", vm->codeBase+vm->instructionPointers[iarg]); \
+- emit("jmpq *%rax");
++ emit("jmpq *%%rax");
+ #endif
+
+ // integer compare and jump
@@ -534,7 +534,7 @@
{
compiledOfs = assembler_get_code_size();