tags 594382 + patch
thanks

Attached to this mail is a short patch that solves the FTBFS 
as suggested by Iain Buclaw in the bug report.

If required, I will search a sponsor for it.
diff -u ii-esu-1.0a.dfsg1/debian/changelog ii-esu-1.0a.dfsg1/debian/changelog
--- ii-esu-1.0a.dfsg1/debian/changelog
+++ ii-esu-1.0a.dfsg1/debian/changelog
@@ -1,3 +1,11 @@
+ii-esu (1.0a.dfsg1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with newer gdc by using the right return type in addEnemy().
+    (Closes: #594382)
+
+ -- Johann Felix Soden <joh...@gmx.de>  Tue, 05 Oct 2010 17:59:20 +0200
+
 ii-esu (1.0a.dfsg1-2) unstable; urgency=low
 
   [ Miriam Ruiz ]
diff -u ii-esu-1.0a.dfsg1/debian/patches/series ii-esu-1.0a.dfsg1/debian/patches/series
--- ii-esu-1.0a.dfsg1/debian/patches/series
+++ ii-esu-1.0a.dfsg1/debian/patches/series
@@ -5,0 +6 @@
+fix-return-type.patch
only in patch2:
unchanged:
--- ii-esu-1.0a.dfsg1.orig/debian/patches/fix-return-type.patch
+++ ii-esu-1.0a.dfsg1/debian/patches/fix-return-type.patch
@@ -0,0 +1,22 @@
+Description: Fix the return type of addEnemy() in src/es/enemy.d
+Author: Johann Felix Soden <joh...@gmx.de>
+Bug-Debian: http://bugs.debian.org/594382
+
+--- a/src/es/enemy.d
++++ b/src/es/enemy.d
+@@ -593,7 +593,7 @@
+ 	enemyIdx = 0;
+   }
+ 
+-	public void addEnemy(Enemy parent ,int type ,Moving moving ,real hp ,real x ,real y ,real z ,real vx ,real vy){
++	public bool addEnemy(Enemy parent ,int type ,Moving moving ,real hp ,real x ,real y ,real z ,real vx ,real vy){
+     Enemy e;
+     switch(type){
+       case BULLET:   e =new Bullet(parent ,moving ,hp ,x ,y ,z ,vx ,vy);break;
+@@ -710,4 +710,4 @@
+       }
+     }
+ }
+-*/
+\ No newline at end of file
++*/
Description: Fix the return type of addEnemy() in src/es/enemy.d
Author: Johann Felix Soden <joh...@gmx.de>
Bug-Debian: http://bugs.debian.org/594382

--- a/src/es/enemy.d
+++ b/src/es/enemy.d
@@ -593,7 +593,7 @@
 	enemyIdx = 0;
   }
 
-	public void addEnemy(Enemy parent ,int type ,Moving moving ,real hp ,real x ,real y ,real z ,real vx ,real vy){
+	public bool addEnemy(Enemy parent ,int type ,Moving moving ,real hp ,real x ,real y ,real z ,real vx ,real vy){
     Enemy e;
     switch(type){
       case BULLET:   e =new Bullet(parent ,moving ,hp ,x ,y ,z ,vx ,vy);break;
@@ -710,4 +710,4 @@
       }
     }
 }
-*/
\ No newline at end of file
+*/

Reply via email to