On 06/18 05:35, Micah Muer wrote: > This updates medanfen from 1.21.3 (April 2018) to 1.22.2 (April 2019). > Software-wise there are three noteworthy changes: > > 1. Apple II/II+ emulation was added. > 2. A potential security vulnerability in Atari Lynx emulation was fixed. > 3. patch-src_sexyal_drivers_openbsd_cpp is no longer necessary. > > This should be a seamless update for users, except for those with PC-FX > saves (the naming scheme changed; see release notes for 1.22.0 for > details). > > I tested this diff on amd64 current-. I was able to run games for every > system mednafen supports except for SNES. SNES ROMs cause mednafen to > immediately segfault. But this problem has been present since at least > 0.9.48 [0] and hasn't prevented past updates. > > Thanks! > > [0] https://marc.info/?l=openbsd-ports&m=153476151023753&w=2
Thanks for the patch! I did some quick tests and didn't see any regressions. I don't have any Apple II/II+ games to test with, though. I'll commit this shortly. Thanks, Jeremy > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/emulators/mednafen/Makefile,v > retrieving revision 1.26 > diff -u -p -u -p -r1.26 Makefile > --- Makefile 20 May 2019 22:15:09 -0000 1.26 > +++ Makefile 19 Jun 2019 00:59:57 -0000 > @@ -3,8 +3,7 @@ > BROKEN-hppa = ../../include/mednafen/state.h:21:7: error: > 'exception_ptr' in namespace 'std' does not name a type > COMMENT = emulates numerous game consoles > > -DISTNAME = mednafen-1.21.3 > -REVISION = 0 > +DISTNAME = mednafen-1.22.2 > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > @@ -12,7 +11,7 @@ HOMEPAGE = https://mednafen.github.io > MAINTAINER = Jeremy Evans <[email protected]> > > # GPLv2 > -PERMIT_PACKAGE_CDROM = Yes > +PERMIT_PACKAGE = Yes > > MASTER_SITES = ${HOMEPAGE}/releases/files/ > EXTRACT_SUFX = .tar.xz > @@ -26,7 +25,7 @@ COMPILER = base-clang ports-gcc > LIB_DEPENDS = audio/libsndfile \ > devel/gettext,-runtime \ > devel/sdl2 > - > + > WRKDIST = ${WRKDIR}/mednafen > > USE_WXNEEDED = Yes > Index: distinfo > =================================================================== > RCS file: /cvs/ports/emulators/mednafen/distinfo,v > retrieving revision 1.11 > diff -u -p -u -p -r1.11 distinfo > --- distinfo 8 Sep 2018 23:08:39 -0000 1.11 > +++ distinfo 19 Jun 2019 00:59:57 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.21.3.tar.xz) = > LnYeiDSwmLfxqzXcyqbSvnFe6RBs9Ar0kZ9spLme48Y= > -SIZE (mednafen-1.21.3.tar.xz) = 3208956 > +SHA256 (mednafen-1.22.2.tar.xz) = > +tQzrGlGltaeo49vS+HQpsGqNgnsf0bOdUEr4vLfL5U= > +SIZE (mednafen-1.22.2.tar.xz) = 3270004 > Index: patches/patch-src_sexyal_drivers_openbsd_cpp > =================================================================== > RCS file: patches/patch-src_sexyal_drivers_openbsd_cpp > diff -N patches/patch-src_sexyal_drivers_openbsd_cpp > --- patches/patch-src_sexyal_drivers_openbsd_cpp 8 Sep 2018 23:08:39 > -0000 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,20 +0,0 @@ > -$OpenBSD: patch-src_sexyal_drivers_openbsd_cpp,v 1.1 2018/09/08 23:08:39 > jeremy Exp $ > - > -Adjust for removal of /dev/audio. Can override default using sound.device > -setting in mednafen configuration file. > - > -This is only used when the openbsd driver is forced in the configuration > -file, instead of the default sdl driver. > - > -Index: src/sexyal/drivers/openbsd.cpp > ---- src/sexyal/drivers/openbsd.cpp.orig > -+++ src/sexyal/drivers/openbsd.cpp > -@@ -165,7 +165,7 @@ SexyAL_device* SexyALI_OpenBSD_Open(const char* id, Se > - > - AUDIO_INITPAR(&par); > - > -- OBSD_TRY(fd = open(id ? id : "/dev/audio", O_WRONLY)); > -+ OBSD_TRY(fd = open(id ? id : "/dev/audio0", O_WRONLY)); > - > - par.bits = SAMPFORMAT_BITS(format->sampformat); > - par.bps = SAMPFORMAT_BYTES(format->sampformat); > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/emulators/mednafen/pkg/PLIST,v > retrieving revision 1.4 > diff -u -p -u -p -r1.4 PLIST > --- pkg/PLIST 24 Oct 2016 01:53:37 -0000 1.4 > +++ pkg/PLIST 19 Jun 2019 00:59:57 -0000 > @@ -1,7 +1,8 @@ > @comment $OpenBSD: PLIST,v 1.4 2016/10/24 01:53:37 jeremy Exp $ > @bin bin/mednafen > share/doc/mednafen/ > -share/doc/mednafen/README.jpeg4a > +share/doc/mednafen/apple2.html > +share/doc/mednafen/apple2.php > share/doc/mednafen/bwolf0.png > share/doc/mednafen/bwolf1.png > share/doc/mednafen/cdplay.html
