summaryrefslogtreecommitdiff
path: root/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch')
-rw-r--r--community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch b/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch
new file mode 100644
index 000000000..0e1234f83
--- /dev/null
+++ b/community/libvisual-projectm/libvisual-projectm-gcc-4.6.patch
@@ -0,0 +1,11 @@
+--- trunk/src/projectM-libvisual/actor_projectM.cpp 2009/02/20 19:07:44 1210
++++ trunk/src/projectM-libvisual/actor_projectM.cpp 2011/05/06 12:04:58 1355
+@@ -209,7 +209,7 @@
+ * 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