Package: aegis / 4.24.3-3

aegis-4.24.3-fix-debian-643347.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
MIME-Version: 1.0
Content-Type: application/aegis-patch
Subject: aegis.4.24 - [ Debian #643347] FTBFS format not a string literal and no format arguments
Content-Name: aegis.4.24.C520.patch
Content-Disposition: attachment; filename=aegis.4.24.C520.patch
X-Aegis-Project-Name: aegis.4.24
X-Aegis-Change-Number: 520

#	
#	Summary:
#	[ Debian #643347] FTBFS format not a string literal and no format
#	arguments
#	
#	Description:
#	Fixed a build problem on the Debian build farm.
#	Thanks to Didier Raboud for reporting the problem and providing a
#	patch.
#	
#	Signed-off-by: Walter Franzini <walter.franzini@gmail.com>
#	
Index: b/aeget/get/project/integr_histo.cc
===================================================================
--- a/aeget/get/project/integr_histo.cc	2011-12-28 10:20:56.000000000 +0100
+++ b/aeget/get/project/integr_histo.cc	2011-12-28 10:24:37.000000000 +0100
@@ -189,14 +189,14 @@
     if (recursive)
     {
 	printf("faster ");
-	emit_project_href(pp, ref.c_str());
+	emit_project_href(pp,"%s", ref.c_str());
 	printf("non-");
     }
     else
     {
 	printf("slower ");
 	ref += "+recursive";
-	emit_project_href(pp, ref.c_str());
+	emit_project_href(pp,"%s", ref.c_str());
     }
     printf("recursive</a> listing available.</p>\n");
 
Index: b/libaegis/http.cc
===================================================================
--- a/libaegis/http.cc	2011-12-28 10:20:56.000000000 +0100
+++ b/libaegis/http.cc	2011-12-28 10:24:37.000000000 +0100
@@ -404,7 +404,7 @@
 emit_change_href(change::pointer cp, const char *modifier)
 {
     if (cp->bogus)
-        emit_project_href(cp->pp, modifier);
+        emit_project_href(cp->pp,"%s", modifier);
     else
         emit_change_href_n(cp->pp, magic_zero_decode(cp->number), modifier);
 }