From ab15ac3f83cd92ae9f167ee93e6cac663cc549b1 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Tue, 28 Jul 2009 22:31:35 +0000 Subject: - Fix VM in amd64 ("%" -> "%%" in format string). - Bump PORTREVISION. PR: ports/134874 Submitted by: Mak Kolybabi --- games/iourbanterror/files/patch-code__qcommon__vm_x86_64.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'games/iourbanterror') 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(); -- cgit v1.2.3