90241b183d
PR 21890 by Kai Puolamaki. Bump PKGREVISION to 3.
15 lines
426 B
Text
15 lines
426 B
Text
$NetBSD: patch-ab,v 1.1 2004/03/29 23:31:30 wiz Exp $
|
|
|
|
--- src/my_glade.c.orig Wed Nov 5 20:06:51 2003
|
|
+++ src/my_glade.c
|
|
@@ -38,6 +38,10 @@ static void *my_dlsym(void *handle, char
|
|
new_symbol = g_strdup(symbol);
|
|
#endif
|
|
|
|
+#ifdef __NetBSD__
|
|
+ /* clear error -- workaround for PR 19024 on 1.6.x and earlier */
|
|
+ error = dlerror();
|
|
+#endif
|
|
fun = dlsym(handle, new_symbol);
|
|
error = dlerror();
|
|
if(error != NULL) {
|