The following commit has been merged in the master branch:
commit 5d9271d4b200fb74ba8c219a68ba995c8e432b77
Author: Stephen M. Webb <[email protected]>
Date:   Sat Dec 10 00:03:00 2011 -0500

    Fixed build warnings due to deprecated xf86dga.h header.

diff --git a/debian/changelog b/debian/changelog
index 3ac2d56..ec711b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,8 +14,9 @@ xgalaga (2.1.1.0-4) UNRELEASED; urgency=low
   * Fixed FTBFS with ld --as-needed (Closes: #641293) (LP: #832918).
   * Converted previous source mods to quilt format.
   * Fixed build warnings due to implicit declarations.
+  * Fixed build warnings due to deprecated xf86dga.h header.
 
- -- Stephen M. Webb <[email protected]>  Fri, 09 Dec 2011 23:49:55 
-0500
+ -- Stephen M. Webb <[email protected]>  Fri, 09 Dec 2011 23:54:28 
-0500
 
 xgalaga (2.1.1.0-3) unstable; urgency=low
 
diff --git a/debian/patches/0003-obsolete-xf86dga.patch 
b/debian/patches/0003-obsolete-xf86dga.patch
new file mode 100644
index 0000000..4329d94
--- /dev/null
+++ b/debian/patches/0003-obsolete-xf86dga.patch
@@ -0,0 +1,26 @@
+Description: Replaced deprecated header <xf86dga.h> with recommended
+ <Xxf86dga.h>
+Author: Stephen M. Webb  <[email protected]>
+
+--- a/Wlib.h
++++ b/Wlib.h
+@@ -94,7 +94,7 @@
+ 
+ /* For XF86VIDMODE Support */
+ #ifdef XF86VIDMODE
+-#include <X11/extensions/xf86dga.h>
++#include <X11/extensions/Xxf86dga.h>
+ #include <X11/extensions/xf86vmode.h>   
+ 
+ struct xf86vidmode_data {
+--- a/libsprite/Wlib.h
++++ b/libsprite/Wlib.h
+@@ -94,7 +94,7 @@
+ 
+ /* For XF86VIDMODE Support */
+ #ifdef XF86VIDMODE
+-#include <X11/extensions/xf86dga.h>
++#include <X11/extensions/Xxf86dga.h>
+ #include <X11/extensions/xf86vmode.h>   
+ 
+ struct xf86vidmode_data {
diff --git a/debian/patches/series b/debian/patches/series
index bb67879..f464d54 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
 0001-manpages-install.patch
+0002-implicit-declarations.patch
+0003-obsolete-xf86dga.patch

-- 
Packaging for Xgalaga

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to