diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-09-15 19:11:28 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-09-15 19:11:28 +0000 |
commit | c8571b6298220615ef2818c2cd6faccbba901636 (patch) | |
tree | 92bc669e9309014041f1996b7ea40c2c57f8989a /games/r1q2 | |
parent | a5b8c77de726826c0b9870fe6a072af846d905f0 (diff) | |
download | ports-c8571b6298220615ef2818c2cd6faccbba901636.tar.gz ports-c8571b6298220615ef2818c2cd6faccbba901636.zip |
Notes
Diffstat (limited to 'games/r1q2')
-rw-r--r-- | games/r1q2/files/patch-linux__sys_linux.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/games/r1q2/files/patch-linux__sys_linux.c b/games/r1q2/files/patch-linux__sys_linux.c index 11bf85dd6fbf..484c05cfee7d 100644 --- a/games/r1q2/files/patch-linux__sys_linux.c +++ b/games/r1q2/files/patch-linux__sys_linux.c @@ -1,5 +1,5 @@ ---- linux/sys_linux.c.orig Fri May 19 18:31:30 2006 -+++ linux/sys_linux.c Fri May 19 18:32:04 2006 +--- linux/sys_linux.c.orig Fri Sep 15 15:50:28 2006 ++++ linux/sys_linux.c Fri Sep 15 15:51:43 2006 @@ -230,7 +230,7 @@ size = backtrace (array, sizeof(array)/sizeof(void*));
@@ -9,7 +9,17 @@ array[1] = (void *) uc->uc_mcontext.gregs[REG_EIP];
#endif
-@@ -414,29 +414,17 @@ +@@ -309,7 +309,9 @@ +
+ void Sys_DebugBreak (void)
+ {
++#ifdef __i386__
+ __asm ("int $3");
++#endif
+ }
+
+ void Sys_Warn (char *warning, ...)
+@@ -414,29 +416,17 @@ void *(*GetGameAPI) (void *);
char name[MAX_OSPATH];
@@ -41,7 +51,7 @@ game_library = dlopen (name, RTLD_NOW );
}
else
-@@ -448,7 +436,7 @@ +@@ -448,7 +438,7 @@ path = FS_NextPath (path);
if (!path)
return NULL; // couldn't find one anywhere
|