On Fri, Apr 05, 2013 at 09:23:12PM -0400, Brian Callahan wrote:
> Hi ports --
>
> Attached is a patch to update emulators/sdlmess to 0148u2 (sync with
> sdlmame).
> 0148u2 introduces a Qt-based debugger which relies on Qt's moc to
> build, so I've chosen to disable it (it seems like a waste to add
> MODULES+=lang/qt4 for a debugger).
> The WERROR flag also needs to be turned off due to the m6502 CPU
> code emitting a warning.
tested using nes/snes/genesis systems/roms, all good on i386 and amd64.
still would like to see the debugger as a FLAVOR though :D
OK rfreeman@
-ryan
>
> OK?
>
> ~Brian
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/emulators/sdlmess/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile 1 Apr 2013 01:23:51 -0000 1.21
> +++ Makefile 6 Apr 2013 01:19:29 -0000
> @@ -7,7 +7,7 @@ COMMENT = emulates game consoles and ol
>
> V = 0148
> DISTNAME = mame${V}s
> -PKGNAME = sdlmess-${V:S/0/0./}pl1
> +PKGNAME = sdlmess-${V:S/0/0./}pl2
>
> CATEGORIES = emulators games
>
> @@ -37,6 +37,7 @@ DIST_SUBDIR = mame
> # PATCHFILES doesn't work for .zip
> DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
> ${V}u1_diff.zip:0 \
> + ${V}u2_diff.zip:0 \
> history${V:S/0//}g.zip:1
>
> MODULES = devel/gettext \
> @@ -49,7 +50,9 @@ LIB_DEPENDS = devel/gconf2 \
>
> MAKE_FLAGS = OPT_FLAGS='-DINI_PATH="\"${SYSCONFDIR}/mess;\""'
> MAKE_ENV = ARCH=$(ARCH) CC=$(CC) CFLAGS="$(CFLAGS)" \
> - TARGETOS=openbsd
> + TARGETOS=openbsd \
> + NO_USE_QTDEBUG=1 \
> + NOWERROR=1
> .if ${MACHINE_ARCH} == "amd64"
> MAKE_ENV += PTR64=1
> .endif
> @@ -66,7 +69,7 @@ post-extract:
> @${UNZIP} -oq ${WRKDIR}/mame.zip -d ${WRKSRC}
>
> pre-patch:
> -.for v in 1
> +.for v in 1 2
> ${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${V}u${v}.diff
> .endfor
> @perl -pi -e 's|\r\n|\n|g' ${WRKDIST}/makefile \
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/emulators/sdlmess/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- distinfo 1 Apr 2013 01:23:51 -0000 1.3
> +++ distinfo 6 Apr 2013 01:19:29 -0000
> @@ -1,6 +1,8 @@
> SHA256 (mame/0148u1_diff.zip) = JzeNCeUPMcoN1POd9MR0AWZxlGZX63r56lqg/7rh2bs=
> +SHA256 (mame/0148u2_diff.zip) = 47z3PLFlWRWCpQm/EXGJOyPicPmscZmsTxxrzlbWliA=
> SHA256 (mame/history148g.zip) = OSohf/i2E0iFWUfYPLq4zGQyyRYWjXYWpAIlRgpffns=
> 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/mame0148s.zip) = 33822494