Subject: pkg/14326: [PATCH] librep update consistently segfaults Sawfish
To: None <gnats-bugs@gnats.netbsd.org>
From: None <epg@pretzelnet.org>
List: netbsd-bugs
Date: 10/22/2001 18:31:19
>Number:         14326
>Category:       pkg
>Synopsis:       [PATCH] librep update consistently segfaults Sawfish
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 22 16:28:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Eric Gillespie Jr.
>Release:        NetBSD 1.5.1
>Organization:
>Environment:
System: NetBSD trantor.pretzelnet.org 1.5.2 NetBSD 1.5.2 (TRANTOR) #1: Thu Oct 18 02:15:08 EST 2001 epg@trantor.pretzelnet.org:/u/src/sys/arch/i386/compile/TRANTOR i386


>Description:
The latest update to lang/librep (0.15) introduced random number support
via GNU MP.  Unfortunately, that code appears buggy and a new librep
(0.15.1) has been released with the sole change of disabling GMP random
numbers.
>How-To-Repeat:
Run Sawfish and pop up some new windows, say from Mozilla or XEmacs.
>Fix:
Apply the following patch:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/librep/Makefile,v
retrieving revision 1.17
diff -a -u -r1.17 Makefile
--- Makefile	2001/10/22 02:23:53	1.17
+++ Makefile	2001/10/22 23:22:14
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=		librep-${REP_VERS}
-REP_VERS=		0.15
+REP_VERS=		0.15.1
 CATEGORIES=		lang devel
 MASTER_SITES=		http://prdownloads.sourceforge.net/librep/
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/librep/distinfo,v
retrieving revision 1.4
diff -a -u -r1.4 distinfo
--- distinfo	2001/10/22 02:23:53	1.4
+++ distinfo	2001/10/22 23:22:14
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.4 2001/10/22 02:23:53 mycroft Exp $
 
-SHA1 (librep-0.15.tar.gz) = da20efbc010380bc51010d19ed6832a7bad027fb
-Size (librep-0.15.tar.gz) = 895277 bytes
+SHA1 (librep-0.15.1.tar.gz) = 1f0a785d49b0b43149951e7ab27f31d9c8415f6c
+Size (librep-0.15.1.tar.gz) = 895480 bytes
 SHA1 (patch-ac) = 562f8a25b2da564fa4372101bfa1199b0c755ee3
Index: pkg/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/librep/pkg/PLIST,v
retrieving revision 1.9
diff -a -u -r1.9 PLIST
--- PLIST	2001/10/22 02:23:54	1.9
+++ PLIST	2001/10/22 23:22:14
@@ -24,7 +24,7 @@
 lib/librep.la
 lib/librep.so
 lib/librep.so.11
-lib/librep.so.11.0
+lib/librep.so.11.1
 libexec/rep/${MACHINE_GNU_PLATFORM}/install-aliases
 libexec/rep/${MACHINE_GNU_PLATFORM}/libtool
 libexec/rep/${MACHINE_GNU_PLATFORM}/rep_config.h
>Release-Note:
>Audit-Trail:
>Unformatted: