Skip to contentSkip to conversation

package/mesa3d: fix musl build

PATCH New Bernd Kuhls 2 participants 2 messages Jan 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mesa3d: fix musl build

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

---
 package/mesa3d/0003-musl.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/mesa3d/0003-musl.patch
package/mesa3d/0003-musl.patch new file +18 -0
new file mode 100644
index 0000000..8f7ba77
@@ -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 <[email protected]>
+
+--- ./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"
+ 
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 1/1 package/mesa3d: fix musl build

Bernd,

Quoted 4 lines · Bernd Kuhls

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

I've applied your patch, thanks! However, could you try to use Git to format the patches? It's a good practice, especially for Git hosted projects.

Also, can you submit this patch to the upstream project ?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com