[Buildroot] [PATCH 1/1] package/mesa3d: fix musl build

Bernd Kuhls bernd.kuhls at t-online.de
Tue Jan 26 19:56:46 UTC 2016


Compile error occured using an allyesconfig, it seems it has not been
caught by the autobuilders yet.

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/mesa3d/0003-musl.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/mesa3d/0003-musl.patch

diff --git a/package/mesa3d/0003-musl.patch b/package/mesa3d/0003-musl.patch
new file mode 100644
index 0000000..8f7ba77
--- /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 at 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"
+ 
-- 
2.7.0.rc3



More information about the buildroot mailing list