package/mesa3d: fix musl build
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.
Signed-off-by Bernd Kuhls <[email protected]>
--- 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
@@ -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
Thomas Petazzoni
AppliedPATCH 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.
Signed-off-by Bernd Kuhls <[email protected]>
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