diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-03-27 05:37:47 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-29 15:55:24 +0000 |
| commit | 78a9d638d9b51733efca6ca8257521f7f454d08a (patch) | |
| tree | 5289f69dd7d1fb9543e786d09392f086dcf4e91d /unmaintained/cegui06/cegui-0.6.0-userverso.patch | |
| parent | 95bec3a6c6edc6fafa1c6ad50a1ba4b7e2a40512 (diff) | |
| download | aports-78a9d638d9b51733efca6ca8257521f7f454d08a.tar.bz2 aports-78a9d638d9b51733efca6ca8257521f7f454d08a.tar.xz | |
unmaintained/cegui06: move from main
no app needs this version
Diffstat (limited to 'unmaintained/cegui06/cegui-0.6.0-userverso.patch')
| -rw-r--r-- | unmaintained/cegui06/cegui-0.6.0-userverso.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/unmaintained/cegui06/cegui-0.6.0-userverso.patch b/unmaintained/cegui06/cegui-0.6.0-userverso.patch new file mode 100644 index 0000000000..ea5a99cbed --- /dev/null +++ b/unmaintained/cegui06/cegui-0.6.0-userverso.patch @@ -0,0 +1,21 @@ +--- CEGUI-0.6.0/src/CEGUIDynamicModule.cpp~ 2008-05-21 22:11:55.000000000 +0200 ++++ CEGUI-0.6.0/src/CEGUIDynamicModule.cpp 2008-05-21 22:11:55.000000000 +0200 +@@ -65,6 +65,18 @@ DynamicModule::DynamicModule(const Strin + } // if(name.empty()) + + #if defined(__linux__) ++ // check if we are being asked to open a CEGUI .so, if so postfix the name ++ // with our package version ++ if (d_moduleName.substr(0, 5) == "CEGUI" || ++ d_moduleName.substr(0, 8) == "libCEGUI") ++ { ++ // strip .so extension before postfixing, will get added again below ++ if (d_moduleName.substr(d_moduleName.length() - 3, 3) == ".so") ++ d_moduleName = d_moduleName.substr(0, d_moduleName.length() - 3); ++ d_moduleName += "-"; ++ d_moduleName += PACKAGE_VERSION; ++ } ++ + // dlopen() does not add .so to the filename, like windows does for .dll + if (d_moduleName.substr(d_moduleName.length() - 3, 3) != ".so") + d_moduleName += ".so"; |
