aboutsummaryrefslogtreecommitdiff
path: root/games/gnurobbo/gnurobbo-fix_linking.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnurobbo/gnurobbo-fix_linking.diff')
-rw-r--r--games/gnurobbo/gnurobbo-fix_linking.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gnurobbo/gnurobbo-fix_linking.diff b/games/gnurobbo/gnurobbo-fix_linking.diff
new file mode 100644
index 0000000000000..0c3d1b9b0d16a
--- /dev/null
+++ b/games/gnurobbo/gnurobbo-fix_linking.diff
@@ -0,0 +1,11 @@
+--- Makefile.old 2019-07-29 07:34:04.356456054 +0200
++++ Makefile 2019-07-29 07:34:20.286630637 +0200
+@@ -46,7 +46,7 @@
+ # -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER)
+ #LDFLAGS=-pg
+ LINK=$(CC)
+-LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF)
++LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF) -lm
+
+ # You won't need to alter anything below
+ all: $(SOURCES) $(TARGET)