freebsd-ports/games/quake2-source/files/extra-patch-src_rogue_q__shared.c
Edwin Groothuis 7e4cbdf713 [NEW PORT] games/quake2-source - Quake II game source
Quake II game source.

	This port installs the Quake II game source, together with
	BSD Makefiles, for building modifications. It can also
	install the Capture the Flag mod, Rogue and Xatrix game
	source.

PR:		ports/86737
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
2005-10-16 05:58:42 +00:00

11 lines
357 B
C

--- 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;