aboutsummaryrefslogtreecommitdiffstats
path: root/main/virglrenderer/musl-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/virglrenderer/musl-fixes.patch')
-rw-r--r--main/virglrenderer/musl-fixes.patch19
1 files changed, 15 insertions, 4 deletions
diff --git a/main/virglrenderer/musl-fixes.patch b/main/virglrenderer/musl-fixes.patch
index ebb0b6bcfd..1e4210720a 100644
--- a/main/virglrenderer/musl-fixes.patch
+++ b/main/virglrenderer/musl-fixes.patch
@@ -1,5 +1,16 @@
---- virglrenderer-0.6.0/vtest/util.c
-+++ virglrenderer-0.6.0/vtest/util.c.new
+--- a/src/gallium/include/pipe/p_config.h
++++ b/src/gallium/include/pipe/p_config.h
+@@ -130,7 +130,7 @@
+ * Endian detection.
+ */
+
+-#ifdef __GLIBC__
++#ifdef __linux__
+ #include <endian.h>
+
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
+--- a/vtest/util.c
++++ b/vtest/util.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <string.h>
@@ -8,8 +19,8 @@
int vtest_wait_for_fd_read(int fd)
{
---- virglrenderer-0.6.0/vtest/vtest_server.c
-+++ virglrenderer-0.6.0/vtest/vtest_server.c.new
+--- a/vtest/vtest_server.c
++++ b/vtest/vtest_server.c
@@ -31,6 +31,7 @@
#include <netinet/in.h>
#include <sys/un.h>