Package: matanza / 0.13+ds2-1

04-format.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with GCC >= 4.7 and hardening compiler options
Forwarded: no
Author: Bart Martens <bartm@debian.org>
Last-Update: 2012-12-17

--- ./matanza.w.orig
+++ ./matanza.w
@@ -1506,7 +1506,7 @@
   if (obj->info.ast.health <= 0)
     @<Asteroid |obj| has been broken@>@;
   else
-    sprintf(message_get(b->info.bullet.src), mat_bullets_hit_ast[b->info.bullet.type]);
+    sprintf(message_get(b->info.bullet.src), "%s", mat_bullets_hit_ast[b->info.bullet.type]);
 }
 
 @