![]() ![]() | ![]() |
File: [local] / ports / graphics / simgear / patches / Attic / patch-simgear_screen_extensions_cxx (download)
Revision 1.1, Sun Oct 4 08:35:11 2009 UTC (14 years, 10 months ago) by yason
oops |
$OpenBSD$ --- simgear/screen/extensions.cxx.orig Mon Sep 21 17:13:58 2009 +++ simgear/screen/extensions.cxx Mon Sep 21 17:14:38 2009 @@ -119,7 +119,7 @@ void *SGGetGLProcAddress(const char *func) { if (libHandle != NULL) { fptr = dlsym(libHandle, func); -#if defined (__FreeBSD__) +#if defined (__FreeBSD__) || (__OpenBSD__) const char *error = dlerror(); #else char *error = dlerror();