Code

copyright: Updated for version 1.8.2.
[pkg-pfstools.git] / debian / patches / gcc-4.4.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## gcc-4.4.dpatch by Fabrice Coutadeur <fabricesp@ubuntu.com>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## 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
6 ## DP: Rationale (by zack@debian.org): the "name" argument is in fact *not* used as "const"
7 ## DP: Closes: #554494
9 @DPATCH@
10 diff -urNad pfstools-1.8.1~/src/filter/pfspanoramic.cpp pfstools-1.8.1/src/filter/pfspanoramic.cpp
11 --- pfstools-1.8.1~/src/filter/pfspanoramic.cpp 2008-07-29 16:14:30.000000000 +0000
12 +++ pfstools-1.8.1/src/filter/pfspanoramic.cpp  2009-09-10 20:11:29.000000000 +0000
13 @@ -191,7 +191,7 @@
14        singleton.projections[ string( name ) ] = ptr;
15      }
16  
17 -    static Projection *getProjection(const char *name)
18 +    static Projection *getProjection(char *name)
19      {
20        char *opts;
21