summaryrefslogtreecommitdiff
path: root/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-30 20:29:02 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-30 20:29:02 +0000
commita8b87e139030b5c64b143ca4b81bc6a0e4e896b0 (patch)
tree980b8d1b3440763a7818f7116bf69633c543aaa2 /audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
parentfix MASTER_SITES URL (diff)
New port spiralsynthmodular version 0.2.0: An object orientated
modular softsynth / sequencer / sampler Submitted by: David Yeske <dyeske@yahoo.com>
Notes
Notes: svn path=/head/; revision=74306
Diffstat (limited to 'audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C')
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C29
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C b/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
new file mode 100644
index 000000000000..702073dac679
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
@@ -0,0 +1,29 @@
+--- SpiralSound/PluginManager.C.orig Mon Jan 6 01:17:04 2003
++++ SpiralSound/PluginManager.C Mon Jan 6 01:17:45 2003
+@@ -48,7 +48,7 @@
+ }
+
+ // Link the neccesary functions
+- char *error;
++ const char *error;
+
+ NewPlugin->CreateInstance = (SpiralPlugin*(*)()) dlsym(NewPlugin->Handle, "CreateInstance");
+
+@@ -89,7 +89,7 @@
+ if (IsValid(ID))
+ {
+ dlclose(GetPlugin(ID)->Handle);
+- char *error;
++ const char *error;
+ if ((error = dlerror()) != NULL)
+ {
+ SpiralInfo::Alert("Error unlinking plugin: \n"+string(error));
+@@ -103,7 +103,7 @@
+ i!=m_PluginVec.end(); i++)
+ {
+ dlclose((*i)->Handle);
+- char *error;
++ const char *error;
+ if ((error = dlerror()) != NULL)
+ {
+ SpiralInfo::Alert("Error unlinking plugin: \n"+string(error));