A little patch is needed for this program to work with the new xmame.
Responsible Changed From-To: freebsd-ports-bugs->edwin mine
On Wed, 1 Sep 2004 18:31:28 +0200 "Miguel Mendez" <flynn@energyhq.es.eu.org> wrote: Actually, use this patch instead, since the -{no,}xil option seems to be gone in 0.86... ------------------------------------------ diff -ruN gxmame.old/Makefile gxmame/Makefile --- gxmame.old/Makefile Mon Apr 5 05:30:17 2004 +++ gxmame/Makefile Sat Sep 11 19:19:27 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 Sat Sep 11 19:19:27 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); diff -ruN gxmame.old/files/patch-src::options.c gxmame/files/patch-src::options.c --- gxmame.old/files/patch-src::options.c Thu Jan 1 01:00:00 1970 +++ gxmame/files/patch-src::options.c Sat Sep 11 19:44:37 2004 @@ -0,0 +1,38 @@ +--- src/options.c.old Sat Sep 11 19:42:14 2004 ++++ src/options.c Sat Sep 11 19:44:19 2004 +@@ -7298,8 +7298,6 @@ + "%s " /* newext */ + "-%sxsync " + "-%sprivatecmap " +- "-%sxil " +- "-%smtxil " + "%s ", /* Video mode */ + x11mode, + (target->cursor)?"":"no", +@@ -7308,8 +7306,6 @@ + newext?newext:"", + (target->xsync)?"":"no", + (target->privatecmap)?"":"no", +- (target->xil)?"":"no", +- (target->mtxil)?"":"no", + Video_Mode_option?Video_Mode_option:"" + ); + } +@@ -7323,8 +7319,6 @@ + "%s " /* newext */ + "-%sxsync " + "-%sprivatecmap " +- "-%sxil " +- "-%smtxil " + "%s ", /* Video mode */ + target->x11_mode, + (target->cursor)?"":"no", +@@ -7334,8 +7328,6 @@ + newext?newext:"", + (target->xsync)?"":"no", + (target->privatecmap)?"":"no", +- (target->xil)?"":"no", +- (target->mtxil)?"":"no", + Video_Mode_option?Video_Mode_option:"" + ); + } -------------------------- Cheers, -- Miguel Mendez <flynn@energyhq.es.eu.org> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 Note: All HTML and non-english mail goes to /dev/null
State Changed From-To: open->closed Commited, thanks!