summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/mupen64/files/mupen64-0.5-sdl-ttf.patch')
-rw-r--r--games-emulation/mupen64/files/mupen64-0.5-sdl-ttf.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/games-emulation/mupen64/files/mupen64-0.5-sdl-ttf.patch b/games-emulation/mupen64/files/mupen64-0.5-sdl-ttf.patch
new file mode 100644
index 000000000000..a8d599d385c7
--- /dev/null
+++ b/games-emulation/mupen64/files/mupen64-0.5-sdl-ttf.patch
@@ -0,0 +1,28 @@
+--- Makefile
++++ Makefile
+@@ -80,7 +80,6 @@
+ OBJ_INPUT =mupen64_input/main.o
+
+ OBJ_BLIGHT =blight_input/plugin.o \
+- blight_input/SDL_ttf.o \
+ blight_input/arial.ttf.o \
+ blight_input/configdialog_sdl.o \
+ blight_input/pad.o
+@@ -223,8 +222,6 @@
+ blight_input/plugin.o: blight_input/plugin.c
+ $(CC) $(CFLAGS) "-DPACKAGE=\"$(shell grep PACKAGE blight_input/package | cut -d "=" -f 2)\"" "-DVERSION=\"$(shell grep VERSION blight_input/package | cut -d "=" -f 2)\"" `sdl-config --cflags` -DGUI_SDL -c -o $@ $<
+
+-blight_input/SDL_ttf.o: blight_input/SDL_ttf.c
+- $(CC) $(CFLAGS) `freetype-config --cflags` `sdl-config --cflags` -c -o $@ $<
+
+ blight_input/arial.ttf.o: blight_input/arial.ttf.c
+
+@@ -367,7 +364,7 @@
+ strip --strip-all $@
+
+ plugins/blight_input.so: $(OBJ_BLIGHT)
+- $(CC) $^ -Wl,-Bsymbolic -shared `sdl-config --libs` `freetype-config --libs` -o $@
++ $(CC) $^ -Wl,-Bsymbolic -shared `sdl-config --libs` -lSDL_ttf -o $@
+ strip --strip-all $@
+
+ plugins/mupen64_hle_rsp_azimer.so: $(OBJ_RSPHLE)