tags 651625 + pending thanks Dear maintainer,
I've prepared an NMU for gnash (versioned as 0.8.10~git20111001-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Tom Waits: Bad Liver and a Broken Heart
diff -Nru gnash-0.8.10~git20111001/debian/changelog gnash-0.8.10~git20111001/debian/changelog --- gnash-0.8.10~git20111001/debian/changelog 2011-10-01 21:29:55.000000000 +0200 +++ gnash-0.8.10~git20111001/debian/changelog 2012-01-11 18:21:31.000000000 +0100 @@ -1,3 +1,13 @@ +gnash (0.8.10~git20111001-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS (npapi/plugin.cpp)": add patch fix-const.patch from peter green + (adds const quailifiers to function signatures). + Also clean up properly in debian/rules. + (Closes: #651625) + + -- gregor herrmann <gre...@debian.org> Wed, 11 Jan 2012 18:19:34 +0100 + gnash (0.8.10~git20111001-1) unstable; urgency=low * Git snapshot. diff -Nru gnash-0.8.10~git20111001/debian/patches/fix-const.patch gnash-0.8.10~git20111001/debian/patches/fix-const.patch --- gnash-0.8.10~git20111001/debian/patches/fix-const.patch 1970-01-01 01:00:00.000000000 +0100 +++ gnash-0.8.10~git20111001/debian/patches/fix-const.patch 2012-01-11 18:19:19.000000000 +0100 @@ -0,0 +1,38 @@ +Description: add const to fix FTBFS + add const qualifiers in a couple of function singnatures to match the ones + in the NPAPI headers and thereby fix build failures. +Bug-Debian: http://bugs.debian.org/651625 + +--- gnash-0.8.10~git20111001.orig/plugin/npapi/plugin.cpp ++++ gnash-0.8.10~git20111001/plugin/npapi/plugin.cpp +@@ -129,7 +129,7 @@ NPBool plugInitialized = FALSE; + } + + /// \brief Return the MIME Type description for this plugin. +-char* ++const char* + NPP_GetMIMEDescription(void) + { + return const_cast<char *>(MIME_TYPES_DESCRIPTION); +--- gnash-0.8.10~git20111001.orig/plugin/npapi/test.cpp ++++ gnash-0.8.10~git20111001/plugin/npapi/test.cpp +@@ -408,7 +408,7 @@ NS_PluginShutdown() + { + } + +-char* ++const char* + NPP_GetMIMEDescription(void) + { + char *x = 0; +--- gnash-0.8.10~git20111001.orig/plugin/npapi/mozilla-sdk/np_entry.cpp ++++ gnash-0.8.10~git20111001/plugin/npapi/mozilla-sdk/np_entry.cpp +@@ -238,7 +238,7 @@ NP_Initialize(NPNetscapeFuncs* aNPNFuncs + return NS_PluginInitialize(); + } + +-char * ++const char * + NP_GetMIMEDescription(void) + { + return NPP_GetMIMEDescription(); diff -Nru gnash-0.8.10~git20111001/debian/patches/series gnash-0.8.10~git20111001/debian/patches/series --- gnash-0.8.10~git20111001/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ gnash-0.8.10~git20111001/debian/patches/series 2012-01-11 18:19:19.000000000 +0100 @@ -0,0 +1 @@ +fix-const.patch diff -Nru gnash-0.8.10~git20111001/debian/rules gnash-0.8.10~git20111001/debian/rules --- gnash-0.8.10~git20111001/debian/rules 2011-10-01 21:29:55.000000000 +0200 +++ gnash-0.8.10~git20111001/debian/rules 2012-01-11 18:19:19.000000000 +0100 @@ -116,6 +116,7 @@ rm -f debian/gnash.png $(OUTFILES) rm -rf autom4te.cache libltdl $(OBJDIR) rm -f aclocal.m4 macros/argz.m4 macros/libtool.m4 macros/lt*.m4 + rm -f compile find . -name Makefile.in -delete dh_clean
signature.asc
Description: Digital signature