From 0f044b536aa542c7bedd9a03a2dd22dd825866e7 Mon Sep 17 00:00:00 2001 From: Michael Grzeschik Date: Thu, 26 Jul 2018 19:39:23 +0200 Subject: sdl2-ttf: add new package Signed-off-by: Michael Grzeschik Signed-off-by: Michael Olbrich --- ...-configure-make-opengl-support-switchable.patch | 34 ++++++++++++++++++++++ patches/SDL2_ttf-2.0.14/autogen.sh | 3 ++ patches/SDL2_ttf-2.0.14/series | 4 +++ 3 files changed, 41 insertions(+) create mode 100644 patches/SDL2_ttf-2.0.14/0001-configure-make-opengl-support-switchable.patch create mode 100755 patches/SDL2_ttf-2.0.14/autogen.sh create mode 100644 patches/SDL2_ttf-2.0.14/series (limited to 'patches/SDL2_ttf-2.0.14') diff --git a/patches/SDL2_ttf-2.0.14/0001-configure-make-opengl-support-switchable.patch b/patches/SDL2_ttf-2.0.14/0001-configure-make-opengl-support-switchable.patch new file mode 100644 index 000000000..e57fffcc0 --- /dev/null +++ b/patches/SDL2_ttf-2.0.14/0001-configure-make-opengl-support-switchable.patch @@ -0,0 +1,34 @@ +From: Michael Grzeschik +Date: Fri, 13 Jul 2018 12:24:59 +0200 +Subject: [PATCH] configure: make opengl support switchable + +Signed-off-by: Michael Grzeschik +--- + configure.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/configure.in b/configure.in +index 9b36e15cfd4d..972dadf80bd2 100644 +--- a/configure.in ++++ b/configure.in +@@ -130,6 +130,12 @@ AM_PATH_SDL2($SDL_VERSION, + CFLAGS="$CFLAGS $SDL_CFLAGS" + LIBS="$LIBS $SDL_LIBS" + ++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 + case "$host" in + *-*-cygwin* | *-*-mingw32*) +@@ -179,6 +185,7 @@ else + GL_LIBS="" + fi + AC_SUBST([GL_LIBS]) ++fi + AC_SUBST([MATHLIB]) + AC_SUBST([WINDRES]) + diff --git a/patches/SDL2_ttf-2.0.14/autogen.sh b/patches/SDL2_ttf-2.0.14/autogen.sh new file mode 100755 index 000000000..a430a4eb7 --- /dev/null +++ b/patches/SDL2_ttf-2.0.14/autogen.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +./autogen.sh diff --git a/patches/SDL2_ttf-2.0.14/series b/patches/SDL2_ttf-2.0.14/series new file mode 100644 index 000000000..89c7959a2 --- /dev/null +++ b/patches/SDL2_ttf-2.0.14/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-configure-make-opengl-support-switchable.patch +# 61c28fd8bd7358c69acd4d51c712869b - git-ptx-patches magic -- cgit v1.2.3