aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-10-12 06:38:54 +0800
committeredwin <edwin@FreeBSD.org>2004-10-12 06:38:54 +0800
commit9f85dc89e93cdb1523f8649872c3b8730f238dcc (patch)
tree9a02ac19563070413f9b2d3752ead82fb5470028 /emulators
parent3001946ac731b4a2e7df21e48fa1dd28aef5b9f0 (diff)
downloadfreebsd-ports-gnome-9f85dc89e93cdb1523f8649872c3b8730f238dcc.tar.gz
freebsd-ports-gnome-9f85dc89e93cdb1523f8649872c3b8730f238dcc.tar.zst
freebsd-ports-gnome-9f85dc89e93cdb1523f8649872c3b8730f238dcc.zip
emulators/gxmame. Add extra patch to enable compat with new xmame 0.86
A little patch is needed for this program to work with the new xmame. PR: ports/71255 Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org>
Diffstat (limited to 'emulators')
-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);