[SCM] Packaging for Xgalaga branch, master, updated. debian/2.1.1.0-3-13-g5d9271d
Stephen M. Webb
stephen.webb at bregmasoft.ca
Sat Dec 10 05:04:47 UTC 2011
The following commit has been merged in the master branch:
commit b79702a3694776f7cf9127d173c8d9c1989d9be7
Author: Stephen M. Webb <stephen.webb at bregmasoft.ca>
Date: Fri Dec 9 23:54:18 2011 -0500
Fixed build warnings due to implicit declarations.
diff --git a/debian/changelog b/debian/changelog
index 806c87e..3ac2d56 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,8 +13,9 @@ xgalaga (2.1.1.0-4) UNRELEASED; urgency=low
* debian/rules: added build-arch and build-indep targets.
* Fixed FTBFS with ld --as-needed (Closes: #641293) (LP: #832918).
* Converted previous source mods to quilt format.
+ * Fixed build warnings due to implicit declarations.
- -- Stephen M. Webb <stephen.webb at bregmasoft.ca> Fri, 09 Dec 2011 23:15:22 -0500
+ -- Stephen M. Webb <stephen.webb at bregmasoft.ca> Fri, 09 Dec 2011 23:49:55 -0500
xgalaga (2.1.1.0-3) unstable; urgency=low
diff --git a/debian/patches/0002-implicit-declarations.patch b/debian/patches/0002-implicit-declarations.patch
new file mode 100644
index 0000000..1d365cc
--- /dev/null
+++ b/debian/patches/0002-implicit-declarations.patch
@@ -0,0 +1,50 @@
+Description: Fixed build warnings due to implicit type defaults.
+Author: Stephen M. Webb <stephen.webb at bregmasoft.ca>
+
+--- a/title.c
++++ b/title.c
+@@ -15,11 +15,12 @@
+ #include "struct.h"
+ #include "data.h"
+ #include "proto.h"
++#include <unistd.h>
+
+ /* for scrolling credits */
+-const LINESIZE= 70;
+-const VISIBLELINES=7;
+-const SPEEDFACTOR=5;
++const int LINESIZE= 70;
++const int VISIBLELINES=7;
++const int SPEEDFACTOR=5;
+ char *gchLBuf;
+ int giCreditLines=0, giActCreditLine=0;
+
+@@ -107,7 +108,7 @@
+ top+150, W_Cyan);
+ }
+
+-int read_credits()
++void read_credits()
+ {
+ int hsf;
+ int i,j,l,lines;
+@@ -174,8 +175,7 @@
+
+ void undo_credits()
+ {
+- int hsf;
+- int i,j,l,lines;
++ int i,j,lines;
+ int top = 460;
+ char chLBuf[LINESIZE+1];
+
+@@ -200,8 +200,7 @@
+
+ void show_credits()
+ {
+- int hsf;
+- int i,j,l,lines;
++ int i,j,lines;
+ int top = 460;
+ char chLBuf[LINESIZE+1];
+
--
Packaging for Xgalaga
More information about the Pkg-games-commits
mailing list