summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d9eaaa)
raw | patch | inline | side by side (parent: 2d9eaaa)
author | Stefano Zacchiroli <zack@debian.org> | |
Sun, 20 Dec 2009 19:51:20 +0000 (20:51 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 20 Dec 2009 19:51:20 +0000 (20:51 +0100) |
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.
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.
debian/changelog | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/gcc-4.4.dpatch | [new file with mode: 0644] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
index c8b9f26df98f48cdce3bf7a17d03e5b3bc1ac4ed..0efacca3da621b66abbd9e8850f225f4a010b7cf 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+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 <zack@debian.org> Sun, 20 Dec 2009 15:12:00 +0100
+
pfstools (1.8.1-1) unstable; urgency=low
* New upstream release.
diff --git a/debian/patches/00list b/debian/patches/00list
index 0783a751f93464b7aaf3ed5efc3940a948d949a1..a1ac0124e246033545b2bfd98fe3da7f7a7e03a1 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
octave-nargin.dpatch
octave-signal.dpatch
-
+gcc-4.4.dpatch
diff --git a/debian/patches/gcc-4.4.dpatch b/debian/patches/gcc-4.4.dpatch
--- /dev/null
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## gcc-4.4.dpatch by Fabrice Coutadeur <fabricesp@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 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;
+