summaryrefslogtreecommitdiff
path: root/package/mesa3d
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-26 20:56:46 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-26 21:20:05 +0100
commitca108a803e8b265c975fd5bd4e09d8953ba61481 (patch)
tree53afd4c5e4172b909f65a7d9c13d6e4d8c5f6827 /package/mesa3d
parenta1ed5bdccf5dd87d36876f3444b821e3992f106e (diff)
package/mesa3d: fix musl build
Compile error occured using an allyesconfig, it seems it has not been caught by the autobuilders yet. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mesa3d')
-rw-r--r--package/mesa3d/0003-musl.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mesa3d/0003-musl.patch b/package/mesa3d/0003-musl.patch
new file mode 100644
index 000000000..8f7ba773a
--- /dev/null
+++ b/package/mesa3d/0003-musl.patch
@@ -0,0 +1,18 @@
+Fix musl build
+
+Downloaded from
+http://git.alpinelinux.org/cgit/aports/plain/main/mesa/musl-fixes.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- ./src/gallium/winsys/svga/drm/vmw_screen.h.orig
++++ ./src/gallium/winsys/svga/drm/vmw_screen.h
+@@ -34,7 +34,7 @@
+ #ifndef VMW_SCREEN_H_
+ #define VMW_SCREEN_H_
+
+-
++#include <sys/stat.h>
+ #include "pipe/p_compiler.h"
+ #include "pipe/p_state.h"
+