Control: tags 809884 + patch

Dear maintainer,

Even if celestia is marked RM, this upload is to avoid complications for the 
libpng16
transition due to the fact that there is one reverse dependency which needs 
porting.

herfore uploading the fix for libpng16.

I've prepared an NMU for celestia (versioned as 1.6.1+dfsg-3.2). The diff
is attached to this message.

Regards.
diff -Nru celestia-1.6.1+dfsg/debian/changelog 
celestia-1.6.1+dfsg/debian/changelog
--- celestia-1.6.1+dfsg/debian/changelog        2014-10-16 12:23:37.000000000 
+0200
+++ celestia-1.6.1+dfsg/debian/changelog        2016-01-28 08:16:26.000000000 
+0100
@@ -1,3 +1,10 @@
+celestia (1.6.1+dfsg-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * FTBFS with libpng16 (Closes: #809884)
+
+ -- Tobias Frost <t...@debian.org>  Thu, 28 Jan 2016 08:16:07 +0100
+
 celestia (1.6.1+dfsg-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru celestia-1.6.1+dfsg/debian/patches/libpng16.patch 
celestia-1.6.1+dfsg/debian/patches/libpng16.patch
--- celestia-1.6.1+dfsg/debian/patches/libpng16.patch   1970-01-01 
01:00:00.000000000 +0100
+++ celestia-1.6.1+dfsg/debian/patches/libpng16.patch   2016-01-28 
09:36:03.000000000 +0100
@@ -0,0 +1,22 @@
+--- a/src/celengine/image.cpp
++++ b/src/celengine/image.cpp
+@@ -9,6 +9,8 @@
+ 
+ #include <fstream>
+ 
++#include <string.h>
++
+ #ifndef TARGET_OS_MAC
+ #define JPEG_SUPPORT
+ #define PNG_SUPPORT
+--- a/src/celengine/texture.cpp
++++ b/src/celengine/texture.cpp
+@@ -30,6 +30,8 @@
+ #include <cstdio>
+ #include <cassert>
+ 
++#include <string.h>
++
+ #ifndef _WIN32
+ #ifndef TARGET_OS_MAC
+ #include <config.h>
diff -Nru celestia-1.6.1+dfsg/debian/patches/series 
celestia-1.6.1+dfsg/debian/patches/series
--- celestia-1.6.1+dfsg/debian/patches/series   2014-10-16 12:24:27.000000000 
+0200
+++ celestia-1.6.1+dfsg/debian/patches/series   2016-01-28 08:17:15.000000000 
+0100
@@ -9,3 +9,4 @@
 fix-ld-as-needed.diff
 fix-no-add-needed.diff
 mips64.diff
+libpng16.patch

Reply via email to