Author: evgeni
Date: 2011-11-29 11:50:12 +0000 (Tue, 29 Nov 2011)
New Revision: 12876

Added:
   packages/trunk/yabause/debian/patches/03_fix_build_with_hardeningflags.patch
Modified:
   packages/trunk/yabause/debian/compat
   packages/trunk/yabause/debian/control
   packages/trunk/yabause/debian/patches/series
Log:
use debhelper compat 9 for hardening buildflags

also fix build with -Werror=format-security


Modified: packages/trunk/yabause/debian/compat
===================================================================
--- packages/trunk/yabause/debian/compat        2011-11-28 12:56:23 UTC (rev 
12875)
+++ packages/trunk/yabause/debian/compat        2011-11-29 11:50:12 UTC (rev 
12876)
@@ -1 +1 @@
-7
+9

Modified: packages/trunk/yabause/debian/control
===================================================================
--- packages/trunk/yabause/debian/control       2011-11-28 12:56:23 UTC (rev 
12875)
+++ packages/trunk/yabause/debian/control       2011-11-29 11:50:12 UTC (rev 
12876)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <[email protected]>
 Uploaders: Evgeni Golov <[email protected]>
-Build-Depends: debhelper (>= 7), cmake, pkg-config,
+Build-Depends: debhelper (>= 8.9.0~), cmake, pkg-config,
  libgl1-mesa-dev | libgl-dev, freeglut3-dev | libglut-dev, libglu1-mesa-dev | 
libglu-dev,
  libsdl1.2-dev, libglib2.0-dev, libgtk2.0-dev, libgtkglext1-dev,
  libqt4-dev, libqt4-opengl-dev, libmini18n-dev, libopenal-dev,

Added: 
packages/trunk/yabause/debian/patches/03_fix_build_with_hardeningflags.patch
===================================================================
--- 
packages/trunk/yabause/debian/patches/03_fix_build_with_hardeningflags.patch    
                            (rev 0)
+++ 
packages/trunk/yabause/debian/patches/03_fix_build_with_hardeningflags.patch    
    2011-11-29 11:50:12 UTC (rev 12876)
@@ -0,0 +1,15 @@
+From: Evgeni Golov <[email protected]>
+Subject: fix build with -Werror=format-security
+
+diff -Nrwu yabause-0.9.11/src/qt/ui/UIYabause.cpp 
yabause-0.9.11.hard/src/qt/ui/UIYabause.cpp
+--- yabause-0.9.11/src/qt/ui/UIYabause.cpp     2011-11-27 19:06:46.000000000 
+0100
++++ yabause-0.9.11.hard/src/qt/ui/UIYabause.cpp        2011-11-28 
11:15:48.757838188 +0100
+@@ -53,7 +53,7 @@
+               ui->appendLog( s );
+       }
+       else {
+-              qWarning( s );
++              qWarning( "%s", s );
+       }
+ }
+ 

Modified: packages/trunk/yabause/debian/patches/series
===================================================================
--- packages/trunk/yabause/debian/patches/series        2011-11-28 12:56:23 UTC 
(rev 12875)
+++ packages/trunk/yabause/debian/patches/series        2011-11-29 11:50:12 UTC 
(rev 12876)
@@ -1,2 +1,3 @@
 01_link_with_libm.patch
 02_typos.patch
+03_fix_build_with_hardeningflags.patch


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

Reply via email to