ports/71255: emulators/gxmame. Add extra patch to enable compat with new xmame 0.86

Miguel Mendez flynn at energyhq.es.eu.org
Wed Sep 1 16:40:21 UTC 2004


>Number:         71255
>Category:       ports
>Synopsis:       emulators/gxmame. Add extra patch to enable compat with new xmame 0.86
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 16:40:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 5.3-BETA2 i386
>Organization:
>Environment:


System: FreeBSD 5.3-BETA2 #0: Sat Aug 28 22:02:36 CEST 2004
    root at scienide.energyhq.es.eu.org:/usr/obj/usr/src/sys/SCIENIDE



>Description:


A little patch is needed for this program to work with the new xmame.


>How-To-Repeat:





>Fix:


--- gxmame.diff begins here ---
diff -ruN gxmame.old/Makefile gxmame/Makefile
--- gxmame.old/Makefile	Mon Apr  5 05:30:17 2004
+++ gxmame/Makefile	Wed Sep  1 18:18:36 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	gxmame
 PORTVERSION=	0.34b
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -ruN gxmame.old/files/patch-src::mameio.c gxmame/files/patch-src::mameio.c
--- gxmame.old/files/patch-src::mameio.c	Thu Jan  1 01:00:00 1970
+++ gxmame/files/patch-src::mameio.c	Wed Sep  1 18:15:14 2004
@@ -0,0 +1,11 @@
+--- src/mameio.c.orig	Wed Nov 26 10:38:21 2003
++++ src/mameio.c	Wed Sep  1 18:14:39 2004
+@@ -217,7 +217,7 @@
+ 		
+ 	/* Generate the list */
+ 	/* without including neither history nor mameinfo to have less to parse after*/
+-	opt=g_strdup_printf("%s -listinfo -%s /dev/null -%s /dev/null 2>/dev/null",
++	opt=g_strdup_printf("%s -listxml -%s /dev/null -%s /dev/null | xml2info 2>/dev/null",
+ 			current_exec->path,
+ 			available_options->mameinfo_file_option,
+ 			available_options->history_file_option);
--- gxmame.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list