Update emulators/sdlmess to 0148u3.

ok fgsch@
This commit is contained in:
bcallah 2013-04-14 13:45:41 +00:00
parent 36bb4e22b4
commit d153665f7e
3 changed files with 9 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2013/04/08 04:27:42 bcallah Exp $
# $OpenBSD: Makefile,v 1.23 2013/04/14 13:45:41 bcallah Exp $
# Other archs have not been tested
ONLY_FOR_ARCHS = amd64 i386
@ -7,7 +7,7 @@ COMMENT = emulates game consoles and old home computers
V = 0148
DISTNAME = mame${V}s
PKGNAME = sdlmess-${V:S/0/0./}pl2
PKGNAME = sdlmess-${V:S/0/0./}pl3
CATEGORIES = emulators games
@ -38,7 +38,8 @@ DIST_SUBDIR = mame
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
${V}u1_diff.zip:0 \
${V}u2_diff.zip:0 \
history${V:S/0//}g.zip:1
${V}u3_diff.zip:0 \
history${V:S/0//}h.zip:1
MODULES = devel/gettext \
lang/python
@ -69,7 +70,7 @@ post-extract:
@${UNZIP} -oq ${WRKDIR}/mame.zip -d ${WRKSRC}
pre-patch:
.for v in 1 2
.for v in 1 2 3
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${V}u${v}.diff
.endfor
@perl -pi -e 's|\r\n|\n|g' ${WRKDIST}/makefile \

View File

@ -1,8 +1,10 @@
SHA256 (mame/0148u1_diff.zip) = JzeNCeUPMcoN1POd9MR0AWZxlGZX63r56lqg/7rh2bs=
SHA256 (mame/0148u2_diff.zip) = 47z3PLFlWRWCpQm/EXGJOyPicPmscZmsTxxrzlbWliA=
SHA256 (mame/history148g.zip) = OSohf/i2E0iFWUfYPLq4zGQyyRYWjXYWpAIlRgpffns=
SHA256 (mame/0148u3_diff.zip) = ZeL4wixp/pLX9Y98Zsi2GZzYHH+g9PlvA4/qJZjeaK0=
SHA256 (mame/history148h.zip) = rtg5cHlui1uQ4LpEZ2z7ovJ62dxWGmmKeT7gxZAesUo=
SHA256 (mame/mame0148s.zip) = eNimi6U5NP38iV9FDAhoLa2oH37D50qY+wQlOVBtkyE=
SIZE (mame/0148u1_diff.zip) = 3386949
SIZE (mame/0148u2_diff.zip) = 3196998
SIZE (mame/history148g.zip) = 4290998
SIZE (mame/0148u3_diff.zip) = 1182789
SIZE (mame/history148h.zip) = 4456134
SIZE (mame/mame0148s.zip) = 33822494

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-src_emu_fileio_h,v 1.1 2013/04/01 01:23:51 bcallah Exp $
--- src/emu/fileio.h.orig Sun Jan 20 20:15:29 2013
+++ src/emu/fileio.h Sun Jan 20 20:15:29 2013
@@ -153,6 +153,7 @@ class emu_file (public)
// reading
UINT32 read(void *buffer, UINT32 length);
+#undef getc
int getc();
int ungetc(int c);
char *gets(char *s, int n);