summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-02-10 07:05:10 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-10 18:09:53 +0100
commitc226eecb662d35338979e17925f2d57620637409 (patch)
tree45825cee76f8883d5599d65a48f3d13d6cb3ef47 /patches
parent73fd221531bf69505d74d0fb40c899e070929f0b (diff)
downloadptxdist-c226eecb662d35338979e17925f2d57620637409.tar.gz
ptxdist-c226eecb662d35338979e17925f2d57620637409.tar.xz
mesalib: version bump 18.3.1 -> 18.3.2
Also, add upstream patch to fix building with certain configure options. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/mesa-18.3.2/0001-egl-add-missing-include-stddef.h-in-egldevice.h.patch41
-rw-r--r--patches/mesa-18.3.2/series4
2 files changed, 45 insertions, 0 deletions
diff --git a/patches/mesa-18.3.2/0001-egl-add-missing-include-stddef.h-in-egldevice.h.patch b/patches/mesa-18.3.2/0001-egl-add-missing-include-stddef.h-in-egldevice.h.patch
new file mode 100644
index 000000000..a1ddac538
--- /dev/null
+++ b/patches/mesa-18.3.2/0001-egl-add-missing-include-stddef.h-in-egldevice.h.patch
@@ -0,0 +1,41 @@
+From: Gurchetan Singh <gurchetansingh@chromium.org>
+Date: Wed, 28 Nov 2018 08:39:34 -0800
+Subject: [PATCH] egl: add missing #include <stddef.h> in egldevice.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Otherwise, I get this error:
+
+main/egldevice.h:54:13: error: ‘NULL’ undeclared (first use in this function)
+ dev = NULL;
+ ^~~~
+with this config:
+
+./autogen.sh --enable-gles1 --enable-gles2 --with-platforms='surfaceless' --disable-glx
+ --with-dri-drivers="i965" --with-gallium-drivers="" --enable-gbm
+
+v3: Use stddef.h (Matt)
+v4: Modify commit message (Eric)
+
+Reviewed-by: Matt Turner <mattst88@gmail.com>
+Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
+---
+ src/egl/main/egldevice.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/egl/main/egldevice.h b/src/egl/main/egldevice.h
+index ddcdcd17f5a4..83a47d5eacc2 100644
+--- a/src/egl/main/egldevice.h
++++ b/src/egl/main/egldevice.h
+@@ -31,9 +31,9 @@
+
+
+ #include <stdbool.h>
++#include <stddef.h>
+ #include "egltypedefs.h"
+
+-
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
diff --git a/patches/mesa-18.3.2/series b/patches/mesa-18.3.2/series
new file mode 100644
index 000000000..d817864d5
--- /dev/null
+++ b/patches/mesa-18.3.2/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-egl-add-missing-include-stddef.h-in-egldevice.h.patch
+# 0d0caa2eb09bc31597439c338401f18b - git-ptx-patches magic