#! /bin/sh /usr/share/dpatch/dpatch-run ## gcc-4.4.dpatch by Fabrice Coutadeur ## ## 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 zack@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;