ports/73045: Add patch to emulators/gxmame to disable broken xil options in xmame
Miguel Mendez
flynn at energyhq.es.eu.org
Sat Oct 23 16:40:24 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list