Subject: pkg/7688: Update for xkeycaps to 2.44
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 06/01/1999 18:23:10
>Number:         7688
>Category:       pkg
>Synopsis:       Update for xkeycaps to 2.44
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun  1 18:20:02 1999
>Last-Modified:
>Originator:     Frederick Bruckman
>Organization:

>Release:        pkgsrc supped May 31, 1999
>Environment:
	
System: NetBSD corwin.home 1.4 NetBSD 1.4 (CORWIN) #3:
Thu May 20 23:43:36 CDT 1999 fredb@corwin.home:
/usr/src/sys/arch/mac68k/compile/CORWIN mac68k


>Description:
	
	Here's an update for xkeycaps. Both xkeycaps-2.38 and
	xkeycaps-2.44 segfault when compiled with -O2 on
	mac68k-1.4, no problem on i386-1.4. I have no way of knowing
	what other ports are affected. The new Makefile addresses that.
>How-To-Repeat:
	
>Fix:
	
--- x11/xkeycaps/Makefile.orig	Fri Aug 21 06:22:50 1998
+++ x11/xkeycaps/Makefile	Tue Jun  1 19:50:55 1999
@@ -2,13 +2,20 @@
 #
 
-DISTNAME=	xkeycaps-2.38
+DISTNAME=	xkeycaps-2.44
 CATEGORIES=	x11
-MASTER_SITES=	http://people.netscape.com/jwz/xkeycaps/
+MASTER_SITES=	http://www.jwz.org/xkeycaps/
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	packages@netbsd.org
 HOMEPAGE=	http://www.jwz.org/xkeycaps/
 
 USE_IMAKE=      yes
+
+pre-configure:
+.if (${MACHINE} == "mac68k")
+	@(cd ${WRKSRC}; mv Imakefile Imakefile.old; \
+	echo CDEBUGFLAGS=	-O >Imakefile; \
+	cat Imakefile.old >>Imakefile)
+.endif
 
 .include "../../mk/bsd.pkg.mk"
--- x11/xkeycaps/files/md5.orig	Sat Aug  8 06:38:11 1998
+++ x11/xkeycaps/files/md5	Sun May 23 12:59:07 1999
@@ -2,2 +2,2 @@
 
-MD5 (xkeycaps-2.38.tar.Z) = cac903c4315696173cbe640840e56f81
+MD5 (xkeycaps-2.44.tar.Z) = 20d48b9d50fc19ff513f6615c9cb006a

>Audit-Trail:
>Unformatted: