aboutsummaryrefslogtreecommitdiff
path: root/games/quake2lnx/files/extra-patch-src_xatrix_q__shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2lnx/files/extra-patch-src_xatrix_q__shared.c')
-rw-r--r--games/quake2lnx/files/extra-patch-src_xatrix_q__shared.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/quake2lnx/files/extra-patch-src_xatrix_q__shared.c b/games/quake2lnx/files/extra-patch-src_xatrix_q__shared.c
new file mode 100644
index 000000000000..917934b400b9
--- /dev/null
+++ b/games/quake2lnx/files/extra-patch-src_xatrix_q__shared.c
@@ -0,0 +1,11 @@
+--- src/xatrix/q_shared.c.orig Mon Nov 30 17:55:36 1998
++++ src/xatrix/q_shared.c Tue Sep 27 20:04:53 2005
+@@ -326,7 +326,7 @@
+ Returns 1, 2, or 1 + 2
+ ==================
+ */
+-#if !id386 || defined __linux__
++#if !id386 || defined __linux__ || defined __FreeBSD__
+ int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct cplane_s *p)
+ {
+ float dist1, dist2;