Bug#560455: ava: NMU diff for 0.3b.19990815-4.1
Dear maintainer,
Here is the NMU diff according to DevRef 5.11.1[1][2] for RC bug: #560455.
See the debian/patches directory for the important fixes. Feel free to
contact if you have any questions.
Thank you for maintaining the package,
Jari Aalto
[1] http://www.debian.org/doc/developers-reference/pkgs.html#nmu
[2] http://dep.debian.net/deps/dep1.html
lsdiff(1) of changes:
a/debian/changelog
b/debian/patches/10-gcc-4.4-const-char.patch
b/debian/patches/series
b/debian/source/format
debian/changelog | 15 +++++++++++++++
debian/patches/10-gcc-4.4-const-char.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/source/format | 1 +
4 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f2fc979..0b0e9a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+ava (0.3b.19990815-4.1) unstable; urgency=low
+
+ [Jari Aalto]
+ * Non-maintainer upload.
+ * Update to packaging format "3.0 (quilt)" due to patch.
+ * debian/patches
+ - (number 10): Add patch to fix GCC 4.4
+ invalid conversion from const char* to char*.
+ (RC bug FTBFS serious; Closes: #560455).
+ - (debian-changes-*): added automatically by the packaging format 3.0.
+ * debian/source/format
+ - New file.
+
+ -- Jari Aalto <jari.aalto@cante.net> Sat, 09 Jan 2010 20:20:19 +0200
+
ava (0.3b.19990815-4) unstable; urgency=low
* QA upload. (ACK NMU; Closes: #288412, #291719)
diff --git a/debian/patches/10-gcc-4.4-const-char.patch b/debian/patches/10-gcc-4.4-const-char.patch
new file mode 100644
index 0000000..a895444
--- /dev/null
+++ b/debian/patches/10-gcc-4.4-const-char.patch
@@ -0,0 +1,26 @@
+From 5b82333a99290bfcc3676c27574f5e79b675d150 Mon Sep 17 00:00:00 2001
+From: Jari Aalto <jari.aalto@cante.net>
+Date: Sat, 9 Jan 2010 20:10:50 +0200
+Subject: [PATCH] Gcc 4.4 error: invalid conversion from const char* to char*
+
+Signed-off-by: Jari Aalto <jari.aalto@cante.net>
+---
+ src/Reports.C | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Reports.C b/src/Reports.C
+index 506ab8a..303e62e 100644
+--- a/src/Reports.C
++++ b/src/Reports.C
+@@ -84,7 +84,7 @@ void TListing::Create(const char* asmFname){
+ if (!listingEnabled){return;}
+ /* close listings and prepeare listing file name */
+ Unroll();
+- char* fullstop = strrchr(asmFname,'.');
++ const char* fullstop = strrchr(asmFname,'.');
+ char listFileName [PPC_MAXFILELEN];
+ if (fullstop!=NULL){
+ strncpy(listFileName,asmFname,fullstop-asmFname);
+--
+1.6.5
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6c010ef
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+10-gcc-4.4-const-char.patch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
Reply to: