aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2010-10-11 07:46:14 +0800
committeralepulver <alepulver@FreeBSD.org>2010-10-11 07:46:14 +0800
commit14bb48bbad13a42c4de0537b5a70fcde3aec6468 (patch)
tree9934ed45a0eed385b2018ac6199e0e74204c4cb2
parent81a8fee04cc77bc751c937eb2766c557b86a48d8 (diff)
downloadfreebsd-ports-gnome-14bb48bbad13a42c4de0537b5a70fcde3aec6468.tar.gz
freebsd-ports-gnome-14bb48bbad13a42c4de0537b5a70fcde3aec6468.tar.zst
freebsd-ports-gnome-14bb48bbad13a42c4de0537b5a70fcde3aec6468.zip
- Fix runtime error in VM, occurring on amd64.
PR: ports/141236 Submitted by: malus <malus2200@gmail.com>
-rw-r--r--games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c b/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c
index c5e215cb7000..43a5485b8faf 100644
--- a/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c
+++ b/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c
@@ -1,5 +1,14 @@
--- code/qcommon/vm_x86_64.c.orig 2008-05-10 10:05:55.000000000 -0300
-+++ code/qcommon/vm_x86_64.c 2008-08-10 11:36:11.000000000 -0300
++++ code/qcommon/vm_x86_64.c 2010-10-10 20:41:15.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();