r8192 - in packages/trunk/gnujump/debian: . patches

Evgeni Golov sargentd-guest at alioth.debian.org
Wed Sep 24 12:25:55 UTC 2008


Author: sargentd-guest
Date: 2008-09-24 12:25:55 +0000 (Wed, 24 Sep 2008)
New Revision: 8192

Added:
   packages/trunk/gnujump/debian/patches/03_main_c_include_locale_h.patch
Modified:
   packages/trunk/gnujump/debian/changelog
   packages/trunk/gnujump/debian/patches/series
   packages/trunk/gnujump/debian/rules
Log:
correctly use C/LDFLAGS in debian/rules
fix the FTBFS with -O0 found by this change


Modified: packages/trunk/gnujump/debian/changelog
===================================================================
--- packages/trunk/gnujump/debian/changelog	2008-09-24 11:22:39 UTC (rev 8191)
+++ packages/trunk/gnujump/debian/changelog	2008-09-24 12:25:55 UTC (rev 8192)
@@ -29,8 +29,10 @@
     + Fix a typo in the patch, it's "hy", not "ny"
   * debian/README.source:
     + add a README.source as recommended by Policy 4.14
+  * debian/patches/03_main_c_include_locale_h.patch:
+    + Fix FTBFS with -O0 because locale.h isn't included
 
- -- Evgeni Golov <sargentd at die-welt.net>  Tue, 23 Sep 2008 20:25:59 +0200
+ -- Evgeni Golov <sargentd at die-welt.net>  Wed, 24 Sep 2008 14:17:59 +0200
 
 gnujump (1.0.0-3) unstable; urgency=low
 

Added: packages/trunk/gnujump/debian/patches/03_main_c_include_locale_h.patch
===================================================================
--- packages/trunk/gnujump/debian/patches/03_main_c_include_locale_h.patch	                        (rev 0)
+++ packages/trunk/gnujump/debian/patches/03_main_c_include_locale_h.patch	2008-09-24 12:25:55 UTC (rev 8192)
@@ -0,0 +1,11 @@
+--- a/src/main.c	2008-09-23 16:17:29.000000000 +0200
++++ b/src/main.c	2008-09-24 14:08:29.000000000 +0200
+@@ -26,6 +26,8 @@
+ #include "records.h"
+ #include "replay.h"
+ 
++#include <locale.h>
++
+ SDL_Surface *screen = NULL;
+ L_gblOptions gblOps;
+ 

Modified: packages/trunk/gnujump/debian/patches/series
===================================================================
--- packages/trunk/gnujump/debian/patches/series	2008-09-24 11:22:39 UTC (rev 8191)
+++ packages/trunk/gnujump/debian/patches/series	2008-09-24 12:25:55 UTC (rev 8192)
@@ -1,2 +1,3 @@
 01_Makefile_am_datadir_fix.patch
 02_manpage_fixes.patch
+03_main_c_include_locale_h.patch

Modified: packages/trunk/gnujump/debian/rules
===================================================================
--- packages/trunk/gnujump/debian/rules	2008-09-24 11:22:39 UTC (rev 8191)
+++ packages/trunk/gnujump/debian/rules	2008-09-24 12:25:55 UTC (rev 8192)
@@ -12,7 +12,8 @@
 config-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	autoreconf -f -i -s
-	./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games
+	./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games \
+		 CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 	touch $@
 
 build: build-stamp




More information about the Pkg-games-commits mailing list