summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-01-10 22:48:39 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-01-10 22:48:39 +0000
commit4dcbe7a2b96b2bab49ae9b98b2134c8c5ae1a611 (patch)
treeab677c26297801cd276e5456d3eacb832b06d96d /games
parent- Fix building with GCC 4.x. (diff)
- Fix building on sparc64 (and probably !i386).
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=182030
Diffstat (limited to 'games')
-rw-r--r--games/r1q2/files/patch-linux__q_shlinux.c14
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)