Hi Matthias,

On Fri, May 6, 2011 at 1:28 PM,  <ales...@users.alioth.debian.org> wrote:
> diff --git a/debian/patches/15-gcc46.patch b/debian/patches/15-gcc46.patch
> new file mode 100644
> index 0000000..0e3761b
> --- /dev/null
> +++ b/debian/patches/15-gcc46.patch
> @@ -0,0 +1,21 @@
> +Description: Force cast to type (VisPalette *) to avoid FTBFS with GCC4.6.
> +Author: Alessio Treglia <ales...@debian.org>
> +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624898
> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/771045
> +Bug: http://sourceforge.net/support/tracker.php?aid=3298221
> +Forwarded: yes
> +---
> + src/projectM-libvisual/actor_projectM.cpp |    2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +--- projectm.orig/src/projectM-libvisual/actor_projectM.cpp
> ++++ projectm/src/projectM-libvisual/actor_projectM.cpp
> +@@ -209,7 +209,7 @@ extern "C" int lv_projectm_events (VisPl
> +  * we aren't with projectm, so just ignore :) */
> + extern "C" VisPalette *lv_projectm_palette (VisPluginData *plugin)
> + {
> +-      return NULL;
> ++      return (VisPalette *) NULL;
> + }
> +
> + /* This is where the real rendering happens! This function is what we call, 
> many times

the above patch makes projectm build fine with GCC4.6 in sid.
Your review would be appreciated, let me know what you think.

Regards,

-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         | ales...@debian.org
Ubuntu Core Developer    | quadris...@ubuntu.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to