pkgsrc/games/simgear/patches/patch-af
adam f3a79729be Changes 2.0.0:
* No changelog available.
2010-08-27 06:11:50 +00:00

16 lines
498 B
Text

$NetBSD: patch-af,v 1.2 2010/08/27 06:11:50 adam Exp $
--- simgear/screen/extensions.cxx.orig 2010-02-17 15:39:22.000000000 +0000
+++ simgear/screen/extensions.cxx
@@ -145,11 +145,7 @@ void *SGGetGLProcAddress(const char *fun
} else if (libHandle != NULL) {
fptr = dlsym(libHandle, func);
-#if defined (__FreeBSD__)
const char *error = dlerror();
-#else
- char *error = dlerror();
-#endif
if (error)
SG_LOG(SG_GENERAL, SG_INFO, error);
}