diff -Nru aegis-4.24.3/debian/changelog aegis-4.24.3/debian/changelog --- aegis-4.24.3/debian/changelog 2010-11-14 15:40:15.000000000 +0000 +++ aegis-4.24.3/debian/changelog 2012-01-06 07:37:53.000000000 +0000 @@ -1,3 +1,10 @@ +aegis (4.24.3-2ubuntu1) precise; urgency=low + + * Fix FTBFS with -Werror=format-security (LP: #911761), patch by + peter green. + + -- Ilya Barygin Fri, 06 Jan 2012 11:37:34 +0400 + aegis (4.24.3-2) unstable; urgency=low * Segfault fixed, closes SF.net #3066593. diff -Nru aegis-4.24.3/debian/control aegis-4.24.3/debian/control --- aegis-4.24.3/debian/control 2010-11-13 14:03:12.000000000 +0000 +++ aegis-4.24.3/debian/control 2012-01-06 07:36:48.000000000 +0000 @@ -1,7 +1,8 @@ Source: aegis Section: vcs Priority: optional -Maintainer: Walter Franzini +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Walter Franzini Build-Depends: debhelper (>= 7), bison, zlib1g-dev, groff, gettext, uuid-dev, libcurl4-gnutls-dev, perl, libmagic-dev, gawk, cdbs (>= 0.4.23-1.1), rcs, ed, patchutils (>= 0.2.25), libxml2-dev, libbz2-dev, bzip2, po-debconf, cook, diff -Nru aegis-4.24.3/debian/patches/fix-werror.patch aegis-4.24.3/debian/patches/fix-werror.patch --- aegis-4.24.3/debian/patches/fix-werror.patch 1970-01-01 00:00:00.000000000 +0000 +++ aegis-4.24.3/debian/patches/fix-werror.patch 2012-01-06 07:39:28.000000000 +0000 @@ -0,0 +1,35 @@ +Description: fix FTBFS with -Werror=format-security +Author: peter green +Bug-Debian: http://bugs.debian.org/643347 +Bug-Ubuntu: https://launchpad.net/bugs/911761 + +--- aegis-4.24.3.orig/libaegis/http.cc ++++ aegis-4.24.3/libaegis/http.cc +@@ -404,7 +404,7 @@ void + 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); + } +--- aegis-4.24.3.orig/aeget/get/project/integr_histo.cc ++++ aegis-4.24.3/aeget/get/project/integr_histo.cc +@@ -189,14 +189,14 @@ get_project_integration_histogram(projec + 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 listing available.

\n"); + diff -Nru aegis-4.24.3/debian/patches/series aegis-4.24.3/debian/patches/series --- aegis-4.24.3/debian/patches/series 2010-09-17 07:02:33.000000000 +0000 +++ aegis-4.24.3/debian/patches/series 2012-01-06 07:35:19.000000000 +0000 @@ -2,3 +2,4 @@ debian_remove_manpath_and_use_sensiblepager_in_aedpager.patch debian_install_aefp_binary.patch aegis-4.24.3-allow-white-space.patch +fix-werror.patch