package/mesa3d: fix musl build
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 26 Jan 2016 19:56:46 +0000 (20:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 26 Jan 2016 20:20:05 +0000 (21:20 +0100)
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>
package/mesa3d/0003-musl.patch [new file with mode: 0644]

diff --git a/package/mesa3d/0003-musl.patch b/package/mesa3d/0003-musl.patch
new file mode 100644 (file)
index 0000000..8f7ba77
--- /dev/null
@@ -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"