summaryrefslogtreecommitdiff
path: root/package/MesaLib/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-20 12:25:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-20 12:25:49 +0100
commita74b8da459dcdee1d1fc633d9d1856fdb89fd7bd (patch)
tree291ff6b5793e74c8994696a7fe26e82f6f646601 /package/MesaLib/patches
parent33adad70313bb73464cbd002370cd14bade79a54 (diff)
fix musl compile, when xorg package collection is selected. X still does not work with musl
Diffstat (limited to 'package/MesaLib/patches')
-rw-r--r--package/MesaLib/patches/patch-src_mesa_main_querymatrix_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/MesaLib/patches/patch-src_mesa_main_querymatrix_c b/package/MesaLib/patches/patch-src_mesa_main_querymatrix_c
new file mode 100644
index 000000000..4ca3a2708
--- /dev/null
+++ b/package/MesaLib/patches/patch-src_mesa_main_querymatrix_c
@@ -0,0 +1,11 @@
+--- Mesa-9.2.2.orig/src/mesa/main/querymatrix.c 2013-04-08 20:21:04.000000000 +0200
++++ Mesa-9.2.2/src/mesa/main/querymatrix.c 2013-10-24 17:06:31.000000000 +0200
+@@ -74,7 +74,7 @@ fpclassify(double x)
+ #elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
+ defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \
+ (defined(__sun) && defined(__C99FEATURES__)) || defined(__MINGW32__) || \
+- (defined(__sun) && defined(__GNUC__)) || defined(ANDROID) || defined(__HAIKU__)
++ (defined(__sun) && defined(__GNUC__)) || defined(ANDROID) || defined(__HAIKU__) || 1
+
+ /* fpclassify is available. */
+