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

Annotation of ports/graphics/simgear/patches/patch-simgear_screen_extensions_cxx, Revision 1.1

1.1     ! yason       1: $OpenBSD$
        !             2: --- simgear/screen/extensions.cxx.orig Mon Sep 21 17:13:58 2009
        !             3: +++ simgear/screen/extensions.cxx      Mon Sep 21 17:14:38 2009
        !             4: @@ -119,7 +119,7 @@ void *SGGetGLProcAddress(const char *func) {
        !             5:      if (libHandle != NULL) {
        !             6:          fptr = dlsym(libHandle, func);
        !             7:
        !             8: -#if defined (__FreeBSD__)
        !             9: +#if defined (__FreeBSD__) || (__OpenBSD__)
        !            10:          const char *error = dlerror();
        !            11:  #else
        !            12:          char *error = dlerror();

CVSweb