aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/libvisual-plugins/files/patch-plugins__actor__gdkpixbuf__actor_gdkpixbuf.c11
-rw-r--r--graphics/libvisual-plugins/files/patch-plugins__actor__pseudotoad_flower__notch.c24
-rw-r--r--graphics/libvisual-plugins/files/patch-plugins_actor_dancingparticles_parameters.cpp9
3 files changed, 44 insertions, 0 deletions
diff --git a/graphics/libvisual-plugins/files/patch-plugins__actor__gdkpixbuf__actor_gdkpixbuf.c b/graphics/libvisual-plugins/files/patch-plugins__actor__gdkpixbuf__actor_gdkpixbuf.c
new file mode 100644
index 000000000000..8ace175f7db3
--- /dev/null
+++ b/graphics/libvisual-plugins/files/patch-plugins__actor__gdkpixbuf__actor_gdkpixbuf.c
@@ -0,0 +1,11 @@
+--- plugins/actor/gdkpixbuf/actor_gdkpixbuf.c.orig Thu Oct 20 11:07:30 2005
++++ plugins/actor/gdkpixbuf/actor_gdkpixbuf.c Thu Oct 20 11:08:06 2005
+@@ -98,7 +98,7 @@ const VisPluginInfo *get_plugin_info (in
+ int act_gdkpixbuf_init (VisPluginData *plugin)
+ {
+ PixbufPrivate *priv;
+- VisParamContainer *paramcontainer = visual_plugin_get_params (plugin);;
++ VisParamContainer *paramcontainer = visual_plugin_get_params (plugin);
+
+ static const VisParamEntry params[] = {
+ VISUAL_PARAM_LIST_ENTRY_STRING ("filename", ""),
diff --git a/graphics/libvisual-plugins/files/patch-plugins__actor__pseudotoad_flower__notch.c b/graphics/libvisual-plugins/files/patch-plugins__actor__pseudotoad_flower__notch.c
new file mode 100644
index 000000000000..6632bf5a4604
--- /dev/null
+++ b/graphics/libvisual-plugins/files/patch-plugins__actor__pseudotoad_flower__notch.c
@@ -0,0 +1,24 @@
+--- plugins/actor/pseudotoad_flower/notch.c.orig
++++ plugins/actor/pseudotoad_flower/notch.c
+@@ -23,6 +23,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <math.h>
+ #include <string.h>
+
+@@ -30,9 +31,10 @@
+
+ NOTCH_FILTER * init_notch(float cutoff) {
+ NOTCH_FILTER * l=malloc(sizeof(NOTCH_FILTER));
+- float steep = 0.99;;
+- float r = steep * 0.99609375;
+- float f = cos(M_PI * cutoff / SAMPLING_RATE);
++ float steep = 0.99;
++ float r,f;
++ r = steep * 0.99609375;
++ f = cos(M_PI * cutoff / SAMPLING_RATE);
+ l->cutoff = cutoff;
+ l->a0 = (1 - r) * sqrt( r * (r - 4 * (f * f) + 2) + 1);
+ l->b1 = 2 * f * r;
diff --git a/graphics/libvisual-plugins/files/patch-plugins_actor_dancingparticles_parameters.cpp b/graphics/libvisual-plugins/files/patch-plugins_actor_dancingparticles_parameters.cpp
new file mode 100644
index 000000000000..f195702a2fdd
--- /dev/null
+++ b/graphics/libvisual-plugins/files/patch-plugins_actor_dancingparticles_parameters.cpp
@@ -0,0 +1,9 @@
+--- plugins/actor/dancingparticles/parameters.cpp.orig
++++ plugins/actor/dancingparticles/parameters.cpp
+@@ -1,5 +1,6 @@
+ #include <iostream>
+ #include "etoile.h"
++#include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include "t1font.h"