]> gitweb @ CieloNegro.org - pkgsrc-xorg-server.git/blobdiff - files/patch-mesa
At least it compiles now. Hope it works too...
[pkgsrc-xorg-server.git] / files / patch-mesa
diff --git a/files/patch-mesa b/files/patch-mesa
deleted file mode 100644 (file)
index 2e1a15b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD$
-
---- ../Mesa-7.0.4/src/mesa/main/imports.h.orig 2008-06-24 14:27:44.000000000 -0400
-+++ ../Mesa-7.0.4/src/mesa/main/imports.h
-@@ -292,7 +292,7 @@ static INLINE int GET_FLOAT_BITS( float 
-  *** LDEXPF: multiply value by an integral power of two
-  *** FREXPF: extract mantissa and exponent from value
-  ***/
--#if defined(__gnu_linux__)
-+#if defined(USE_NATIVE_LIBM_FUNCS)
- /* C99 functions */
- #define CEILF(x)   ceilf(x)
- #define FLOORF(x)  floorf(x)
-@@ -515,7 +515,9 @@ static INLINE int iceil(float f)
- /* Hardware default: All exceptions masked, extended double precision,
-  * round to nearest (IEEE compliant):
-  */
-+#ifndef DEFAULT_X86_FPU
- #define DEFAULT_X86_FPU               0x037f
-+#endif
- /* All exceptions masked, single precision, round to nearest:
-  */
- #define FAST_X86_FPU          0x003f