Author: ansgar
Date: 2011-03-14 14:06:09 +0000 (Mon, 14 Mar 2011)
New Revision: 11925

Added:
   packages/trunk/airstrike/debian/patches/fix-link-flags.diff
Log:
Add new patch as well.

Added: packages/trunk/airstrike/debian/patches/fix-link-flags.diff
===================================================================
--- packages/trunk/airstrike/debian/patches/fix-link-flags.diff                 
        (rev 0)
+++ packages/trunk/airstrike/debian/patches/fix-link-flags.diff 2011-03-14 
14:06:09 UTC (rev 11925)
@@ -0,0 +1,17 @@
+From: Ilya Barygin <[email protected]>
+Date: Sun, 2 Jan 2011 11:44:12 +0300
+Subject: Add -lm to fix FTBFS with binutils-gold
+Bug-Debian: http://bugs.debian.org/553647
+Index: airstrike-0.99+1.0pre6a/src/Makefile
+===================================================================
+--- airstrike-0.99+1.0pre6a.orig/src/Makefile  2011-01-01 09:57:25.000000000 
+0000
++++ airstrike-0.99+1.0pre6a/src/Makefile       2011-01-01 09:57:34.000000000 
+0000
+@@ -5,7 +5,7 @@
+ OBJECTS:= $(CFILES:.c=.o)
+ 
+ airstrike: $(OBJECTS)
+-      $(CC) -o $@ $(CFLAGS) $(OBJECTS) `sdl-config --libs` -lSDL_image
++      $(CC) -o $@ $(CFLAGS) $(OBJECTS) `sdl-config --libs` -lSDL_image -lm
+ 
+ airstrike-sound: $(OBJECTS)
+       $(CC) -o $@ $(CFLAGS) $(OBJECTS) `sdl-config --libs` -lSDL_image 
-lSDL_mixer


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to