summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBuildbot system user <buildbot@ec2>2016-07-05 09:55:58 +0000
committerBuildbot system user <buildbot@ec2>2016-07-05 09:55:58 +0000
commite60ada20e35f49eab51b59a65c62a2ee62d47333 (patch)
tree2833bfea9ed0a68b3fdab2f1bce76c66d022890e
parentd3fcb9862c8d6ee56c22342b1e136ead1955913e (diff)
Yet another mesa patch
-rwxr-xr-xmodulesetparser.py3
-rw-r--r--patches/mesa-mesa/0006-Add-alloca.h-include-to-fix-compilation-on-Cygwin.patch27
2 files changed, 29 insertions, 1 deletions
diff --git a/modulesetparser.py b/modulesetparser.py
index fdc434c..f354a09 100755
--- a/modulesetparser.py
+++ b/modulesetparser.py
@@ -358,7 +358,8 @@ def BuilderList(slaves):
'0002-megadriver-explicitly-link-against-glapi-link-with-n.patch',
'0003-Revert-configure-Bail-out-on-llvm-config-component-e.patch',
'0004-Disable-use-of-weak.patch',
- '0005-configure-Don-t-require-pthread-stubs-on-Cygwin.patch' ],
+ '0005-configure-Don-t-require-pthread-stubs-on-Cygwin.patch',
+ '0006-Add-alloca.h-include-to-fix-compilation-on-Cygwin.patch' ],
'mesa-glut' : [ '0001-Fix-build-when-GL-or-libX11-are-in-non-standard-loca.patch' ],
'app-sessreg' : [ '0001-Don-t-try-to-use-utmpx-functions-if-WTMPX_FILE-isn-t.patch' ],
'app-xdm' : [ '0001-Workaround-Cygwin-s-failure-to-prototype-initgroups.patch' ],
diff --git a/patches/mesa-mesa/0006-Add-alloca.h-include-to-fix-compilation-on-Cygwin.patch b/patches/mesa-mesa/0006-Add-alloca.h-include-to-fix-compilation-on-Cygwin.patch
new file mode 100644
index 0000000..3915a6d
--- /dev/null
+++ b/patches/mesa-mesa/0006-Add-alloca.h-include-to-fix-compilation-on-Cygwin.patch
@@ -0,0 +1,27 @@
+From 5f606bff8e5ed92a42956c10ee6b2b77360feaf5 Mon Sep 17 00:00:00 2001
+From: Jon Turney <jon.turney@dronecode.org.uk>
+Date: Tue, 5 Jul 2016 10:40:05 +0100
+Subject: [PATCH] Add alloca.h include to fix compilation on Cygwin
+
+Fix compilation on Cygwin, since 50b22354, by adding #include <alloca.h>
+
+Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
+---
+ src/gallium/drivers/ddebug/dd_util.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/gallium/drivers/ddebug/dd_util.h b/src/gallium/drivers/ddebug/dd_util.h
+index 3649644..9b9b3e0 100644
+--- a/src/gallium/drivers/ddebug/dd_util.h
++++ b/src/gallium/drivers/ddebug/dd_util.h
+@@ -28,6 +28,7 @@
+ #ifndef DD_UTIL_H
+ #define DD_UTIL_H
+
++#include <alloca.h>
+ #include <stdio.h>
+ #include <errno.h>
+ #include <unistd.h>
+--
+2.8.3
+