From 69705aa89e1409a4a263b0582e56ff6f5c49448a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 7 Jun 2002 06:12:02 +0000 Subject: Take maintainership of glide3, update to a more recent CVS snapshot, fix automake troubles, include patches for several bugs. Reviewed by: des Approved by: portmgr --- graphics/glide3/files/patch-h3-fxglide_h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 graphics/glide3/files/patch-h3-fxglide_h (limited to 'graphics/glide3/files/patch-h3-fxglide_h') diff --git a/graphics/glide3/files/patch-h3-fxglide_h b/graphics/glide3/files/patch-h3-fxglide_h new file mode 100644 index 000000000000..1a55276f044f --- /dev/null +++ b/graphics/glide3/files/patch-h3-fxglide_h @@ -0,0 +1,16 @@ +diff -ru ../Glide3.orig/h3/glide3/src/fxglide.h ./h3/glide3/src/fxglide.h +--- ../Glide3.orig/h3/glide3/src/fxglide.h Thu May 31 12:05:52 2001 ++++ ./h3/glide3/src/fxglide.h Sun Jan 13 15:35:42 2002 +@@ -2133,7 +2133,11 @@ + #if defined(GLIDE_SANITY_ASSERT) + #define GR_ASSERT(exp) ((void)((!(exp)) ? (_grAssert(#exp, __FILE__, __LINE__),0) : 0xFFFFFFFF)) + #else +-#define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp)))) ++# ifdef __GNUC__ ++# define GR_ASSERT(exp) ((void) 0) ++# else ++# define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp)))) ++# endif + #endif + + #define INTERNAL_CHECK(__name, __cond, __msg, __fatalP) \ -- cgit v1.2.3