Subject: pkg/27101: emulators/xmame needs to install xml2info
To: gnats bugs <gnats-bugs@gnats.netbsd.org>
From: Miguel Mendez <flynn@energyhq.es.eu.org>
List: pkgsrc-bugs
Date: 10/01/2004 11:20:26
>Number:         27101
>Category:       pkg
>Synopsis:       emulators/xmame needs to install xml2info
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 01 11:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        NetBSD 2.0_RC1 i386
>Organization:
100% des free 
>Environment:


System: NetBSD 2.0_RC1 (GENERIC.MP) #0: Mon Sep 27 12:08:14 UTC 2004
	autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC.MP



>Description:


As explained in pkg/27090, gxmame needs a couple of patches
to work with newer xmame versions, one of them involves piping
xmame's output via xml2info, part of xmame. This patch installs
such program and enables gxmame to work again.

I didn't bump revision, I'll just let the maintainer decide whether it's
needed or not.



>How-To-Repeat:





>Fix:


--- xmame.diff begins here ---
diff -ruN xmame.old/Makefile xmame/Makefile
--- xmame.old/Makefile	2004-09-05 20:40:26.000000000 +0000
+++ xmame/Makefile	2004-09-30 19:52:44.000000000 +0000
@@ -112,6 +112,7 @@
 		${PREFIX}/bin/${TARGET}
 	${INSTALL_PROGRAM} ${WRKSRC}/romcmp ${PREFIX}/bin/romcmp
 	${INSTALL_PROGRAM} ${WRKSRC}/chdman ${PREFIX}/bin/chdman
+	${INSTALL_PROGRAM} ${WRKSRC}/xml2info ${PREFIX}/bin/xml2info
 	${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6			\
 		${PREFIX}/man/man6/${TARGET}.6
 	${INSTALL_DATA_DIR} ${ROMPATH}
diff -ruN xmame.old/PLIST xmame/PLIST
--- xmame.old/PLIST	2004-05-16 00:27:30.000000000 +0000
+++ xmame/PLIST	2004-09-30 20:12:45.000000000 +0000
@@ -2,6 +2,7 @@
 bin/chdman
 bin/romcmp
 bin/xmame
+bin/xml2info
 man/man6/xmame.6
 share/doc/html/xmame/xmame-doc-2.html
 share/doc/html/xmame/xmame-doc-3.html
--- xmame.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted: