NetBSD Problem Report #10454

Received: (qmail 11620 invoked from network); 26 Jun 2000 20:01:53 -0000
Message-Id: <E136exR-0001cb-00@jellycat.office.ivision.co.uk>
Date: Mon, 26 Jun 2000 20:54:13 +0100
From: jasper@pointless.net
Sender: "Jasper Wallace,,," <jasper@jellycat.office.ivision.co.uk>
Reply-To: jasper@pointless.net
To: gnats-bugs@gnats.netbsd.org
Subject: gnumeric's plugins don't. (patch included)
X-Send-Pr-Version: 3.95

>Number:         10454
>Category:       pkg
>Synopsis:       The gnumeric spreadsheet's plugins don't work when compiled from pkgsrc.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 26 20:02:01 +0000 2000
>Closed-Date:    Mon Jun 26 21:58:51 +0000 2000
>Last-Modified:  Mon Jun 26 21:58:51 +0000 2000
>Originator:     Jasper Wallace
>Release:        
>Organization:
-- 
http://pointless.net/     : Another Great waste of bandwidth!
http://advogato.com/      : nothing to do with me, but worth a look.
http://www.ivision.co.uk/ : I pretend to work for these people.
2ECA0975     ::     45 52 65 E9 33 C7 72 4B  96 F4 44 2D 79 27 BF 08
>Environment:
	grep \$NetBSD Makefile patches/*                 [8:32PM]
Makefile:# $NetBSD: Makefile,v 1.19 2000/06/01 12:07:58 rh Exp $
patches/patch-aa:$NetBSD: patch-aa,v 1.7 2000/05/30 09:16:10 rh Exp $
patches/patch-ab:$NetBSD: patch-ab,v 1.3 2000/06/01 12:08:00 rh Exp $

System: NetBSD jellycat 1.4ZD NetBSD 1.4ZD (JELLYCAT.pnpbios) #2: Tue Jun 20 18:31:08 BST 2000 jasper@jellycat:/usr/src/sys/arch/i386/compile/JELLYCAT.pnpbios i386


>Description:
	gnumeric thinks it's plugins are installed with names that match
gnum_*.so, but pkgsrc installs them as libgnum_*.so .
>How-To-Repeat:
	cd /usr/pkgsrc/math/gnumeric && make install
	run gnumeric, click on 'Tools', then on 'Plug-ins...', and notice
	the lack of plugins...
>Fix:


--- gnumeric-0.54/src/plugin.c.prejgw	Fri Apr 28 04:08:50 2000
+++ gnumeric-0.54/src/plugin.c	Mon Jun 26 19:57:45 2000
@@ -210,7 +210,7 @@
 		 * gnum_*.so
 		 */
 		if (len > 8 &&
-		    strncmp (e->d_name, "gnum_", 3) == 0 &&
+		    strncmp (e->d_name, "libgnum_", 3) == 0 &&
 		    strncmp (e->d_name + len - 3, ".so", 3) == 0){
 			char *plugin_name;




>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rh 
State-Changed-When: Mon Jun 26 14:57:56 PDT 2000 
State-Changed-Why:  
I committed gnumeric-0.56 today, along with your patch.  Thanks! 
>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.