summaryrefslogtreecommitdiff
path: root/user/supertux/find-sdl2.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-12 16:43:43 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commit9d906fd729aa2343ef7c46b5e317d43d1e088103 (patch)
tree85168df7a955323db3ecdb1a6183e50eba9e2b1a /user/supertux/find-sdl2.patch
parent229100ecde79f6f3d031eb618acccb5aa6195b22 (diff)
downloadpackages-9d906fd729aa2343ef7c46b5e317d43d1e088103.tar.gz
packages-9d906fd729aa2343ef7c46b5e317d43d1e088103.tar.bz2
packages-9d906fd729aa2343ef7c46b5e317d43d1e088103.tar.xz
packages-9d906fd729aa2343ef7c46b5e317d43d1e088103.zip
user/supertux: Update to 0.6.3, find SDL properly
Fixes: #739
Diffstat (limited to 'user/supertux/find-sdl2.patch')
-rw-r--r--user/supertux/find-sdl2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/supertux/find-sdl2.patch b/user/supertux/find-sdl2.patch
new file mode 100644
index 000000000..ec9fbd32d
--- /dev/null
+++ b/user/supertux/find-sdl2.patch
@@ -0,0 +1,11 @@
+--- SuperTux-v0.6.3-Source/external/SDL_ttf/CMakeLists.txt.old 2021-12-22 17:02:04.000000000 -0600
++++ SuperTux-v0.6.3-Source/external/SDL_ttf/CMakeLists.txt 2022-06-12 16:39:33.440000000 -0500
+@@ -4,7 +4,7 @@
+ project(SDL2_TTF C)
+
+ find_path(SDL_INCLUDE_DIR SDL2/SDL.h)
+-find_library(SDL_LIBRARY NAMES SDL2d SDL2)
++find_library(SDL_LIBRARY NAMES SDL2d SDL2-2.0)
+ find_package(Freetype REQUIRED)
+
+ add_library(SDL2_ttf SDL_ttf.c version.rc)