summaryrefslogtreecommitdiff
path: root/user/supertux/find-sdl2.patch
diff options
context:
space:
mode:
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)