1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Update to 0.139

PR:		ports/149105
Submitted by:	Emmanuel Vadot (maintainer)
This commit is contained in:
Max Brazhnikov 2010-08-01 17:22:55 +00:00
parent 7b50a91ba0
commit 95b3903d4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258590
6 changed files with 36 additions and 13 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mame
PORTVERSION= 0.138
PORTVERSION= 0.139
CATEGORIES= emulators
MASTER_SITES= http://www.aarongiles.com/mirror/releases/ \
ftp://ftp.arcadebsd.org/pub/ArcadeBSD/ports/distfiles/
@ -27,7 +27,7 @@ USE_GCC= 4.2+
MAKEFILE= makefile
ONLY_FOR_ARCHS= i386 amd64
SUB_FILES= pkg-message
USE_DOS2UNIX= makefile sdl.mak
USE_DOS2UNIX= makefile sdl.mak debugcpu.c
OPTIONS= DEBUG "Build mame debugger" off

View File

@ -1,3 +1,3 @@
MD5 (mame0138s.zip) = c0932c5456af79ad83ab0a2dd2219b2e
SHA256 (mame0138s.zip) = a80ee0b6d7c20743e35274d39129f313fb8756cfcb995c1cf95d5a81bdfabc2d
SIZE (mame0138s.zip) = 16446378
MD5 (mame0139s.zip) = e9f81e86b786e0131eb6fb59e6bfe189
SHA256 (mame0139s.zip) = e9dc268530b9a2b6fe17330af96dc5680dadba1b5e444bf7ef8fa1f15de7f3d6
SIZE (mame0139s.zip) = 16706970

View File

@ -4,6 +4,7 @@
# CORE CONFIGURATION OPTIONS
#
readconfig 1
writeconfig 0
#
# CORE SEARCH PATH OPTIONS

View File

@ -0,0 +1,13 @@
--- 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
/***************************************************************************

View File

@ -1,6 +1,6 @@
--- makefile.orig 2010-05-18 09:19:49.000000000 +0200
+++ makefile 2010-05-18 09:21:03.000000000 +0200
@@ -281,8 +281,8 @@
--- makefile.orig 2010-07-30 10:42:41.000000000 +0200
+++ makefile 2010-07-30 10:43:26.000000000 +0200
@@ -295,8 +295,8 @@
# compiler, linker and utilities
AR = @ar
@ -10,12 +10,12 @@
+LD:= @$(CXX)
MD = -mkdir$(EXE)
RM = @rm -f
@@ -329,7 +329,7 @@
OBJDUMP = @objdump
@@ -344,7 +344,7 @@
endif
# fullname is prefix+name+suffix+suffix64+suffixdebug
-FULLNAME = $(PREFIX)$(PREFIXSDL)$(NAME)$(SUFFIX)$(SUFFIX64)$(SUFFIXDEBUG)$(SUFFIXGPROF)
-FULLNAME = $(PREFIX)$(PREFIXSDL)$(NAME)$(SUFFIX)$(SUFFIX64)$(SUFFIXDEBUG)$(SUFFIXPROFILE)
+FULLNAME = $(NAME)
# add an EXE suffix to get the final emulator name

View File

@ -1,5 +1,5 @@
--- src/osd/sdl/sdl.mak.orig 2010-03-24 00:15:07.000000000 +0100
+++ src/osd/sdl/sdl.mak 2010-03-24 00:17:26.000000000 +0100
--- 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
@@ -139,7 +139,7 @@
ifeq ($(TARGETOS),freebsd)
BASE_TARGETOS = unix
@ -9,6 +9,15 @@
# /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 @@
ifeq ($(BASE_TARGETOS),unix)