pmaports/temp/mesa/musl-fix-includes.patch
Oliver Smith 1b7d2781c5 temp: add mesa
This new mesa package isn't built for armhf yet in Alpine, but the
previous one breaks plasma mobile right now.
2018-05-16 23:55:56 +02:00

22 lines
463 B
Diff

--- a/src/util/rand_xor.c
+++ b/src/util/rand_xor.c
@@ -24,6 +24,8 @@
#if defined(__linux__)
#include <sys/file.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#else
--- ./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"