aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nx-libs/fix-musl-headers-x86.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-17 08:17:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-17 08:18:03 +0000
commitb608a8327f20bd38c068102da75f3591d178d31c (patch)
tree7d2c5923cb3f1e6f63a41d036bacf709373c067e /testing/nx-libs/fix-musl-headers-x86.patch
parent484e6f932c3ce72e6de3242d9ac39bf3447056aa (diff)
downloadaports-b608a8327f20bd38c068102da75f3591d178d31c.tar.bz2
aports-b608a8327f20bd38c068102da75f3591d178d31c.tar.xz
testing/nx-libs: build fix for x86
Diffstat (limited to 'testing/nx-libs/fix-musl-headers-x86.patch')
-rw-r--r--testing/nx-libs/fix-musl-headers-x86.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/nx-libs/fix-musl-headers-x86.patch b/testing/nx-libs/fix-musl-headers-x86.patch
new file mode 100644
index 0000000000..3f51b8e4b1
--- /dev/null
+++ b/testing/nx-libs/fix-musl-headers-x86.patch
@@ -0,0 +1,11 @@
+--- ./nx-X11/extras/Mesa/src/mesa/main/glheader.h.orig
++++ ./nx-X11/extras/Mesa/src/mesa/main/glheader.h
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+-#if defined(__linux__) && defined(__i386__)
++#if defined(__GLIBC__) && defined(__i386__)
+ #include <fpu_control.h>
+ #endif
+ #endif