NetBSD Problem Report #21890

Received: (qmail 17441 invoked by uid 605); 15 Jun 2003 09:01:54 -0000
Message-Id: <20030615090149.C0E1711152@narn.netbsd.org>
Date: Sun, 15 Jun 2003 09:01:49 +0000 (UTC)
From: Kai.Puolamaki@iki.fi
Sender: gnats-bugs-owner@netbsd.org
Reply-To: Kai.Puolamaki@iki.fi
To: gnats-bugs@gnats.netbsd.org
Subject: graphics/ogle[_gui] needs some tweaking to work
X-Send-Pr-Version: www-1.0

>Number:         21890
>Category:       pkg
>Synopsis:       graphics/ogle[_gui] needs some tweaking to work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 15 09:02:01 +0000 2003
>Closed-Date:    Mon Mar 29 23:33:43 +0000 2004
>Last-Modified:  Mon Mar 29 23:33:43 +0000 2004
>Originator:     Kai Puolamaki
>Release:        NetBSD 1.6.1
>Organization:
Helsinki University of Technology
>Environment:
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

>Description:
I made instructions on how to install Ogle to NetBSD:
http://www.iki.fi/kaip/netbsd.html#DVD

For Ogle to work in NetBSD the kernel parameters must be modified as
in OpenBSD, see:
http://www.dtek.chalmers.se/groups/dvd/openbsd_install.shtml

graphics/ogle_gui does not work in NetBSD 1.6.1 because the
implementation of dlerror() is broken, see:
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=19024
dlerror() is fixed in netbsd-current, but not in netbsd-1-6.

>How-To-Repeat:

>Fix:
1. Add a post-install message to graphics/ogle that says that you
   must modify the kernel parameters as adviced in:
   http://www.dtek.chalmers.se/groups/dvd/openbsd_install.shtml


2. Add the attached patch to graphics/ogle_gui.


$NetBSD$

--- 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);
 #endif

+#if defined(__NetBSD__)
+ error = dlerror();
+#endif
+
   fun = dlsym(handle, new_symbol);
   error = dlerror();
   if(error != NULL) {

>Release-Note:
>Audit-Trail:

From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/21890 CVS commit: pkgsrc/multimedia/ogle_gui
Date: Mon, 29 Mar 2004 23:31:30 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Mon Mar 29 23:31:30 UTC 2004

 Modified Files:
 	pkgsrc/multimedia/ogle_gui: Makefile distinfo
 Added Files:
 	pkgsrc/multimedia/ogle_gui/patches: patch-ab

 Log Message:
 Add patch that works around PR 19024 for the 1.6 branch; also closes
 PR 21890 by Kai Puolamaki.
 Bump PKGREVISION to 3.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/multimedia/ogle_gui/Makefile
 cvs rdiff -r1.1 -r1.2 pkgsrc/multimedia/ogle_gui/distinfo
 cvs rdiff -r0 -r1.1 pkgsrc/multimedia/ogle_gui/patches/patch-ab

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Mon Mar 29 23:32:29 UTC 2004 
State-Changed-Why:  
The ogle_gui package already contains a message about what kernel 
parameters one needs (only one of the three you mention seem to be needed 
for a GENERIC kernel). 

I also added a form of the patch you suggested to the package. 

Thanks for the PR! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.