0001-musl.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 25e20c2e288e1d482f479eca863bc4aaa374b782 Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sun, 22 Apr 2018 15:58:38 +0200
  4. Subject: [PATCH] Fix musl build
  5. Fix musl build when svga gallium driver is enabled.
  6. In file included from vmw_fence.c:34:0:
  7. vmw_screen.h:100:4: error: unknown type name ‘dev_t’
  8. dev_t device;
  9. ^~~~~
  10. Downloaded from
  11. http://git.alpinelinux.org/cgit/aports/plain/main/mesa/musl-fixes.patch
  12. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  13. [Romain: rebase on 18.1]
  14. Signed-off-by: Romain Naour <romain.naour@gmail.com>
  15. ---
  16. src/gallium/winsys/svga/drm/vmw_screen.h | 2 +-
  17. 1 file changed, 1 insertion(+), 1 deletion(-)
  18. diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h
  19. index f21cabb51f..20d03f8b53 100644
  20. --- a/src/gallium/winsys/svga/drm/vmw_screen.h
  21. +++ b/src/gallium/winsys/svga/drm/vmw_screen.h
  22. @@ -34,7 +34,7 @@
  23. #ifndef VMW_SCREEN_H_
  24. #define VMW_SCREEN_H_
  25. -
  26. +#include <sys/stat.h>
  27. #include "pipe/p_compiler.h"
  28. #include "pipe/p_state.h"
  29. --
  30. 2.14.3