aboutsummaryrefslogtreecommitdiff
path: root/games/quake2lnx/files/extra-patch-src_rogue_q__shared.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-17 10:51:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-17 10:51:28 +0000
commit8175bdc56ac0cdc7eaf5bc3f3a308e4722790544 (patch)
tree218115ab9bd09b05e3ac5e3b7df7fdf62225025a /games/quake2lnx/files/extra-patch-src_rogue_q__shared.c
parent822f76591c3ba8df9e0580f31ded39c5b382fc9b (diff)
downloadports-8175bdc56ac0cdc7eaf5bc3f3a308e4722790544.tar.gz
ports-8175bdc56ac0cdc7eaf5bc3f3a308e4722790544.zip
Notes
Diffstat (limited to 'games/quake2lnx/files/extra-patch-src_rogue_q__shared.c')
-rw-r--r--games/quake2lnx/files/extra-patch-src_rogue_q__shared.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/quake2lnx/files/extra-patch-src_rogue_q__shared.c b/games/quake2lnx/files/extra-patch-src_rogue_q__shared.c
new file mode 100644
index 000000000000..25ffc42c24b4
--- /dev/null
+++ b/games/quake2lnx/files/extra-patch-src_rogue_q__shared.c
@@ -0,0 +1,11 @@
+--- src/rogue/q_shared.c.orig Mon Nov 30 17:53:34 1998
++++ src/rogue/q_shared.c Tue Sep 27 20:03:24 2005
+@@ -329,7 +329,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;