tags 651625 +patch
thanks
Attatched patch fixes the FTBFS and also makes debian/rules clean work
properly.
diff -urN gnash-0.8.10~git20111001/debian/patches/fix-const.patch gnash-0.8.10~git20111001.new/debian/patches/fix-const.patch
--- gnash-0.8.10~git20111001/debian/patches/fix-const.patch 1970-01-01 00:00:00.000000000 +0000
+++ gnash-0.8.10~git20111001.new/debian/patches/fix-const.patch 2011-12-25 02:28:55.000000000 +0000
@@ -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 -urN gnash-0.8.10~git20111001/debian/patches/series gnash-0.8.10~git20111001.new/debian/patches/series
--- gnash-0.8.10~git20111001/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ gnash-0.8.10~git20111001.new/debian/patches/series 2011-12-25 02:27:02.000000000 +0000
@@ -0,0 +1 @@
+fix-const.patch
diff -urN gnash-0.8.10~git20111001/debian/rules gnash-0.8.10~git20111001.new/debian/rules
--- gnash-0.8.10~git20111001/debian/rules 2011-10-01 19:29:55.000000000 +0000
+++ gnash-0.8.10~git20111001.new/debian/rules 2011-12-25 02:26:30.000000000 +0000
@@ -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