tags 554494 + pending thanks Dear maintainer,
I've prepared an NMU for pfstools (versioned as 1.8.1-1.1) and uploaded it to DELAYED/2, according to devref §5.11.1. The patch is the one from Ubuntu which has been posted to the bug log a while ago. The rationale of the patch is that in fact that variable is not being used as a "const" char *, hence the declaration should be dropped. Regards. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
diff -u pfstools-1.8.1/debian/changelog pfstools-1.8.1/debian/changelog --- pfstools-1.8.1/debian/changelog +++ pfstools-1.8.1/debian/changelog @@ -1,3 +1,12 @@ +pfstools (1.8.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add patch gcc-4.4.dpatch, to fix FTBFS w/ gcc 4.4, rationale; patch + from Ubuntu (with some extra comments/rationale by me). + (Closes: #554494) + + -- Stefano Zacchiroli <z...@debian.org> Sun, 20 Dec 2009 15:12:00 +0100 + pfstools (1.8.1-1) unstable; urgency=low * New upstream release. diff -u pfstools-1.8.1/debian/patches/00list pfstools-1.8.1/debian/patches/00list --- pfstools-1.8.1/debian/patches/00list +++ pfstools-1.8.1/debian/patches/00list @@ -3 +3 @@ - +gcc-4.4.dpatch only in patch2: unchanged: --- pfstools-1.8.1.orig/debian/patches/gcc-4.4.dpatch +++ pfstools-1.8.1/debian/patches/gcc-4.4.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc-4.4.dpatch by Fabrice Coutadeur <fabric...@ubuntu.com> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix compilation error with GCC 4.4. Fix get from http://sourceforge.net/tracker/index.php?func=detail&aid=2848391&group_id=129921&atid=716245 +## DP: Rationale (by z...@debian.org): the "name" argument is in fact *not* used as "const" +## DP: Closes: #554494 + +...@dpatch@ +diff -urNad pfstools-1.8.1~/src/filter/pfspanoramic.cpp pfstools-1.8.1/src/filter/pfspanoramic.cpp +--- pfstools-1.8.1~/src/filter/pfspanoramic.cpp 2008-07-29 16:14:30.000000000 +0000 ++++ pfstools-1.8.1/src/filter/pfspanoramic.cpp 2009-09-10 20:11:29.000000000 +0000 +@@ -191,7 +191,7 @@ + singleton.projections[ string( name ) ] = ptr; + } + +- static Projection *getProjection(const char *name) ++ static Projection *getProjection(char *name) + { + char *opts; +