Author: steve-guest
Date: 2012-05-26 10:34:10 +0000 (Sat, 26 May 2012)
New Revision: 13615

Added:
   packages/trunk/xmoto/debian/patches/sa_restorer-removal.patch
Modified:
   packages/trunk/xmoto/debian/changelog
   packages/trunk/xmoto/debian/patches/series
Log:
Remove reference to sa_restorer which is deprecated generally and not available 
on some architectures.

Modified: packages/trunk/xmoto/debian/changelog
===================================================================
--- packages/trunk/xmoto/debian/changelog       2012-05-26 10:33:41 UTC (rev 
13614)
+++ packages/trunk/xmoto/debian/changelog       2012-05-26 10:34:10 UTC (rev 
13615)
@@ -1,3 +1,10 @@
+xmoto (0.5.9+dfsg-2) unstable; urgency=low
+
+  * Remove reference to sa_restorer which is deprecated generally and
+    not available on some architectures.
+
+ -- Stephen Kitt <st...@sk2.org>  Sat, 26 May 2012 11:55:37 +0200
+
 xmoto (0.5.9+dfsg-1) unstable; urgency=low
 
   * New upstream release (closes: #644234):

Added: packages/trunk/xmoto/debian/patches/sa_restorer-removal.patch
===================================================================
--- packages/trunk/xmoto/debian/patches/sa_restorer-removal.patch               
                (rev 0)
+++ packages/trunk/xmoto/debian/patches/sa_restorer-removal.patch       
2012-05-26 10:34:10 UTC (rev 13615)
@@ -0,0 +1,16 @@
+Description: sa_restorer isn't defined in POSIX and is being removed
+Author: Stephen Kitt <st...@sk2.org>
+Bug: http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=805
+
+--- xmoto-0.5.9+dfsg.orig/src/GameInit.cpp
++++ xmoto-0.5.9+dfsg/src/GameInit.cpp
+@@ -269,9 +269,6 @@
+     struct sigaction v_act;
+ 
+     v_act.sa_handler  = xmexit_term;
+-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+-    v_act.sa_restorer = NULL;
+-#endif
+     sigemptyset(&v_act.sa_mask);
+     v_act.sa_flags = 0;
+ 

Modified: packages/trunk/xmoto/debian/patches/series
===================================================================
--- packages/trunk/xmoto/debian/patches/series  2012-05-26 10:33:41 UTC (rev 
13614)
+++ packages/trunk/xmoto/debian/patches/series  2012-05-26 10:34:10 UTC (rev 
13615)
@@ -4,3 +4,4 @@
 manpage.patch
 spelling.patch
 gcc-4.7-fixes.patch
+sa_restorer-removal.patch


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

Reply via email to