ports/153645: Update ports: emulators/mame update to v0.141

Emmanuel Vadot manu at megadrive.org
Mon Jan 3 14:40:06 UTC 2011


On Mon, 3 Jan 2011 11:40:59 GMT, arved at FreeBSD.org wrote:
> Synopsis: Update ports: emulators/mame update to v0.141
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: arved
> State-Changed-When: Mon Jan 3 11:40:31 UTC 2011
> State-Changed-Why: 
> The sdl.mak.patch does not apply here:
> 
> ===>  Applying extra patch /usr/home/arved/ports/mame/files/sdl.mak.patch
> 3 out of 3 hunks failed--saving rejects to src/osd/sdl/sdl.mak.rej
> 
> 
> Can you investigate?
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=153645

 Stupid CRLF in patch files who are removed by diff ...

 New patch, using the USE_DOS2UNIX (like before, don't know why I've
removed it).

-- 
Emmanuel Vadot
elbarto at MegaDrive.Org
-------------- next part --------------
diff -uNr /usr/ports/emulators/mame/Makefile mame/Makefile
--- /usr/ports/emulators/mame/Makefile	2010-08-23 13:29:49.000000000 +0200
+++ mame/Makefile	2011-01-03 15:21:48.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mame
-PORTVERSION=	0.139
+PORTVERSION=	0.141
 CATEGORIES=	emulators
 MASTER_SITES=	http://www.aarongiles.com/mirror/releases/ \
 		ftp://ftp.arcadebsd.org/pub/ArcadeBSD/ports/distfiles/
@@ -27,7 +27,7 @@
 MAKEFILE=	makefile
 ONLY_FOR_ARCHS=	i386 amd64
 SUB_FILES=	pkg-message
-USE_DOS2UNIX=	makefile sdl.mak debugcpu.c
+USE_DOS2UNIX=	makefile sdl.mak
 
 OPTIONS=	DEBUG "Build mame debugger" off
 
diff -uNr /usr/ports/emulators/mame/distinfo mame/distinfo
--- /usr/ports/emulators/mame/distinfo	2010-08-23 13:29:49.000000000 +0200
+++ mame/distinfo	2011-01-03 15:21:33.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (mame0139s.zip) = e9f81e86b786e0131eb6fb59e6bfe189
-SHA256 (mame0139s.zip) = e9dc268530b9a2b6fe17330af96dc5680dadba1b5e444bf7ef8fa1f15de7f3d6
-SIZE (mame0139s.zip) = 16706970
+SHA256 (mame0141s.zip) = 27c8829c55041886edafaa459b83452b0a327df31ce922c0b6a2ee91877504f8
+SIZE (mame0141s.zip) = 17092788
diff -uNr /usr/ports/emulators/mame/files/mame.ini mame/files/mame.ini
--- /usr/ports/emulators/mame/files/mame.ini	2010-08-23 13:29:49.000000000 +0200
+++ mame/files/mame.ini	2011-01-03 15:21:33.000000000 +0100
@@ -10,6 +10,7 @@
 # CORE SEARCH PATH OPTIONS
 #
 rompath                   $HOME/.mame/roms
+hashpath                  $HOME/.mame/hash
 samplepath                $HOME/.mame/samples
 artpath                   $HOME/.mame/artwork
 ctrlrpath                 $HOME/.mame/ctrlr
@@ -82,6 +83,7 @@
 contrast                  1.0
 gamma                     1.0
 pause_brightness          0.65
+effect                    none
 
 #
 # CORE VECTOR OPTIONS
@@ -144,6 +146,7 @@
 bios                      
 cheat                     0
 skip_gameinfo             0
+uifont                    default
 
 #
 # DEBUGGING OPTIONS
@@ -160,13 +163,12 @@
 #
 # VIDEO OPTIONS
 #
-video                     soft
+video                     opengl
 numscreens                1
-window                    0
-maximize                  1
+window                    1
+maximize                  0
 keepaspect                1
 unevenstretch             1
-effect                    none
 centerh                   1
 centerv                   1
 waitvsync                 0
diff -uNr /usr/ports/emulators/mame/files/patch-debugcpu.c mame/files/patch-debugcpu.c
--- /usr/ports/emulators/mame/files/patch-debugcpu.c	2010-08-01 19:22:55.000000000 +0200
+++ mame/files/patch-debugcpu.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- src/emu/debug/debugcpu.c.orig	2010-07-30 10:55:52.000000000 +0200
-+++ src/emu/debug/debugcpu.c	2010-07-30 10:56:13.000000000 +0200
-@@ -49,7 +49,9 @@
- #include "debugint/debugint.h"
- #include "uiinput.h"
- #include <ctype.h>
--
-+#ifdef __FreeBSD__
-+#undef tolower
-+#endif
- 
- 
- /***************************************************************************
diff -uNr /usr/ports/emulators/mame/files/patch-makefile mame/files/patch-makefile
--- /usr/ports/emulators/mame/files/patch-makefile	2010-08-23 13:29:49.000000000 +0200
+++ mame/files/patch-makefile	2011-01-03 15:21:33.000000000 +0100
@@ -1,5 +1,5 @@
---- makefile.orig	2010-07-30 10:42:41.000000000 +0200
-+++ makefile	2010-07-30 10:43:26.000000000 +0200
+--- makefile.orig	2010-09-28 00:33:10.000000000 +0200
++++ makefile	2010-11-23 02:47:43.000000000 +0100
 @@ -295,8 +295,8 @@
  
  # compiler, linker and utilities
diff -uNr /usr/ports/emulators/mame/files/sdl.mak.patch mame/files/sdl.mak.patch
--- /usr/ports/emulators/mame/files/sdl.mak.patch	2010-08-23 13:29:49.000000000 +0200
+++ mame/files/sdl.mak.patch	2011-01-03 15:21:33.000000000 +0100
@@ -1,24 +1,15 @@
---- src/osd/sdl/sdl.mak.orig	2010-02-14 04:47:30.000000000 +0100
-+++ src/osd/sdl/sdl.mak	2010-07-30 12:05:33.000000000 +0200
+--- src/osd/sdl/sdl.mak.orig	2011-01-03 01:31:41.000000000 +0100
++++ src/osd/sdl/sdl.mak	2011-01-03 01:32:40.000000000 +0100
 @@ -139,7 +139,7 @@
  ifeq ($(TARGETOS),freebsd)
  BASE_TARGETOS = unix
  SYNC_IMPLEMENTATION = tc
 -DEFS += -DNO_AFFINITY_NP
 +DEFS += -DNO_AFFINITY_NP -DNO_DEBUGGER
+ LIBS += -lutil
  # /usr/local/include is not considered a system include directory
  # on FreeBSD. GL.h resides there and throws warnings
- CCOMFLAGS += -isystem /usr/local/include
-@@ -205,7 +205,7 @@
- ifndef GTK_INSTALL_ROOT
- NO_DEBUGGER = 1
- else
--DEBUGOBJS = $(SDLOBJ)/debugwin.o $(SDLOBJ)/dview.o $(SDLOBJ)/debug-sup.o $(SDLOBJ)/debug-intf.o
-+DEBUGOBJS = $(SDLOBJ)/debugwin.o
- LIBS += -lgtk-win32-2.0 -lgdk-win32-2.0 -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 \
- 	-lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0
- CCOMFLAGS += -mms-bitfields \
-@@ -304,7 +304,7 @@
+@@ -314,7 +314,7 @@
  ifeq ($(BASE_TARGETOS),unix)
  
  DEFS += -DSDLMAME_UNIX
@@ -27,13 +18,15 @@
  LIBGL = -lGL
  ifeq ($(NO_X11),1)
  NO_DEBUGGER = 1
-@@ -454,8 +454,8 @@
+@@ -481,9 +481,9 @@
  
  # the new debugger relies on GTK+ in addition to the base SDLMAME needs
  # Non-X11 builds can not use the debugger
--CCOMFLAGS += `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gconf-2.0`
+-INCPATH += `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0`
+-CCOMFLAGS += `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0`
 -LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0`
-+#CCOMFLAGS += `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gconf-2.0`
++#INCPATH += `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0`
++#CCOMFLAGS += `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0`
 +#LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0`
  #CCOMFLAGS += -DGTK_DISABLE_DEPRECATED
  


More information about the freebsd-ports-bugs mailing list