summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-01-12 17:40:38 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-01-12 16:44:15 +0000
commit469be1ca1ee96751b7c8e9acbcc3788b3ad7d950 (patch)
tree361fa74b13e62aae19de1c5600ff21d74e51c5ec /patches
parent0c5eee0b259627125ef450e6f3d5089de067d584 (diff)
downloadmidipix_build-469be1ca1ee96751b7c8e9acbcc3788b3ad7d950.tar.bz2
midipix_build-469be1ca1ee96751b7c8e9acbcc3788b3ad7d950.tar.xz
groups/231.native_packages_etc.group: adds ltris v1.2.2
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/ltris-1.2.2_pre.local.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/ltris-1.2.2_pre.local.patch b/patches/ltris-1.2.2_pre.local.patch
new file mode 100644
index 00000000..9d7be779
--- /dev/null
+++ b/patches/ltris-1.2.2_pre.local.patch
@@ -0,0 +1,25 @@
+diff -ru ltris-1.2.2.orig/configure ltris-1.2.2/configure
+--- ltris-1.2.2.orig/configure 2020-12-28 12:58:30.000000000 +0100
++++ ltris-1.2.2/configure 2021-01-12 16:47:35.063828462 +0100
+@@ -9089,8 +9089,8 @@
+ if test "$SDL_CONFIG" = "no" ; then
+ no_sdl=yes
+ else
+- SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
+- SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
++ SDL_CFLAGS=`$PKG_CONFIG --cflags sdl`
++ SDL_LIBS=`$PKG_CONFIG --libs sdl`
+
+ sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+@@ -9249,8 +9249,8 @@
+
+ rm -f conf.sdltest
+
+-CFLAGS="$CFLAGS $(sdl-config --cflags)"
+-LIBS="$LIBS $(sdl-config --libs)"
++CFLAGS="$CFLAGS $(PKG_CONFIG --cflags sdl)"
++LIBS="$LIBS $(PKG_CONFIG --libs sdl)"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
+ $as_echo_n "checking for main in -lSDL_mixer... " >&6; }