diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-09-05 09:55:47 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-09-05 10:05:19 +0200 |
commit | 86f1a56a70b4adb521f5f281d08fe5f7e0d155ec (patch) | |
tree | e47656cb16c86cec1a85f3b62efdbc83eb918504 /patches/SDL2_test-2.0.10 | |
parent | c20eaea9bc4c85b65389b1edb52f35b6676ea0ec (diff) | |
download | ptxdist-86f1a56a70b4adb521f5f281d08fe5f7e0d155ec.tar.gz ptxdist-86f1a56a70b4adb521f5f281d08fe5f7e0d155ec.tar.xz |
sdl2: version bump 2.0.9 -> 2.0.10
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/SDL2_test-2.0.10')
-rw-r--r-- | patches/SDL2_test-2.0.10/0001-sdl-2.0.8-tests-configure-opengl.patch | 44 | ||||
-rwxr-xr-x | patches/SDL2_test-2.0.10/autogen.sh | 4 | ||||
-rw-r--r-- | patches/SDL2_test-2.0.10/series | 4 |
3 files changed, 52 insertions, 0 deletions
diff --git a/patches/SDL2_test-2.0.10/0001-sdl-2.0.8-tests-configure-opengl.patch b/patches/SDL2_test-2.0.10/0001-sdl-2.0.8-tests-configure-opengl.patch new file mode 100644 index 000000000..9261c33fd --- /dev/null +++ b/patches/SDL2_test-2.0.10/0001-sdl-2.0.8-tests-configure-opengl.patch @@ -0,0 +1,44 @@ +From: Jaret Cantu <jaret.cantu@timesys.com> +Date: Tue, 16 Jan 2018 12:16:16 -0500 +Subject: [PATCH] sdl-2.0.8: tests: configure opengl + + Allow OpenGL to be configured manually + + The autodetection uses the presence of a header file which + SDL2 always installs, regardless of whether or not OpenGL was + enabled. This causes the SDL2 tests to use OpenGL when SDL2 + itself was not configured for it. + + Configure certain tests not to build, depending on the + configuration. Tests which require OpenGL development files + will fail when no OpenGL is detected (which should be obvious, + but it apparently wasn't for whoever designed this). +--- + test/configure.ac | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/test/configure.ac b/test/configure.ac +index 2e237262eaf1..45777b5f8999 100644 +--- a/test/configure.ac ++++ b/test/configure.ac +@@ -115,6 +115,12 @@ if test x$have_x = xyes; then + fi + fi + ++dnl Check to see if OpenGL support is desired ++AC_ARG_ENABLE(opengl, ++AC_HELP_STRING([--enable-opengl], [include OpenGL support [[default=yes]]]), ++ , enable_opengl=yes) ++ ++if test x$enable_opengl = xyes; then + dnl Check for OpenGL + AC_MSG_CHECKING(for OpenGL support) + have_opengl=no +@@ -125,6 +131,7 @@ AC_TRY_COMPILE([ + have_opengl=yes + ]) + AC_MSG_RESULT($have_opengl) ++fi + + dnl Check for OpenGL ES + AC_MSG_CHECKING(for OpenGL ES support) diff --git a/patches/SDL2_test-2.0.10/autogen.sh b/patches/SDL2_test-2.0.10/autogen.sh new file mode 100755 index 000000000..1e5af6e71 --- /dev/null +++ b/patches/SDL2_test-2.0.10/autogen.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +./autogen.sh + diff --git a/patches/SDL2_test-2.0.10/series b/patches/SDL2_test-2.0.10/series new file mode 100644 index 000000000..7064d2850 --- /dev/null +++ b/patches/SDL2_test-2.0.10/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-sdl-2.0.8-tests-configure-opengl.patch +# c71c8697191f98668c86bc2215feebce - git-ptx-patches magic |