Author: kibi-guest
Date: 2008-02-29 00:01:11 +0000 (Fri, 29 Feb 2008)
New Revision: 5942

Added:
   packages/trunk/supertuxkart/debian/patches/
   packages/trunk/supertuxkart/debian/patches/10_fix_FTBFS_with_gcc-4.3.diff
   packages/trunk/supertuxkart/debian/patches/series
Modified:
   packages/trunk/supertuxkart/debian/changelog
   packages/trunk/supertuxkart/debian/control
   packages/trunk/supertuxkart/debian/rules
Log:
Introduce quilt patch system. Fix FTBFS with gcc-4.3 by adding 
10_fix_FTBFS_with_gcc-4.3.diff (Closes: #455187).

Modified: packages/trunk/supertuxkart/debian/changelog
===================================================================
--- packages/trunk/supertuxkart/debian/changelog        2008-02-28 23:53:45 UTC 
(rev 5941)
+++ packages/trunk/supertuxkart/debian/changelog        2008-02-29 00:01:11 UTC 
(rev 5942)
@@ -1,6 +1,10 @@
 supertuxkart (0.3-3) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  [ Cyril Brulebois ]
+  * Introduce quilt patch system.
+  * Fix FTBFS with gcc-4.3 (missing headers) by adding the following
+    patch (Closes: #455187):
+     + 10_fix_FTBFS_with_gcc-4.3.diff.
 
  -- Alexander Schmehl <[EMAIL PROTECTED]>  Tue, 29 Jan 2008 22:41:22 +0100
 

Modified: packages/trunk/supertuxkart/debian/control
===================================================================
--- packages/trunk/supertuxkart/debian/control  2008-02-28 23:53:45 UTC (rev 
5941)
+++ packages/trunk/supertuxkart/debian/control  2008-02-29 00:01:11 UTC (rev 
5942)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <[EMAIL PROTECTED]>
 Uploaders: Gonéri Le Bouder <[EMAIL PROTECTED]>, Sam Hocevar (Debian packages) 
<[EMAIL PROTECTED]>, Alexander Schmehl <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, plib1.8.4-dev (>=1.8.4-8), 
libsdl-ttf2.0-dev, libsdl-image1.2-dev, docbook-to-man, libopenal-dev, 
libalut-dev, libmikmod2-dev, libvorbis-dev
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, plib1.8.4-dev (>=1.8.4-8), 
libsdl-ttf2.0-dev, libsdl-image1.2-dev, docbook-to-man, libopenal-dev, 
libalut-dev, libmikmod2-dev, libvorbis-dev, quilt
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/supertuxkart/
 Vcs-Browser: 
http://svn.debian.org/wsvn/pkg-games/packages/trunk/supertuxkart/?op=log

Added: packages/trunk/supertuxkart/debian/patches/10_fix_FTBFS_with_gcc-4.3.diff
===================================================================
--- packages/trunk/supertuxkart/debian/patches/10_fix_FTBFS_with_gcc-4.3.diff   
                        (rev 0)
+++ packages/trunk/supertuxkart/debian/patches/10_fix_FTBFS_with_gcc-4.3.diff   
2008-02-29 00:01:11 UTC (rev 5942)
@@ -0,0 +1,12 @@
+--- a/src/lisp/lexer.cpp
++++ b/src/lisp/lexer.cpp
+@@ -25,6 +25,9 @@
+ #if defined(WIN32) && !defined(__CYGWIN__)
+ #  define snprintf _snprintf
+ #endif
++
++#include <cstring>
++
+ namespace lisp
+ {
+ 

Added: packages/trunk/supertuxkart/debian/patches/series
===================================================================
--- packages/trunk/supertuxkart/debian/patches/series                           
(rev 0)
+++ packages/trunk/supertuxkart/debian/patches/series   2008-02-29 00:01:11 UTC 
(rev 5942)
@@ -0,0 +1 @@
+10_fix_FTBFS_with_gcc-4.3.diff

Modified: packages/trunk/supertuxkart/debian/rules
===================================================================
--- packages/trunk/supertuxkart/debian/rules    2008-02-28 23:53:45 UTC (rev 
5941)
+++ packages/trunk/supertuxkart/debian/rules    2008-02-29 00:01:11 UTC (rev 
5942)
@@ -9,6 +9,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/quilt/quilt.make
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
@@ -24,7 +25,7 @@
        CFLAGS += -O2
 endif
 
-config.status: configure
+config.status: patch configure
        dh_testdir
        # Add here commands to configure the package.
        CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --bindir=/usr/games
@@ -41,7 +42,8 @@
 
        touch build-stamp
 
-clean:
+clean: clean-patched unpatch
+clean-patched:
        dh_testdir
        dh_testroot
        rm -f build-stamp 


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to