diff options
Diffstat (limited to 'graphics/MesaLib/patches/patch-aa')
-rw-r--r-- | graphics/MesaLib/patches/patch-aa | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/graphics/MesaLib/patches/patch-aa b/graphics/MesaLib/patches/patch-aa deleted file mode 100644 index d8884441ffb..00000000000 --- a/graphics/MesaLib/patches/patch-aa +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-aa,v 1.12 2010/03/27 12:26:19 tnn Exp $ - ---- src/mesa/drivers/dri/mach64/mach64_context.h.orig 2009-01-22 17:38:33.000000000 +0000 -+++ src/mesa/drivers/dri/mach64/mach64_context.h -@@ -294,12 +294,19 @@ extern GLboolean mach64UnbindContext( __ - #define LE32_OUT( x, y ) do { *(GLuint *)(x) = (y); } while (0) - #define LE32_OUT_FLOAT( x, y ) do { *(GLfloat *)(x) = (y); } while (0) - #else -+/* XXX mesa should handle many more platforms here [properly] */ -+#if defined(__NetBSD__) -+#include <sys/types.h> -+#include <machine/bswap.h> -+#define bswap_32 bswap32 -+#else - #ifndef __OpenBSD__ - #include <byteswap.h> - #else - #include <machine/endian.h> - #define bswap_32 bswap32 - #endif -+#endif - - #define LE32_IN( x ) bswap_32( *(GLuint *)(x) ) - #define LE32_IN_FLOAT( x ) \ |