r11994 - in packages/trunk/barrage/debian: . patches
Paul Wise
pabs at alioth.debian.org
Thu Mar 24 10:11:22 UTC 2011
Author: pabs
Date: 2011-03-24 10:11:20 +0000 (Thu, 24 Mar 2011)
New Revision: 11994
Added:
packages/trunk/barrage/debian/patches/fix-FTBFS-with-GCC-4.5.patch
Modified:
packages/trunk/barrage/debian/changelog
packages/trunk/barrage/debian/patches/series
Log:
Add patch from Ubuntu to allow building with newer GCC (Closes: #553932)
Modified: packages/trunk/barrage/debian/changelog
===================================================================
--- packages/trunk/barrage/debian/changelog 2011-03-24 10:02:14 UTC (rev 11993)
+++ packages/trunk/barrage/debian/changelog 2011-03-24 10:11:20 UTC (rev 11994)
@@ -14,6 +14,7 @@
* Fix games team URL in copyright file
* Wrap the menu file one attribute per line
* Refresh patches
+ * Add patch from Ubuntu to allow building with newer GCC (Closes: #553932)
-- Gonéri Le Bouder <goneri at rulezlan.org> Mon, 03 Jan 2011 22:09:01 +0100
Added: packages/trunk/barrage/debian/patches/fix-FTBFS-with-GCC-4.5.patch
===================================================================
--- packages/trunk/barrage/debian/patches/fix-FTBFS-with-GCC-4.5.patch (rev 0)
+++ packages/trunk/barrage/debian/patches/fix-FTBFS-with-GCC-4.5.patch 2011-03-24 10:11:20 UTC (rev 11994)
@@ -0,0 +1,22 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -14,7 +14,7 @@ barrage_SOURCES = \
+ SFont.c
+
+ barrage_LDFLAGS =
+-barrage_LDADD = @audio_lib@
++barrage_LDADD = @audio_lib@ -lm
+
+ EXTRA_DIST = \
+ defs.h particle.h shots.h units.h\
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -82,7 +82,7 @@ barrage_SOURCES = main.c particle.c
+
+
+ barrage_LDFLAGS =
+-barrage_LDADD = @audio_lib@
++barrage_LDADD = @audio_lib@ -lm
+
+ EXTRA_DIST = defs.h particle.h shots.h units.h data.h bfield.h menu.h SFont.h chart.h
+
Modified: packages/trunk/barrage/debian/patches/series
===================================================================
--- packages/trunk/barrage/debian/patches/series 2011-03-24 10:02:14 UTC (rev 11993)
+++ packages/trunk/barrage/debian/patches/series 2011-03-24 10:11:20 UTC (rev 11994)
@@ -1,3 +1,4 @@
fix_sprintf
01_getopt.diff
02_nosound.diff
+fix-FTBFS-with-GCC-4.5.patch
More information about the Pkg-games-commits
mailing list