[SCM] projectm/master: Add patch to fix FTBFS with GCC4.6 (Closes: #624898, LP: #771045).

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri May 6 11:28:15 UTC 2011


The following commit has been merged in the master branch:
commit 140889da439b4dca66a433f5fd99c78e786e4186
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri May 6 13:27:48 2011 +0200

    Add patch to fix FTBFS with GCC4.6 (Closes: #624898, LP: #771045).

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 <alessio at 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
diff --git a/debian/patches/series b/debian/patches/series
index d0f313c..8816637 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@
 12_lprojectm_change-preset-duration.patch
 13_lprojectm_cmake_freetype.patch
 14_lprojectm_set-numeric.patch
+15-gcc46.patch

-- 
projectm packaging



More information about the pkg-multimedia-commits mailing list