Update emulators/sdlmess to 0.148u4 (sync with sdlmame)
As sdlmame, Makefile tweaks from sthen@ ok fgsch@
This commit is contained in:
parent
d2ec037637
commit
8943c018fc
@ -1,13 +1,13 @@
|
|||||||
# $OpenBSD: Makefile,v 1.23 2013/04/14 13:45:41 bcallah Exp $
|
# $OpenBSD: Makefile,v 1.24 2013/05/02 21:05:31 bcallah Exp $
|
||||||
|
|
||||||
# Other archs have not been tested
|
# Other archs have not been tested
|
||||||
ONLY_FOR_ARCHS = amd64 i386
|
ONLY_FOR_ARCHS = amd64 i386
|
||||||
|
|
||||||
COMMENT = emulates game consoles and old home computers
|
COMMENT = emulates game consoles and old home computers
|
||||||
|
|
||||||
V = 0148
|
V = 148
|
||||||
DISTNAME = mame${V}s
|
DISTNAME = mame0${V}s
|
||||||
PKGNAME = sdlmess-${V:S/0/0./}pl3
|
PKGNAME = sdlmess-0.${V}pl4
|
||||||
|
|
||||||
CATEGORIES = emulators games
|
CATEGORIES = emulators games
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ WANTLIB = SDL SDL_ttf X11 Xcomposite Xcursor Xdamage Xext \
|
|||||||
pangocairo-1.0 pangoft2-1.0 pthread stdc++ util z
|
pangocairo-1.0 pangoft2-1.0 pthread stdc++ util z
|
||||||
|
|
||||||
MASTER_SITES = http://mamedev.org/downloader.php?file=releases/ \
|
MASTER_SITES = http://mamedev.org/downloader.php?file=releases/ \
|
||||||
http://whiper.com/mame/${V:S/0//}/
|
http://whiper.com/mame/${V}/
|
||||||
MASTER_SITES0 = http://mamedev.org/updates/
|
MASTER_SITES0 = http://mamedev.org/updates/
|
||||||
MASTER_SITES1 = http://www.arcade-history.com/dats/
|
MASTER_SITES1 = http://www.arcade-history.com/dats/
|
||||||
|
|
||||||
@ -36,10 +36,11 @@ DIST_SUBDIR = mame
|
|||||||
|
|
||||||
# PATCHFILES doesn't work for .zip
|
# PATCHFILES doesn't work for .zip
|
||||||
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
|
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
|
||||||
${V}u1_diff.zip:0 \
|
0${V}u1_diff.zip:0 \
|
||||||
${V}u2_diff.zip:0 \
|
0${V}u2_diff.zip:0 \
|
||||||
${V}u3_diff.zip:0 \
|
0${V}u3_diff.zip:0 \
|
||||||
history${V:S/0//}h.zip:1
|
0${V}u4_diff.zip:0 \
|
||||||
|
history${V}i.zip:1
|
||||||
|
|
||||||
MODULES = devel/gettext \
|
MODULES = devel/gettext \
|
||||||
lang/python
|
lang/python
|
||||||
@ -70,8 +71,8 @@ post-extract:
|
|||||||
@${UNZIP} -oq ${WRKDIR}/mame.zip -d ${WRKSRC}
|
@${UNZIP} -oq ${WRKDIR}/mame.zip -d ${WRKSRC}
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
.for v in 1 2 3
|
.for v in 1 2 3 4
|
||||||
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${V}u${v}.diff
|
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/0${V}u${v}.diff
|
||||||
.endfor
|
.endfor
|
||||||
@perl -pi -e 's|\r\n|\n|g' ${WRKDIST}/makefile \
|
@perl -pi -e 's|\r\n|\n|g' ${WRKDIST}/makefile \
|
||||||
${WRKDIST}/src/emu/fileio.h \
|
${WRKDIST}/src/emu/fileio.h \
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
SHA256 (mame/0148u1_diff.zip) = JzeNCeUPMcoN1POd9MR0AWZxlGZX63r56lqg/7rh2bs=
|
SHA256 (mame/0148u1_diff.zip) = JzeNCeUPMcoN1POd9MR0AWZxlGZX63r56lqg/7rh2bs=
|
||||||
SHA256 (mame/0148u2_diff.zip) = 47z3PLFlWRWCpQm/EXGJOyPicPmscZmsTxxrzlbWliA=
|
SHA256 (mame/0148u2_diff.zip) = 47z3PLFlWRWCpQm/EXGJOyPicPmscZmsTxxrzlbWliA=
|
||||||
SHA256 (mame/0148u3_diff.zip) = ZeL4wixp/pLX9Y98Zsi2GZzYHH+g9PlvA4/qJZjeaK0=
|
SHA256 (mame/0148u3_diff.zip) = ZeL4wixp/pLX9Y98Zsi2GZzYHH+g9PlvA4/qJZjeaK0=
|
||||||
SHA256 (mame/history148h.zip) = rtg5cHlui1uQ4LpEZ2z7ovJ62dxWGmmKeT7gxZAesUo=
|
SHA256 (mame/0148u4_diff.zip) = FZVqj5Q6VEwLDgA5isNe6rmR3S1WIULOlhVvVunbfH8=
|
||||||
|
SHA256 (mame/history148i.zip) = wRBRUzNL5WkP9P4bw0zffuznyVdXSkg6j7fM9vkVbyo=
|
||||||
SHA256 (mame/mame0148s.zip) = eNimi6U5NP38iV9FDAhoLa2oH37D50qY+wQlOVBtkyE=
|
SHA256 (mame/mame0148s.zip) = eNimi6U5NP38iV9FDAhoLa2oH37D50qY+wQlOVBtkyE=
|
||||||
SIZE (mame/0148u1_diff.zip) = 3386949
|
SIZE (mame/0148u1_diff.zip) = 3386949
|
||||||
SIZE (mame/0148u2_diff.zip) = 3196998
|
SIZE (mame/0148u2_diff.zip) = 3196998
|
||||||
SIZE (mame/0148u3_diff.zip) = 1182789
|
SIZE (mame/0148u3_diff.zip) = 1182789
|
||||||
SIZE (mame/history148h.zip) = 4456134
|
SIZE (mame/0148u4_diff.zip) = 1666973
|
||||||
|
SIZE (mame/history148i.zip) = 4497384
|
||||||
SIZE (mame/mame0148s.zip) = 33822494
|
SIZE (mame/mame0148s.zip) = 33822494
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
$OpenBSD: patch-src_emu_machine_netlist_h,v 1.1 2013/04/01 01:23:51 bcallah Exp $
|
|
||||||
--- src/emu/machine/netlist.h.orig Tue Mar 5 19:13:20 2013
|
|
||||||
+++ src/emu/machine/netlist.h Tue Mar 5 19:14:44 2013
|
|
||||||
@@ -99,7 +99,7 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &ne
|
|
||||||
|
|
||||||
#define NETLIST_MEMREGION(_name) \
|
|
||||||
netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base());
|
|
||||||
-#if defined(__GNUC__) && (__GNUC__ >= 3)
|
|
||||||
+#if defined(__GNUC__) && (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))
|
|
||||||
#if !defined(__ppc__) && !defined (__PPC__) && !defined(__ppc64__) && !defined(__PPC64__)
|
|
||||||
#define ATTR_ALIGN __attribute__ ((aligned(128)))
|
|
||||||
#else
|
|
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.4 2013/04/01 01:23:51 bcallah Exp $
|
$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.5 2013/05/02 21:05:31 bcallah Exp $
|
||||||
--- src/osd/sdl/sdl.mak.orig Tue Mar 5 19:13:20 2013
|
--- src/osd/sdl/sdl.mak.orig Wed May 1 12:10:33 2013
|
||||||
+++ src/osd/sdl/sdl.mak Tue Mar 5 19:13:20 2013
|
+++ src/osd/sdl/sdl.mak Wed May 1 12:10:34 2013
|
||||||
@@ -702,9 +702,9 @@ LIBS += `pkg-config QtGui --libs`
|
@@ -708,9 +708,9 @@ LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# some systems still put important things in a different prefix
|
# some systems still put important things in a different prefix
|
||||||
|
Loading…
Reference in New Issue
Block a user