Dear maintainer,

Here is the NMU diff according to DevRef 5.11.1[1][2] for RC bug: #560474.
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-gcc4.4-const-char.patch
    b/debian/patches/series
    b/debian/source/format

 debian/changelog                          |   14 ++++++++++++++
 debian/patches/10-gcc4.4-const-char.patch |   27 +++++++++++++++++++++++++++
 debian/patches/series                     |    1 +
 debian/source/format                      |    1 +
 4 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ac6b124..562c00d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+mednafen (0.8.9-1.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: #560474).
+  * debian/source/format
+     - New file.
+
+ -- Jari Aalto <jari.aa...@cante.net>  Sat, 09 Jan 2010 21:00:28 +0200
+
 mednafen (0.8.9-1) unstable; urgency=low
 
   * New upstream version.
diff --git a/debian/patches/10-gcc4.4-const-char.patch b/debian/patches/10-gcc4.4-const-char.patch
new file mode 100644
index 0000000..7acc54d
--- /dev/null
+++ b/debian/patches/10-gcc4.4-const-char.patch
@@ -0,0 +1,27 @@
+From 72648b5a5f2ffb81d874c57c99871d60aaf31cf2 Mon Sep 17 00:00:00 2001
+From: Jari Aalto <jari.aa...@cante.net>
+Date: Sat, 9 Jan 2010 20:58:28 +0200
+Subject: [PATCH] src/file.cpp: Fix Gcc 4.4 error: invalid conversion from const char* to char*
+
+
+Signed-off-by: Jari Aalto <jari.aa...@cante.net>
+---
+ src/file.cpp |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/file.cpp b/src/file.cpp
+index ef55196..77233a9 100644
+--- a/src/file.cpp
++++ b/src/file.cpp
+@@ -418,7 +418,7 @@ MDFNFILE * MDFN_fopen(const char *path, const char *ipsfn, const char *mode, con
+    if(!(fceufp = MakeMemWrap(t, 0)))
+     return(0);
+ 
+-   char *ld = strrchr(path, '.');
++   const char *ld = strrchr(path, '.');
+    fceufp->ext = strdup(ld ? ld + 1 : "");
+   }
+   else                  /* Probably gzip */
+-- 
+1.6.5
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ffaa626
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+10-gcc4.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 via email to