summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/gxmame/Makefile2
-rw-r--r--emulators/gxmame/files/patch-src::mameio.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/emulators/gxmame/Makefile b/emulators/gxmame/Makefile
index f095eb154337..efd15992f814 100644
--- a/emulators/gxmame/Makefile
+++ b/emulators/gxmame/Makefile
@@ -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 --git a/emulators/gxmame/files/patch-src::mameio.c b/emulators/gxmame/files/patch-src::mameio.c
new file mode 100644
index 000000000000..cae61e507d99
--- /dev/null
+++ b/emulators/gxmame/files/patch-src::mameio.c
@@ -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);