diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/spiralsynthmodular/files/patch-SpiralSound_PluginManager.C | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
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..00496ebe1139 --- /dev/null +++ b/audio/spiralsynthmodular/files/patch-SpiralSound_PluginManager.C @@ -0,0 +1,29 @@ +--- SpiralSound/PluginManager.C.orig 2003-08-08 13:07:30 UTC ++++ SpiralSound/PluginManager.C +@@ -49,7 +49,7 @@ PluginID PluginManager::LoadPlugin(const + } + + // Link the neccesary functions +- char *error; ++ const char *error; + + NewPlugin->CreateInstance = (SpiralPlugin*(*)()) dlsym(NewPlugin->Handle, "SpiralPlugin_CreateInstance"); + +@@ -98,7 +98,7 @@ void PluginManager::UnLoadPlugin(PluginI + if (IsValid(ID)) + { + dlclose(GetPlugin(ID)->Handle); +- char *error; ++ const char *error; + if ((error = dlerror()) != NULL) + { + SpiralInfo::Alert("Error unlinking plugin: \n"+string(error)); +@@ -112,7 +112,7 @@ void PluginManager::UnloadAll() + 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)); |