summaryrefslogtreecommitdiff
path: root/games/f1spirit/02-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/f1spirit/02-Makefile.patch')
-rw-r--r--games/f1spirit/02-Makefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/f1spirit/02-Makefile.patch b/games/f1spirit/02-Makefile.patch
new file mode 100644
index 0000000000..9b2d8810f3
--- /dev/null
+++ b/games/f1spirit/02-Makefile.patch
@@ -0,0 +1,12 @@
+diff -Nur f1spirit-0.rc9.1615/build/linux/Makefile f1spirit-0.rc9.1615.new/build/linux/Makefile
+--- f1spirit-0.rc9.1615/build/linux/Makefile 2009-02-06 10:12:51.000000000 +0000
++++ f1spirit-0.rc9.1615.new/build/linux/Makefile 2013-06-12 18:21:52.435681841 +0000
+@@ -41,7 +41,7 @@
+ CC = gcc
+ #CFLAGS = -g3 -O3 -Wall `sdl-config --cflags` `curl-config --cflags` -I/usr/X11R6/include
+ CFLAGS = -g3 -O3 -Wno-write-strings `sdl-config --cflags` `curl-config --cflags` -I/usr/X11R6/include
+-LDFLAGS = `sdl-config --libs` `curl-config --libs` -L/usr/X11R6/lib/ -lSDL_image -lSDL_mixer -lSDL_net -lGL -lGLU
++LDFLAGS = `sdl-config --libs` `curl-config --libs` -L/usr/X11R6/lib/ -lSDL_image -lSDL_mixer -lSDL_net -lGL -lGLU -lm -lstdc++
+ RM = rm -f
+ CP = cp -r
+ MD = mkdir -p