diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-01-11 06:48:39 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-01-11 06:48:39 +0800 |
commit | fde2a0810fc06109b3a8ebaad523f883811ef54b (patch) | |
tree | d0e41c1e5e0257cb9adaa92c488e42b15bc1ad0b /games/r1q2 | |
parent | 06785f8c4514cd381c51c75a560b1de72d2ef55d (diff) | |
download | freebsd-ports-gnome-fde2a0810fc06109b3a8ebaad523f883811ef54b.tar.gz freebsd-ports-gnome-fde2a0810fc06109b3a8ebaad523f883811ef54b.tar.zst freebsd-ports-gnome-fde2a0810fc06109b3a8ebaad523f883811ef54b.zip |
- Fix building on sparc64 (and probably !i386).
Reported by: pointyhat
Diffstat (limited to 'games/r1q2')
-rw-r--r-- | games/r1q2/files/patch-linux__q_shlinux.c | 14 |
1 files changed, 12 insertions, 2 deletions
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) |