1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Fix building on sparc64 (and probably !i386).

Reported by:	pointyhat
This commit is contained in:
Alejandro Pulver 2007-01-10 22:48:39 +00:00
parent ab7a983cb5
commit 4dcbe7a2b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182030

View File

@ -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)