[SCM] game about viruses invading your computer branch, master, updated. debian/1.0-1.dfsg.1-2-18-g01ee39f

Stephen M. Webb stephen.webb at bregmasoft.ca
Thu Apr 12 19:42:45 UTC 2012


The following commit has been merged in the master branch:
commit 272c3a218ec1187e4f85f8094cad01dfc3b8e366
Author: Stephen M. Webb <stephen.webb at bregmasoft.ca>
Date:   Thu Apr 12 15:28:51 2012 -0400

    fixed a FTBFS due to wrong call (closes: #664925)

diff --git a/debian/changelog b/debian/changelog
index b98bd32..5951099 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ viruskiller (1.03-1+dfsg1-1) UNRELEASED; urgency=low
   * debian/rules: adjusted for changed build targets
   * debian/control: added myself as uploader, ran wrap-and-sort
   * added a build depndency on libsdl-net1.2-dev
+  * fixed a FTBFS due to wrong call (closes: #664925)
 
- -- Stephen M. Webb <stephen.webb at bregmasoft.ca>  Wed, 04 Jan 2012 15:48:48 -0500
+ -- Stephen M. Webb <stephen.webb at bregmasoft.ca>  Thu, 12 Apr 2012 15:26:11 -0400
 
 viruskiller (1.0-1.dfsg.1-2) unstable; urgency=low
 
diff --git a/debian/patches/0011-remove-bad-gzclose.patch b/debian/patches/0011-remove-bad-gzclose.patch
new file mode 100644
index 0000000..31fe0b4
--- /dev/null
+++ b/debian/patches/0011-remove-bad-gzclose.patch
@@ -0,0 +1,24 @@
+Description: Fixes a FTBFS due to type incompatability on incorrect call
+Author: Stephen M. Webb <stephen.webb at bregmasoft.ca>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664925
+
+--- a/src/pak.cpp
++++ b/src/pak.cpp
+@@ -131,7 +131,7 @@
+ 			{
+ 				printf("Couldn't open %s for reading!\n", filename);
+ 				closedir(dirp);
+-				gzclose(pak);
++				fclose(pak);
+ 				exit(1);
+ 			}
+ 			
+@@ -163,7 +163,7 @@
+ 			{
+ 				printf("Couldn't open %s for reading!\n", filename);
+ 				closedir(dirp);
+-				gzclose(pak);
++				fclose(pak);
+ 				exit(1);
+ 			}
+ 			else
diff --git a/debian/patches/series b/debian/patches/series
index 80dd3e2..59d5893 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ link-libz.patch
 0007-link-as-needed.patch
 0009-start-with-fewer-directories.patch
 0010-mismatched-delete.patch
+0011-remove-bad-gzclose.patch

-- 
game about viruses invading your computer



More information about the Pkg-games-commits mailing list