9d874c9051
Rebased patch 0002 & 0003, added patch 0004 to fix build error. Switched license file to license.rst due to upstream commit https://cgit.freedesktop.org/mesa/mesa/commit/?id=4d066836e3cf307431a74eafcc8a404ce5ccea69 "No modification to the generated results have been done." Switched true/false configure option values to enabled/disabled due to upstream commit: https://cgit.freedesktop.org/mesa/mesa/commit/?id=138c003d22739b0d1e6860ed398dd511a44cde04 Remove "MESA3D_PLATFORMS += drm", this platform is now automatically selected: https://cgit.freedesktop.org/mesa/mesa/commit/?id=e00adef34a5ce485e2c9216a268ca05e89a5fc98 Remove "MESA3D_PLATFORMS += surfaceless", this platform is now automatically selected: https://cgit.freedesktop.org/mesa/mesa/commit/?id=a38e21d6683aeecb51aea4f933a77c6e7f1a6179 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
From fdc8b5a205e2116408aeb9fd305e57f656e2e89d Mon Sep 17 00:00:00 2001
|
||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||
Date: Sun, 9 Aug 2020 17:06:26 +0200
|
||
Subject: [PATCH] src/util/rand_xor: Include stddef.h to fix build error
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
Fixes
|
||
|
||
In file included from ../src/util/rand_xor.c:29:
|
||
output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35:
|
||
error: unknown type name ‘size_t’
|
||
extern int getrandom(void *__buf, size_t count, unsigned int flags)
|
||
|
||
seen with gcc version 8.3.0 (Buildroot 2020.02) and uClibc.
|
||
|
||
Patch sent upstream:
|
||
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6248
|
||
|
||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||
---
|
||
src/util/rand_xor.c | 1 +
|
||
1 file changed, 1 insertion(+)
|
||
|
||
diff --git a/src/util/rand_xor.c b/src/util/rand_xor.c
|
||
index 81b64f1ea71..fcb481487fa 100644
|
||
--- a/src/util/rand_xor.c
|
||
+++ b/src/util/rand_xor.c
|
||
@@ -25,6 +25,7 @@
|
||
#include "detect_os.h"
|
||
|
||
#if !DETECT_OS_WINDOWS
|
||
+#include <stddef.h>
|
||
#if defined(HAVE_GETRANDOM)
|
||
#include <sys/random.h>
|
||
#endif
|
||
--
|
||
2.27.0
|
||
|