Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 18:33:16 +0200
From:      "Miguel Mendez" <flynn@energyhq.es.eu.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/73045: Add patch to emulators/gxmame to disable broken xil options in xmame
Message-ID:  <1098549196.0@scienide.energyhq.es.eu.org>
Resent-Message-ID: <200410231640.i9NGeOLf041129@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73045
>Category:       ports
>Synopsis:       Add patch to emulators/gxmame to disable broken xil options in xmame
>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:   Sat Oct 23 16:40:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 5.3-RC1 i386
>Organization:
>Environment:


System: FreeBSD 5.3-RC1 #0: Fri Oct 22 21:27:38 CEST 2004
    root@scienide.energyhq.es.eu.org:/usr/src/sys/i386/compile/SCIENIDE



>Description:


I thought I had submitted this one. gxmame still passes the {no,}xil options to xmame, but
those options don't work with the current version.



>How-To-Repeat:





>Fix:


--- gxmame.diff begins here ---
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 Oct 23 18:19:49 2004
@@ -0,0 +1,38 @@
+--- src/options.c.orig	Sat Oct 23 18:16:28 2004
++++ src/options.c	Sat Oct 23 18:17:37 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:""
+ 						);
+ 		}
--- gxmame.diff ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1098549196.0>