diff options
Diffstat (limited to 'audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C')
-rw-r--r-- | audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C | 29 |
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)); |