Subject: pkg/21890: graphics/ogle[_gui] needs some tweaking to work
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/15/2003 09:01:49
>Number:         21890
>Category:       pkg
>Synopsis:       graphics/ogle[_gui] needs some tweaking to work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 15 09:02:01 UTC 2003
>Originator:     Kai Puolamaki
>Release:        NetBSD 1.6.1
Helsinki University of Technology
NetBSD winnie.localdomain 1.6.1 NetBSD 1.6.1 (WINNIE) #0: Tue Apr 29 20:21:43 EEST 2003     root@winnie.localdomain:/usr/src/sys/arch/i386/compile/WINNIE i386

I made instructions on how to install Ogle to NetBSD:

For Ogle to work in NetBSD the kernel parameters must be modified as
in OpenBSD, see:

graphics/ogle_gui does not work in NetBSD 1.6.1 because the
implementation of dlerror() is broken, see:
dlerror() is fixed in netbsd-current, but not in netbsd-1-6.


1. Add a post-install message to graphics/ogle that says that you
   must modify the kernel parameters as adviced in:

2. Add the attached patch to graphics/ogle_gui.


--- src/my_glade.c.orig	Sat Jun 14 15:15:24 2003
+++ src/my_glade.c
@@ -37,6 +37,10 @@ static void *my_dlsym(void *handle, char
   new_symbol = g_strdup(symbol);
+#if defined(__NetBSD__)
+ error = dlerror();
   fun = dlsym(handle, new_symbol);
   error = dlerror();
   if(error != NULL) {