[BACK]Return to patch-cegui_src_CEGUIDynamicModule_cpp CVS log [TXT][DIR] Up to [local] / ports / graphics / cegui / patches

Annotation of ports/graphics/cegui/patches/patch-cegui_src_CEGUIDynamicModule_cpp, Revision 1.1

1.1     ! yason       1: $OpenBSD$
        !             2: --- cegui/src/CEGUIDynamicModule.cpp.orig      Mon Sep  6 18:29:11 2010
        !             3: +++ cegui/src/CEGUIDynamicModule.cpp   Mon Sep  6 18:30:09 2010
        !             4: @@ -46,7 +46,7 @@
        !             5:  #   include "macPlugins.h"
        !             6:  #endif
        !             7:
        !             8: -#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
        !             9: +#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
        !            10:  #   include "dlfcn.h"
        !            11:  #endif
        !            12:
        !            13: @@ -64,7 +64,7 @@ DynamicModule::DynamicModule(const String& name) :
        !            14:                return;
        !            15:        } // if(name.empty())
        !            16:
        !            17: -#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
        !            18: +#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
        !            19:      #if defined(CEGUI_HAS_VERSION_SUFFIX) || defined(CEGUI_HAS_BUILD_SUFFIX)
        !            20:          // check if we are being asked to open a CEGUI .so, if so postfix the
        !            21:          // name with our package version
        !            22: @@ -109,7 +109,7 @@ DynamicModule::DynamicModule(const String& name) :
        !            23:
        !            24:      d_handle = DYNLIB_LOAD(d_moduleName.c_str());
        !            25:
        !            26: -#if defined(__linux__) || defined(__MINGW32__) || defined(__FreeBSD__) || defined(__NetBSD__)
        !            27: +#if defined(__linux__) || defined(__MINGW32__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
        !            28:      if (!d_handle)
        !            29:      {
        !            30:          // see if we need to add the leading 'lib'
        !            31: @@ -150,7 +150,7 @@ void* DynamicModule::getSymbolAddress(const String& sy
        !            32:  String DynamicModule::getFailureString() const
        !            33:  {
        !            34:      String retMsg;
        !            35: -#if defined(__linux__) || defined (__APPLE_CC__) || defined(__FreeBSD__) || defined(__NetBSD__)
        !            36: +#if defined(__linux__) || defined (__APPLE_CC__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
        !            37:      retMsg = DYNLIB_ERROR();
        !            38:  #elif defined(__WIN32__) || defined(_WIN32)
        !            39:      LPVOID msgBuffer;

CVSweb