aboutsummaryrefslogtreecommitdiff
path: root/games/worldofpadman
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2010-10-10 23:46:14 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2010-10-10 23:46:14 +0000
commit8764e31106e15c80b01bf06af619763f8c907ecd (patch)
tree4986c694489b2ee56c5b868be8d39a755f77b61e /games/worldofpadman
parentc6d4aa2481f225739f72ae20fdea76255a7e4350 (diff)
downloadports-8764e31106e15c80b01bf06af619763f8c907ecd.tar.gz
ports-8764e31106e15c80b01bf06af619763f8c907ecd.zip
- Fix runtime error in VM, occurring on amd64.
PR: ports/141236 Submitted by: malus <malus2200@gmail.com>
Notes
Notes: svn path=/head/; revision=262783
Diffstat (limited to 'games/worldofpadman')
-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();