From fde2a0810fc06109b3a8ebaad523f883811ef54b Mon Sep 17 00:00:00 2001 From: alepulver Date: Wed, 10 Jan 2007 22:48:39 +0000 Subject: - Fix building on sparc64 (and probably !i386). Reported by: pointyhat --- games/r1q2/files/patch-linux__q_shlinux.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'games/r1q2') diff --git a/games/r1q2/files/patch-linux__q_shlinux.c b/games/r1q2/files/patch-linux__q_shlinux.c index 29220bdf5696..e64b48cea50b 100644 --- a/games/r1q2/files/patch-linux__q_shlinux.c +++ b/games/r1q2/files/patch-linux__q_shlinux.c @@ -1,5 +1,5 @@ ---- ./linux/q_shlinux.c.orig Mon Oct 30 15:11:00 2006 -+++ ./linux/q_shlinux.c Sat Dec 16 17:28:37 2006 +--- linux/q_shlinux.c.orig Wed Jan 10 19:46:44 2007 ++++ linux/q_shlinux.c Wed Jan 10 19:47:36 2007 @@ -12,25 +12,23 @@ #include "../qcommon/qcommon.h" @@ -63,3 +63,13 @@ return curhunksize; } +@@ -107,7 +120,9 @@ + + void Sys_DebugBreak (void) + { ++#ifdef __i386__ + __asm ("int $3"); ++#endif + } + + void Sys_Mkdir (char *path) -- cgit