Re: update emulators/mednafen
On Sun, Apr 21, 2024 at 01:41:59PM +0200, Solene Rapenne wrote: > A newer version is available, changelogs since our version: > > - https://forum.fobby.net/index.php?t=msg=2181=0; > - https://forum.fobby.net/index.php?t=msg=2191=0; > > tested on amd64, build and works fine, I tried a few games on super > nes and megadrive ok stsp@ The changelogs read like small incremental changes and fixes. Should be a safe update. > diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile > index cb08d15a0b8..f500b6896bf 100644 > --- a/emulators/mednafen/Makefile > +++ b/emulators/mednafen/Makefile > @@ -1,10 +1,9 @@ > BROKEN-hppa =../../include/mednafen/state.h:21:7: error: > 'exception_ptr' in namespace 'std' does not name a type > COMMENT =emulates numerous game consoles > > -VERSION =1.31.0-UNSTABLE > +VERSION =1.32.1 > DISTNAME = mednafen-${VERSION} > PKGNAME =mednafen-${VERSION:C/-UNSTABLE//} > -REVISION = 2 > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > diff --git a/emulators/mednafen/distinfo b/emulators/mednafen/distinfo > index 4c9b4d330ba..fed5bcfad85 100644 > --- a/emulators/mednafen/distinfo > +++ b/emulators/mednafen/distinfo > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.31.0-UNSTABLE.tar.xz) = > v8/3LjcOCeEro3kWAHghh/v14syda1/k+fNHFkIEY2c= > -SIZE (mednafen-1.31.0-UNSTABLE.tar.xz) = 3528532 > +SHA256 (mednafen-1.32.1.tar.xz) = > 3n65SrZiEq53WDdlJDaKirIII0szeWYlymMFR9vIODI= > +SIZE (mednafen-1.32.1.tar.xz) = 3571236 > >
update emulators/mednafen
A newer version is available, changelogs since our version: - https://forum.fobby.net/index.php?t=msg=2181=0; - https://forum.fobby.net/index.php?t=msg=2191=0; tested on amd64, build and works fine, I tried a few games on super nes and megadrive diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index cb08d15a0b8..f500b6896bf 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -1,10 +1,9 @@ BROKEN-hppa = ../../include/mednafen/state.h:21:7: error: 'exception_ptr' in namespace 'std' does not name a type COMMENT = emulates numerous game consoles -VERSION = 1.31.0-UNSTABLE +VERSION = 1.32.1 DISTNAME = mednafen-${VERSION} PKGNAME = mednafen-${VERSION:C/-UNSTABLE//} -REVISION = 2 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io diff --git a/emulators/mednafen/distinfo b/emulators/mednafen/distinfo index 4c9b4d330ba..fed5bcfad85 100644 --- a/emulators/mednafen/distinfo +++ b/emulators/mednafen/distinfo @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.31.0-UNSTABLE.tar.xz) = v8/3LjcOCeEro3kWAHghh/v14syda1/k+fNHFkIEY2c= -SIZE (mednafen-1.31.0-UNSTABLE.tar.xz) = 3528532 +SHA256 (mednafen-1.32.1.tar.xz) = 3n65SrZiEq53WDdlJDaKirIII0szeWYlymMFR9vIODI= +SIZE (mednafen-1.32.1.tar.xz) = 3571236
Re: [update] emulators/mednafen to 1.28.0-UNSTABLE
Ricardo Mestre writes: > Hi, > > New version, don't mind the UNSTABLE in the name since they use it for all .0 > releases, any objections to remove it from the name with PKGNAME? Or should it > be kept but s/-/./ instead? > > Just tested it on amd64 -current for several consoles including snes which is > not crashing anymore, at least for me, can someone confirm if it also doesn't > crash on i386 and therefore the patches are not required? > > Comments? OK? I've never used mednafen before on i386, but it built fine there. Tested also a couple of snes roms and it worked, audio too, no crashes. I only played^W tested ;) for ~15 minutes thought. nadeshiko$ uname -a OpenBSD nadeshiko.home.lab 7.0 GENERIC.MP#210 i386 nadeshiko$ dmesg | grep inteldrm inteldrm0 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03 drm0 at inteldrm0 intagp0 at inteldrm0 inteldrm0: apic 1 int 16, I945GM, gen 3 inteldrm0: 1024x768, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 > Index: Makefile > === > RCS file: /cvs/ports/emulators/mednafen/Makefile,v > retrieving revision 1.33 > diff -u -p -u -r1.33 Makefile > --- Makefile 16 Jul 2021 07:49:39 - 1.33 > +++ Makefile 16 Nov 2021 17:06:52 - > @@ -3,7 +3,9 @@ > 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.27.1 > +VERSION =1.28.0-UNSTABLE > +DISTNAME = mednafen-${VERSION} > +PKGNAME =mednafen-${VERSION:C/-UNSTABLE//} > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > Index: distinfo > === > RCS file: /cvs/ports/emulators/mednafen/distinfo,v > retrieving revision 1.16 > diff -u -p -u -r1.16 distinfo > --- distinfo 16 Jul 2021 07:49:39 - 1.16 > +++ distinfo 16 Nov 2021 17:06:52 - > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.27.1.tar.xz) = > 86ibLzL0DDIyWTgI0F4MIcvfRDaIrOBMnCfkz01ZVfs= > -SIZE (mednafen-1.27.1.tar.xz) = 3363540 > +SHA256 (mednafen-1.28.0-UNSTABLE.tar.xz) = > Cu8rLtMKI/0VhqWQhgB311gm7Qd+fTJ3KxrPP8vwP1M= > +SIZE (mednafen-1.28.0-UNSTABLE.tar.xz) = 3501032 > Index: patches/patch-src_snes_src_lib_libco_amd64_c > === > RCS file: patches/patch-src_snes_src_lib_libco_amd64_c > diff -N patches/patch-src_snes_src_lib_libco_amd64_c > --- patches/patch-src_snes_src_lib_libco_amd64_c 29 Mar 2020 10:10:29 > - 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 - > @@ -1,47 +0,0 @@ > -$OpenBSD: patch-src_snes_src_lib_libco_amd64_c,v 1.1 2020/03/29 10:10:29 > solene Exp $ > - > -This prevent the snes module to crash on load on amd64 > - > -Index: src/snes/src/lib/libco/amd64.c > src/snes/src/lib/libco/amd64.c.orig > -+++ src/snes/src/lib/libco/amd64.c > -@@ -13,6 +13,10 @@ > - > - #include > - #include > -+#include > -+#include > -+#include > -+#include > - > - #ifdef __cplusplus > - extern "C" { > -@@ -21,6 +25,7 @@ extern "C" { > - static thread_local long long co_active_buffer[64]; > - static thread_local cothread_t co_active_handle = 0; > - static void (*co_swap)(cothread_t, cothread_t) = 0; > -+long pagesize, newsize; > - > - #ifdef _WIN32 > - /* ABI: Win64 */ > -@@ -119,7 +124,19 @@ cothread_t co_create(unsigned int size, void (*entrypo > - size += 512; /* allocate additional space for storage */ > - size &= ~15; /* align stack to 16-byte boundary */ > - > -- if(handle = (cothread_t)malloc(size)) { > -+ pagesize = sysconf(_SC_PAGESIZE); > -+ if(pagesize == -1) > -+err(1, "sysconf failed"); > -+ newsize = size / pagesize * pagesize + !!(size % pagesize) * pagesize; > -+ handle = (cothread_t)malloc(newsize); > -+ if(handle == NULL) > -+err(1, "malloc failed"); > -+ if((uintptr_t)handle % pagesize) > -+err(1, "misaligned allocation"); > -+ handle = (cothread_t)mmap(handle, newsize, PROT_READ|PROT_WRITE, > MAP_FIXED|MAP_STACK|MAP_PRIVATE|MAP_ANON, -1, 0); > -+ if(handle == MAP_FAILED) > -+err(1, "mmap failed"); > -+ else { > - long long *p = (long long*)((char*)handle + size); /* seek to top of > stack */ > - *--p = (long long)crash;/* crash if > entrypoint returns */ > - *--p = (long long)entrypoint; /* start of > function */ > Index: patches/patch-src_snes_src_lib_libco_x86_c > === > RCS file: patches/patch-src_snes_src_lib_libco_x86_c > diff -N patches/patch-src_snes_src_lib_libco_x86_c > --- patches/patch-src_snes_src_lib_libco_x86_c31 Mar 2020 11:47:01 > - 1.2 > +++ /dev/null 1 Jan 1970 00:00:00 - > @@ -1,47 +0,0 @@ > -$OpenBSD: patch-src_snes_src_lib_libco_x86_c,v 1.2 2020/03/31 11:47:01 > solene Exp $ > - > -This
[update] emulators/mednafen to 1.28.0-UNSTABLE
Hi, New version, don't mind the UNSTABLE in the name since they use it for all .0 releases, any objections to remove it from the name with PKGNAME? Or should it be kept but s/-/./ instead? Just tested it on amd64 -current for several consoles including snes which is not crashing anymore, at least for me, can someone confirm if it also doesn't crash on i386 and therefore the patches are not required? Comments? OK? Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.33 diff -u -p -u -r1.33 Makefile --- Makefile16 Jul 2021 07:49:39 - 1.33 +++ Makefile16 Nov 2021 17:06:52 - @@ -3,7 +3,9 @@ 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.27.1 +VERSION = 1.28.0-UNSTABLE +DISTNAME = mednafen-${VERSION} +PKGNAME = mednafen-${VERSION:C/-UNSTABLE//} CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.16 diff -u -p -u -r1.16 distinfo --- distinfo16 Jul 2021 07:49:39 - 1.16 +++ distinfo16 Nov 2021 17:06:52 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.27.1.tar.xz) = 86ibLzL0DDIyWTgI0F4MIcvfRDaIrOBMnCfkz01ZVfs= -SIZE (mednafen-1.27.1.tar.xz) = 3363540 +SHA256 (mednafen-1.28.0-UNSTABLE.tar.xz) = Cu8rLtMKI/0VhqWQhgB311gm7Qd+fTJ3KxrPP8vwP1M= +SIZE (mednafen-1.28.0-UNSTABLE.tar.xz) = 3501032 Index: patches/patch-src_snes_src_lib_libco_amd64_c === RCS file: patches/patch-src_snes_src_lib_libco_amd64_c diff -N patches/patch-src_snes_src_lib_libco_amd64_c --- patches/patch-src_snes_src_lib_libco_amd64_c29 Mar 2020 10:10:29 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,47 +0,0 @@ -$OpenBSD: patch-src_snes_src_lib_libco_amd64_c,v 1.1 2020/03/29 10:10:29 solene Exp $ - -This prevent the snes module to crash on load on amd64 - -Index: src/snes/src/lib/libco/amd64.c src/snes/src/lib/libco/amd64.c.orig -+++ src/snes/src/lib/libco/amd64.c -@@ -13,6 +13,10 @@ - - #include - #include -+#include -+#include -+#include -+#include - - #ifdef __cplusplus - extern "C" { -@@ -21,6 +25,7 @@ extern "C" { - static thread_local long long co_active_buffer[64]; - static thread_local cothread_t co_active_handle = 0; - static void (*co_swap)(cothread_t, cothread_t) = 0; -+long pagesize, newsize; - - #ifdef _WIN32 - /* ABI: Win64 */ -@@ -119,7 +124,19 @@ cothread_t co_create(unsigned int size, void (*entrypo - size += 512; /* allocate additional space for storage */ - size &= ~15; /* align stack to 16-byte boundary */ - -- if(handle = (cothread_t)malloc(size)) { -+ pagesize = sysconf(_SC_PAGESIZE); -+ if(pagesize == -1) -+err(1, "sysconf failed"); -+ newsize = size / pagesize * pagesize + !!(size % pagesize) * pagesize; -+ handle = (cothread_t)malloc(newsize); -+ if(handle == NULL) -+err(1, "malloc failed"); -+ if((uintptr_t)handle % pagesize) -+err(1, "misaligned allocation"); -+ handle = (cothread_t)mmap(handle, newsize, PROT_READ|PROT_WRITE, MAP_FIXED|MAP_STACK|MAP_PRIVATE|MAP_ANON, -1, 0); -+ if(handle == MAP_FAILED) -+err(1, "mmap failed"); -+ else { - long long *p = (long long*)((char*)handle + size); /* seek to top of stack */ - *--p = (long long)crash;/* crash if entrypoint returns */ - *--p = (long long)entrypoint; /* start of function */ Index: patches/patch-src_snes_src_lib_libco_x86_c === RCS file: patches/patch-src_snes_src_lib_libco_x86_c diff -N patches/patch-src_snes_src_lib_libco_x86_c --- patches/patch-src_snes_src_lib_libco_x86_c 31 Mar 2020 11:47:01 - 1.2 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,47 +0,0 @@ -$OpenBSD: patch-src_snes_src_lib_libco_x86_c,v 1.2 2020/03/31 11:47:01 solene Exp $ - -This prevent the snes module to crash on load on i386 - -Index: src/snes/src/lib/libco/x86.c src/snes/src/lib/libco/x86.c.orig -+++ src/snes/src/lib/libco/x86.c -@@ -9,6 +9,10 @@ - - #include - #include -+#include -+#include -+#include -+#include - - #ifdef __cplusplus - extern "C" { -@@ -25,6 +29,7 @@ extern "C" { - static thread_local long co_active_buffer[64]; - static thread_local cothread_t co_active_handle = 0; - static void (fastcall *co_swap)(cothread_t, cothread_t) = 0; -+long pagesize, newsize; - - /* ABI: fastcall */ - force_text_section static const unsigned char co_swap_function[] = { -@@ -64,7 +69,19 @@ cothread_t co_create(unsigned int size, void (*entrypo - size += 256; /* allocate additional space for storage */ - size &= ~15; /* align stack to
Re: [update] emulators/mednafen-1.27.1
On Wed, 7 Jul 2021 11:49:20 +0100 Ricardo Mestre wrote: FWIW, I briefly tested every system that mednafen can emulate. No regressions noticed on amd64. > bump > > On 09:19 Tue 29 Jun , Ricardo Mestre wrote: > > Hi, > > > > This new release drops dependency on libsndfile and instead uses > > libFLAC, additionally I also removed a few libs from WANTLIB > > according to `make lib-depends-check' and changelog is available on > > $HOMEPAGE. > > > > Only tested on amd64, does it work on other archs? OK to commit? > > > > Index: Makefile > > === > > RCS file: /cvs/ports/emulators/mednafen/Makefile,v > > retrieving revision 1.31 > > diff -u -p -u -r1.31 Makefile > > --- Makefile20 Nov 2020 23:39:02 - 1.31 > > +++ Makefile28 Jun 2021 08:42:49 - > > @@ -3,7 +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.26.1 > > +DISTNAME = mednafen-1.27.1 > > > > CATEGORIES = emulators games > > HOMEPAGE = https://mednafen.github.io > > @@ -16,13 +16,12 @@ PERMIT_PACKAGE =Yes > > MASTER_SITES = ${HOMEPAGE}/releases/files/ > > EXTRACT_SUFX = .tar.xz > > > > -WANTLIB += SDL2 c iconv intl m pthread sndfile sndio usbhid z > > -WANTLIB += FLAC ogg samplerate vorbis vorbisenc ${COMPILER_LIBCXX} > > +WANTLIB += FLAC SDL2 c iconv intl m pthread z ${COMPILER_LIBCXX} > > > > USE_GMAKE =Yes > > COMPILER = base-clang ports-gcc > > > > -LIB_DEPENDS = audio/libsndfile \ > > +LIB_DEPENDS = audio/flac \ > > devel/gettext,-runtime \ > > devel/sdl2 > > > > Index: distinfo > > === > > RCS file: /cvs/ports/emulators/mednafen/distinfo,v > > retrieving revision 1.15 > > diff -u -p -u -r1.15 distinfo > > --- distinfo20 Nov 2020 23:39:02 - 1.15 > > +++ distinfo28 Jun 2021 08:42:49 - > > @@ -1,2 +1,2 @@ > > -SHA256 (mednafen-1.26.1.tar.xz) = > > hCkHwlxCksm6SXycuSKcfRDgTiLLR0DRVKtpDmWH/fQ= -SIZE > > (mednafen-1.26.1.tar.xz) = 3319756 +SHA256 (mednafen-1.27.1.tar.xz) > > = 86ibLzL0DDIyWTgI0F4MIcvfRDaIrOBMnCfkz01ZVfs= +SIZE > > (mednafen-1.27.1.tar.xz) = 3363540 >
Re: [update] emulators/mednafen-1.27.1
bump On 09:19 Tue 29 Jun , Ricardo Mestre wrote: > Hi, > > This new release drops dependency on libsndfile and instead uses libFLAC, > additionally I also removed a few libs from WANTLIB according to > `make lib-depends-check' and changelog is available on $HOMEPAGE. > > Only tested on amd64, does it work on other archs? OK to commit? > > Index: Makefile > === > RCS file: /cvs/ports/emulators/mednafen/Makefile,v > retrieving revision 1.31 > diff -u -p -u -r1.31 Makefile > --- Makefile 20 Nov 2020 23:39:02 - 1.31 > +++ Makefile 28 Jun 2021 08:42:49 - > @@ -3,7 +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.26.1 > +DISTNAME = mednafen-1.27.1 > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > @@ -16,13 +16,12 @@ PERMIT_PACKAGE = Yes > MASTER_SITES = ${HOMEPAGE}/releases/files/ > EXTRACT_SUFX = .tar.xz > > -WANTLIB += SDL2 c iconv intl m pthread sndfile sndio usbhid z > -WANTLIB += FLAC ogg samplerate vorbis vorbisenc ${COMPILER_LIBCXX} > +WANTLIB += FLAC SDL2 c iconv intl m pthread z ${COMPILER_LIBCXX} > > USE_GMAKE = Yes > COMPILER = base-clang ports-gcc > > -LIB_DEPENDS =audio/libsndfile \ > +LIB_DEPENDS =audio/flac \ > devel/gettext,-runtime \ > devel/sdl2 > > Index: distinfo > === > RCS file: /cvs/ports/emulators/mednafen/distinfo,v > retrieving revision 1.15 > diff -u -p -u -r1.15 distinfo > --- distinfo 20 Nov 2020 23:39:02 - 1.15 > +++ distinfo 28 Jun 2021 08:42:49 - > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.26.1.tar.xz) = > hCkHwlxCksm6SXycuSKcfRDgTiLLR0DRVKtpDmWH/fQ= > -SIZE (mednafen-1.26.1.tar.xz) = 3319756 > +SHA256 (mednafen-1.27.1.tar.xz) = > 86ibLzL0DDIyWTgI0F4MIcvfRDaIrOBMnCfkz01ZVfs= > +SIZE (mednafen-1.27.1.tar.xz) = 3363540
[update] emulators/mednafen-1.27.1
Hi, This new release drops dependency on libsndfile and instead uses libFLAC, additionally I also removed a few libs from WANTLIB according to `make lib-depends-check' and changelog is available on $HOMEPAGE. Only tested on amd64, does it work on other archs? OK to commit? Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.31 diff -u -p -u -r1.31 Makefile --- Makefile20 Nov 2020 23:39:02 - 1.31 +++ Makefile28 Jun 2021 08:42:49 - @@ -3,7 +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.26.1 +DISTNAME = mednafen-1.27.1 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io @@ -16,13 +16,12 @@ PERMIT_PACKAGE =Yes MASTER_SITES = ${HOMEPAGE}/releases/files/ EXTRACT_SUFX = .tar.xz -WANTLIB += SDL2 c iconv intl m pthread sndfile sndio usbhid z -WANTLIB += FLAC ogg samplerate vorbis vorbisenc ${COMPILER_LIBCXX} +WANTLIB += FLAC SDL2 c iconv intl m pthread z ${COMPILER_LIBCXX} USE_GMAKE =Yes COMPILER = base-clang ports-gcc -LIB_DEPENDS = audio/libsndfile \ +LIB_DEPENDS = audio/flac \ devel/gettext,-runtime \ devel/sdl2 Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.15 diff -u -p -u -r1.15 distinfo --- distinfo20 Nov 2020 23:39:02 - 1.15 +++ distinfo28 Jun 2021 08:42:49 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.26.1.tar.xz) = hCkHwlxCksm6SXycuSKcfRDgTiLLR0DRVKtpDmWH/fQ= -SIZE (mednafen-1.26.1.tar.xz) = 3319756 +SHA256 (mednafen-1.27.1.tar.xz) = 86ibLzL0DDIyWTgI0F4MIcvfRDaIrOBMnCfkz01ZVfs= +SIZE (mednafen-1.27.1.tar.xz) = 3363540
[UPDATE] emulators/mednafen to 1.26.1
Hi, Update to v1.26.1 which compared to our ports version brings a lot of Sega Saturn fixes, but also "This release fixes compilation errors with clang, fixes compilation errors after configuring with --disable-debugger, fixes a few minor MSU1 handling bugs in the SNES-Faust module, and improves the accuracy of the PS1 SPU reverb emulation." Tested a couple of games/platforms on amd64, OK? Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.30 diff -u -p -u -r1.30 Makefile --- Makefile9 Aug 2020 13:44:56 - 1.30 +++ Makefile20 Nov 2020 15:57:15 - @@ -3,7 +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.24.3 +DISTNAME = mednafen-1.26.1 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.14 diff -u -p -u -r1.14 distinfo --- distinfo9 Aug 2020 13:44:56 - 1.14 +++ distinfo20 Nov 2020 15:57:15 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.24.3.tar.xz) = PeqFP3hDZFV/pZ6boRoX6yZ0/A+5MgXzO9vauh2j9w8= -SIZE (mednafen-1.24.3.tar.xz) = 3296980 +SHA256 (mednafen-1.26.1.tar.xz) = hCkHwlxCksm6SXycuSKcfRDgTiLLR0DRVKtpDmWH/fQ= +SIZE (mednafen-1.26.1.tar.xz) = 3319756
Re: [UPDATE] emulators/mednafen to 1.26.1
Sorry, forgot to include jeremy@ (maintainer)! On 16:13 Fri 20 Nov , Ricardo Mestre wrote: > Hi, > > Update to v1.26.1 which compared to our ports version brings a lot of Sega > Saturn fixes, but also "This release fixes compilation errors with clang, > fixes > compilation errors after configuring with --disable-debugger, fixes a few > minor > MSU1 handling bugs in the SNES-Faust module, and improves the accuracy of the > PS1 SPU reverb emulation." > > Tested a couple of games/platforms on amd64, OK? > > Index: Makefile > === > RCS file: /cvs/ports/emulators/mednafen/Makefile,v > retrieving revision 1.30 > diff -u -p -u -r1.30 Makefile > --- Makefile 9 Aug 2020 13:44:56 - 1.30 > +++ Makefile 20 Nov 2020 15:57:15 - > @@ -3,7 +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.24.3 > +DISTNAME = mednafen-1.26.1 > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > Index: distinfo > === > RCS file: /cvs/ports/emulators/mednafen/distinfo,v > retrieving revision 1.14 > diff -u -p -u -r1.14 distinfo > --- distinfo 9 Aug 2020 13:44:56 - 1.14 > +++ distinfo 20 Nov 2020 15:57:15 - > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.24.3.tar.xz) = > PeqFP3hDZFV/pZ6boRoX6yZ0/A+5MgXzO9vauh2j9w8= > -SIZE (mednafen-1.24.3.tar.xz) = 3296980 > +SHA256 (mednafen-1.26.1.tar.xz) = > hCkHwlxCksm6SXycuSKcfRDgTiLLR0DRVKtpDmWH/fQ= > +SIZE (mednafen-1.26.1.tar.xz) = 3319756
Re: [UPDATE] emulators/mednafen 1.24.3
On 08/06 04:00, Ricardo Mestre wrote: > Hi, > > Easy update to latest stable version (1.24.3). Comments? OK? OK jeremy@ > > Changelog as follows: > > v1.24.3: > > - This update implements more complete emulation of the Saturn SCSP's short > waveform mode, fixing excessive distortion in a sound effect in > "Sega Ages: OutRun", a regression introduced in Mednafen 1.24.2. > > v1.24.2: > > - Fixed broken support for systems with no OpenGL implementation available. > - Apple2: Fixed potential assert() failure after changing disks. > - SS: Implemented emulation of SCSP slot EG bypass and short waveform mode > bits. > - SS: Implemented the buggy linear interpolation that occurs when SCSP FM is > used. > - SS: Implemented SCSP register mirroring. > - SS: Fixed a few inaccuracies with the SCSP waveform loop handling. > > Index: Makefile > === > RCS file: /cvs/ports/emulators/mednafen/Makefile,v > retrieving revision 1.29 > diff -u -p -u -r1.29 Makefile > --- Makefile 31 Mar 2020 11:47:01 - 1.29 > +++ Makefile 6 Aug 2020 14:55:42 - > @@ -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.24.1 > -REVISION = 0 > +DISTNAME = mednafen-1.24.3 > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > Index: distinfo > === > RCS file: /cvs/ports/emulators/mednafen/distinfo,v > retrieving revision 1.13 > diff -u -p -u -r1.13 distinfo > --- distinfo 29 Mar 2020 10:10:29 - 1.13 > +++ distinfo 6 Aug 2020 14:55:42 - > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.24.1.tar.xz) = > pHrfP69NpmkgvruUNuKMv4f/ZjJNC7OSAzy7R4tnX+c= > -SIZE (mednafen-1.24.1.tar.xz) = 3293992 > +SHA256 (mednafen-1.24.3.tar.xz) = > PeqFP3hDZFV/pZ6boRoX6yZ0/A+5MgXzO9vauh2j9w8= > +SIZE (mednafen-1.24.3.tar.xz) = 3296980 >
[UPDATE] emulators/mednafen 1.24.3
Hi, Easy update to latest stable version (1.24.3). Comments? OK? Changelog as follows: v1.24.3: - This update implements more complete emulation of the Saturn SCSP's short waveform mode, fixing excessive distortion in a sound effect in "Sega Ages: OutRun", a regression introduced in Mednafen 1.24.2. v1.24.2: - Fixed broken support for systems with no OpenGL implementation available. - Apple2: Fixed potential assert() failure after changing disks. - SS: Implemented emulation of SCSP slot EG bypass and short waveform mode bits. - SS: Implemented the buggy linear interpolation that occurs when SCSP FM is used. - SS: Implemented SCSP register mirroring. - SS: Fixed a few inaccuracies with the SCSP waveform loop handling. Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.29 diff -u -p -u -r1.29 Makefile --- Makefile31 Mar 2020 11:47:01 - 1.29 +++ Makefile6 Aug 2020 14:55:42 - @@ -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.24.1 -REVISION = 0 +DISTNAME = mednafen-1.24.3 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.13 diff -u -p -u -r1.13 distinfo --- distinfo29 Mar 2020 10:10:29 - 1.13 +++ distinfo6 Aug 2020 14:55:42 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.24.1.tar.xz) = pHrfP69NpmkgvruUNuKMv4f/ZjJNC7OSAzy7R4tnX+c= -SIZE (mednafen-1.24.1.tar.xz) = 3293992 +SHA256 (mednafen-1.24.3.tar.xz) = PeqFP3hDZFV/pZ6boRoX6yZ0/A+5MgXzO9vauh2j9w8= +SIZE (mednafen-1.24.3.tar.xz) = 3296980
Re: update emulators/mednafen
On 03/26 09:28, Solene Rapenne wrote: > On Thu, Mar 26, 2020 at 08:06:12PM +0100, Solene Rapenne wrote: > > The following patch updates mednafen to last version, I tried a few > > platform successfully on adm64. > > > > I disabled snes module at compile time because it just doesn't work and > > crashes, instead of providing a README explaining how to modify > > medfnafen.cfg to disable snes to fallback to snes_faust module. > > > > > > Thanks to bentley@ I applied same patches on libco that are used in > emulators/hikan and snes modules works. I briefly tested all emulation modes I could and everything seems to work. OK jeremy@ Thanks, Jeremy > > > Index: Makefile > === > RCS file: /data/cvs/ports/emulators/mednafen/Makefile,v > retrieving revision 1.27 > diff -u -p -r1.27 Makefile > --- Makefile 19 Jun 2019 04:01:21 - 1.27 > +++ Makefile 26 Mar 2020 20:28:27 - > @@ -3,7 +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.22.2 > +DISTNAME = mednafen-1.24.1 > > CATEGORIES = emulators games > HOMEPAGE = https://mednafen.github.io > Index: distinfo > === > RCS file: /data/cvs/ports/emulators/mednafen/distinfo,v > retrieving revision 1.12 > diff -u -p -r1.12 distinfo > --- distinfo 19 Jun 2019 04:01:21 - 1.12 > +++ distinfo 26 Mar 2020 18:05:53 - > @@ -1,2 +1,2 @@ > -SHA256 (mednafen-1.22.2.tar.xz) = > +tQzrGlGltaeo49vS+HQpsGqNgnsf0bOdUEr4vLfL5U= > -SIZE (mednafen-1.22.2.tar.xz) = 3270004 > +SHA256 (mednafen-1.24.1.tar.xz) = > pHrfP69NpmkgvruUNuKMv4f/ZjJNC7OSAzy7R4tnX+c= > +SIZE (mednafen-1.24.1.tar.xz) = 3293992 > Index: patches/patch-src_sexyal_sexyal_cpp > === > RCS file: > /data/cvs/ports/emulators/mednafen/patches/patch-src_sexyal_sexyal_cpp,v > retrieving revision 1.1 > diff -u -p -r1.1 patch-src_sexyal_sexyal_cpp > --- patches/patch-src_sexyal_sexyal_cpp 8 Sep 2018 23:08:39 - > 1.1 > +++ patches/patch-src_sexyal_sexyal_cpp 26 Mar 2020 20:00:02 - > @@ -8,7 +8,7 @@ audio device. You can still use the ope > Index: src/sexyal/sexyal.cpp > --- src/sexyal/sexyal.cpp.orig > +++ src/sexyal/sexyal.cpp > -@@ -150,6 +150,10 @@ static SexyAL_driver drivers[] = > +@@ -153,6 +153,10 @@ static SexyAL_driver drivers[] = > { SEXYAL_TYPE_ALSA, "ALSA", "alsa", SexyALI_ALSA_Open, > SexyALI_ALSA_EnumerateDevices }, > #endif > > @@ -19,7 +19,7 @@ Index: src/sexyal/sexyal.cpp > #if HAVE_OPENBSD_AUDIO > { SEXYAL_TYPE_OPENBSD, "OpenBSD(/dev/audio*)", "openbsd", > SexyALI_OpenBSD_Open, SexyALI_OpenBSD_EnumerateDevices }, > #endif > -@@ -182,13 +186,6 @@ static SexyAL_driver drivers[] = > +@@ -185,13 +189,6 @@ static SexyAL_driver drivers[] = > { SEXYAL_TYPE_DOS_ES1371, "Ensoniq ES1371", "es1371", > SexyALI_DOS_ES1371_Open, NULL, SexyALI_DOS_ES1371_Avail }, > { SEXYAL_TYPE_DOS_CMI8738, "CMI8738", "cmi8738", > SexyALI_DOS_CMI8738_Open, NULL, SexyALI_DOS_CMI8738_Avail }, > #endif > Index: patches/patch-src_snes_src_lib_libco_amd64_c > === > RCS file: patches/patch-src_snes_src_lib_libco_amd64_c > diff -N patches/patch-src_snes_src_lib_libco_amd64_c > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-src_snes_src_lib_libco_amd64_c 26 Mar 2020 20:19:36 > - > @@ -0,0 +1,47 @@ > +$OpenBSD$ > + > +This prevent the snes module to crash on load on amd64 > + > +Index: src/snes/src/lib/libco/amd64.c > +--- src/snes/src/lib/libco/amd64.c.orig > src/snes/src/lib/libco/amd64.c > +@@ -13,6 +13,10 @@ > + > + #include > + #include > ++#include > ++#include > ++#include > ++#include > + > + #ifdef __cplusplus > + extern "C" { > +@@ -21,6 +25,7 @@ extern "C" { > + static thread_local long long co_active_buffer[64]; > + static thread_local cothread_t co_active_handle = 0; > + static void (*co_swap)(cothread_t, cothread_t) = 0; > ++long pagesize, newsize; > + > + #ifdef _WIN32 > + /* ABI: Win64 */ > +@@ -119,7 +124,19 @@ cothread_t co_create(unsigned int size, void (*entrypo > + size += 512; /* allocate additional space for storage */ > + size &= ~15; /* align stack to 16-byte boundary */ > + > +- if(handle = (cothread_t)malloc(size)) { > ++ pagesize = sysconf(_SC_PAGESIZE); > ++ if(pagesize == -1) > ++err(1, "sysconf failed"); > ++ newsize = size / pagesize * pagesize + !!(size % pagesize) * pagesize; > ++ handle = (cothread_t)malloc(newsize); > ++ if(handle == NULL) > ++err(1, "malloc failed"); > ++ if((uintptr_t)handle % pagesize) > ++err(1, "misaligned allocation"); > ++ handle = (cothread_t)mmap(handle, newsize,
Re: update emulators/mednafen
On Thu, Mar 26, 2020 at 08:06:12PM +0100, Solene Rapenne wrote: > The following patch updates mednafen to last version, I tried a few > platform successfully on adm64. > > I disabled snes module at compile time because it just doesn't work and > crashes, instead of providing a README explaining how to modify > medfnafen.cfg to disable snes to fallback to snes_faust module. > > Thanks to bentley@ I applied same patches on libco that are used in emulators/hikan and snes modules works. Index: Makefile === RCS file: /data/cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.27 diff -u -p -r1.27 Makefile --- Makefile19 Jun 2019 04:01:21 - 1.27 +++ Makefile26 Mar 2020 20:28:27 - @@ -3,7 +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.22.2 +DISTNAME = mednafen-1.24.1 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io Index: distinfo === RCS file: /data/cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- distinfo19 Jun 2019 04:01:21 - 1.12 +++ distinfo26 Mar 2020 18:05:53 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.22.2.tar.xz) = +tQzrGlGltaeo49vS+HQpsGqNgnsf0bOdUEr4vLfL5U= -SIZE (mednafen-1.22.2.tar.xz) = 3270004 +SHA256 (mednafen-1.24.1.tar.xz) = pHrfP69NpmkgvruUNuKMv4f/ZjJNC7OSAzy7R4tnX+c= +SIZE (mednafen-1.24.1.tar.xz) = 3293992 Index: patches/patch-src_sexyal_sexyal_cpp === RCS file: /data/cvs/ports/emulators/mednafen/patches/patch-src_sexyal_sexyal_cpp,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_sexyal_sexyal_cpp --- patches/patch-src_sexyal_sexyal_cpp 8 Sep 2018 23:08:39 - 1.1 +++ patches/patch-src_sexyal_sexyal_cpp 26 Mar 2020 20:00:02 - @@ -8,7 +8,7 @@ audio device. You can still use the ope Index: src/sexyal/sexyal.cpp --- src/sexyal/sexyal.cpp.orig +++ src/sexyal/sexyal.cpp -@@ -150,6 +150,10 @@ static SexyAL_driver drivers[] = +@@ -153,6 +153,10 @@ static SexyAL_driver drivers[] = { SEXYAL_TYPE_ALSA, "ALSA", "alsa", SexyALI_ALSA_Open, SexyALI_ALSA_EnumerateDevices }, #endif @@ -19,7 +19,7 @@ Index: src/sexyal/sexyal.cpp #if HAVE_OPENBSD_AUDIO { SEXYAL_TYPE_OPENBSD, "OpenBSD(/dev/audio*)", "openbsd", SexyALI_OpenBSD_Open, SexyALI_OpenBSD_EnumerateDevices }, #endif -@@ -182,13 +186,6 @@ static SexyAL_driver drivers[] = +@@ -185,13 +189,6 @@ static SexyAL_driver drivers[] = { SEXYAL_TYPE_DOS_ES1371, "Ensoniq ES1371", "es1371", SexyALI_DOS_ES1371_Open, NULL, SexyALI_DOS_ES1371_Avail }, { SEXYAL_TYPE_DOS_CMI8738, "CMI8738", "cmi8738", SexyALI_DOS_CMI8738_Open, NULL, SexyALI_DOS_CMI8738_Avail }, #endif Index: patches/patch-src_snes_src_lib_libco_amd64_c === RCS file: patches/patch-src_snes_src_lib_libco_amd64_c diff -N patches/patch-src_snes_src_lib_libco_amd64_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_snes_src_lib_libco_amd64_c26 Mar 2020 20:19:36 - @@ -0,0 +1,47 @@ +$OpenBSD$ + +This prevent the snes module to crash on load on amd64 + +Index: src/snes/src/lib/libco/amd64.c +--- src/snes/src/lib/libco/amd64.c.orig src/snes/src/lib/libco/amd64.c +@@ -13,6 +13,10 @@ + + #include + #include ++#include ++#include ++#include ++#include + + #ifdef __cplusplus + extern "C" { +@@ -21,6 +25,7 @@ extern "C" { + static thread_local long long co_active_buffer[64]; + static thread_local cothread_t co_active_handle = 0; + static void (*co_swap)(cothread_t, cothread_t) = 0; ++long pagesize, newsize; + + #ifdef _WIN32 + /* ABI: Win64 */ +@@ -119,7 +124,19 @@ cothread_t co_create(unsigned int size, void (*entrypo + size += 512; /* allocate additional space for storage */ + size &= ~15; /* align stack to 16-byte boundary */ + +- if(handle = (cothread_t)malloc(size)) { ++ pagesize = sysconf(_SC_PAGESIZE); ++ if(pagesize == -1) ++err(1, "sysconf failed"); ++ newsize = size / pagesize * pagesize + !!(size % pagesize) * pagesize; ++ handle = (cothread_t)malloc(newsize); ++ if(handle == NULL) ++err(1, "malloc failed"); ++ if((uintptr_t)handle % pagesize) ++err(1, "misaligned allocation"); ++ handle = (cothread_t)mmap(handle, newsize, PROT_READ|PROT_WRITE, MAP_FIXED|MAP_STACK|MAP_PRIVATE|MAP_ANON, -1, 0); ++ if(handle == MAP_FAILED) ++err(1, "mmap failed"); ++ else { + long long *p = (long long*)((char*)handle + size); /* seek to top of stack */ + *--p = (long long)crash;/* crash if entrypoint returns */ + *--p = (long long)entrypoint; /* start
update emulators/mednafen
The following patch updates mednafen to last version, I tried a few platform successfully on adm64. I disabled snes module at compile time because it just doesn't work and crashes, instead of providing a README explaining how to modify medfnafen.cfg to disable snes to fallback to snes_faust module. Index: Makefile === RCS file: /data/cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.27 diff -u -p -r1.27 Makefile --- Makefile19 Jun 2019 04:01:21 - 1.27 +++ Makefile26 Mar 2020 19:00:34 - @@ -3,7 +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.22.2 +DISTNAME = mednafen-1.24.1 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io @@ -33,10 +33,13 @@ USE_WXNEEDED = Yes CONFIGURE_STYLE = gnu CONFIGURE_ENV =CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL2" \ LDFLAGS="-L${LOCALBASE}/lib -pthread -nopie" + +# disable snes module crashing on load, snes_faust will fallback CONFIGURE_ARGS = --disable-alsa \ --disable-rpath \ --disable-jack \ - --with-gnu-ld + --with-gnu-ld \ + --enable-snes=no # this intrinsic is not supported with our old gcc CONFIGURE_ARGS += --disable-altivec Index: distinfo === RCS file: /data/cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- distinfo19 Jun 2019 04:01:21 - 1.12 +++ distinfo26 Mar 2020 18:05:53 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-1.22.2.tar.xz) = +tQzrGlGltaeo49vS+HQpsGqNgnsf0bOdUEr4vLfL5U= -SIZE (mednafen-1.22.2.tar.xz) = 3270004 +SHA256 (mednafen-1.24.1.tar.xz) = pHrfP69NpmkgvruUNuKMv4f/ZjJNC7OSAzy7R4tnX+c= +SIZE (mednafen-1.24.1.tar.xz) = 3293992
Re: [UPDATE] emulators/mednafen 1.21.3 -> 1.22.2
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=153476151023753=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 - 1.26 > +++ Makefile 19 Jun 2019 00:59:57 - > @@ -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 > > # 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 - 1.11 > +++ distinfo 19 Jun 2019 00:59:57 - > @@ -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 > - 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 - > @@ -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(); > - > -- 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 - 1.4 > +++ pkg/PLIST 19 Jun 2019 00:59:57 - > @@ -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
[UPDATE] emulators/mednafen 1.21.3 -> 1.22.2
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=153476151023753=2 Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.26 diff -u -p -u -p -r1.26 Makefile --- Makefile20 May 2019 22:15:09 - 1.26 +++ Makefile19 Jun 2019 00:59:57 - @@ -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 # 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 --- distinfo8 Sep 2018 23:08:39 - 1.11 +++ distinfo19 Jun 2019 00:59:57 - @@ -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_cpp8 Sep 2018 23:08:39 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -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(); - -- 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 - 1.4 +++ pkg/PLIST 19 Jun 2019 00:59:57 - @@ -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
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On 2018-08-25 11:54:05, Jeremy Evans wrote: > On 08/20 05:53, Bryan Linton wrote: > > Sound doesn't work though. > > > > Initializing sound... > > Using "OpenBSD(/dev/audio*)" audio driver with SexyAL's default > > device selection.OpenBSD Audio Error: fd = open(id ? id : > > "/dev/audio", O_WRONLY) No such file or directory > > Error opening a sound device. > > > > [...] > > > > % ls -la /dev/audio > > ls: /dev/audio: No such file or directory > > I did some more work on this and found out the reason it worked for me > was not related to this change, but because I use the sdl sound driver. > I think sdl should be the default, because it works with sndiod, while > the openbsd driver does not. > > Here's a patch that does that. It also updates the default device from > from /dev/audio to /dev/audio0. > > You can modify the mednafen sound driver and sound device using > the appropriate settings in the mednafen configuration file. > Everything seems to work well for me. No regressions seen in my use-case at least. -- Bryan
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On Sat, Aug 25, 2018 at 05:24:43PM -0700, Jeremy Evans wrote: > > The /dev/audio -> /dev/audio0 diff is a noop by default, as I also > switched the default driver from openbsd to sdl (which uses sndio). > > I don't express an opinion on putting the symlinks back. I think most > programs that use audio on OpenBSD use sndio (directly or indirectly). > Those that don't are problematic to use in general, since you have to > stop using sndiod to use them (this is how mednafen currently operates > in ports, before the patch). > That's correct. Furthermore, the code won't work on all devices because by using directly audio(4) it bypasses the format & rate coversions. Switching to sdl by default until this get fixed seems the best thing to do for now. Replacing /dev/audio -> /dev/audio0 in the non-default backend brings mednafen to the same state as before the symlink removal, so it's fine as well.
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On Sun, Aug 26, 2018 at 04:53:41PM +0200, Alexandre Ratchov wrote: > > Back in 2015, when we made massive API changes to the (private) > audio(4) API, we carefully audited the ports tree and *all* ports were > using libsndio to play/record sound. > > I don't know how this could even compile, as the current audio(4) API > is very different to SunAudio or whatever we inherited from NetBSD. > According to mednafen changelog the OpenBSD audio backend was added recently; too bad they choosed to implement it using the private audio(4) API instead of using the sio_open(4) API. Anyway, both APIs use similar semantics, so fixing this is a matter of blindly replacing audio(4) ioctls by their libsndio equivalents.
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On 08/25 08:45, Stuart Henderson wrote: > On 2018/08/25 11:54, Jeremy Evans wrote: > > On 08/20 05:53, Bryan Linton wrote: > > > Sound doesn't work though. > > > > > > Initializing sound... > > > Using "OpenBSD(/dev/audio*)" audio driver with SexyAL's default > > > device selection.OpenBSD Audio Error: fd = open(id ? id : > > > "/dev/audio", O_WRONLY) No such file or directory > > > Error opening a sound device. > > > > > > [...] > > > > > > % ls -la /dev/audio > > > ls: /dev/audio: No such file or directory > > > > I did some more work on this and found out the reason it worked for me > > was not related to this change, but because I use the sdl sound driver. > > I think sdl should be the default, because it works with sndiod, while > > the openbsd driver does not. > > > > Here's a patch that does that. It also updates the default device from > > from /dev/audio to /dev/audio0. > > Hmm, the commit log for that says "Remove unused /dev/audio and > /dev/audioctl symlinks". > > Is the diff to change from /dev/audio to /dev/audio0 basically a noop, > or if /dev/audio *is* still used (even if it's "just" in ports) would > it make sense to put the symlinks back? I don't think we're very likely > to find all the things using /dev/audio in ports before release.. The /dev/audio -> /dev/audio0 diff is a noop by default, as I also switched the default driver from openbsd to sdl (which uses sndio). I don't express an opinion on putting the symlinks back. I think most programs that use audio on OpenBSD use sndio (directly or indirectly). Those that don't are problematic to use in general, since you have to stop using sndiod to use them (this is how mednafen currently operates in ports, before the patch). Thanks, Jeremy
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On 2018/08/25 11:54, Jeremy Evans wrote: > On 08/20 05:53, Bryan Linton wrote: > > Sound doesn't work though. > > > > Initializing sound... > > Using "OpenBSD(/dev/audio*)" audio driver with SexyAL's default > > device selection.OpenBSD Audio Error: fd = open(id ? id : > > "/dev/audio", O_WRONLY) No such file or directory > > Error opening a sound device. > > > > [...] > > > > % ls -la /dev/audio > > ls: /dev/audio: No such file or directory > > I did some more work on this and found out the reason it worked for me > was not related to this change, but because I use the sdl sound driver. > I think sdl should be the default, because it works with sndiod, while > the openbsd driver does not. > > Here's a patch that does that. It also updates the default device from > from /dev/audio to /dev/audio0. Hmm, the commit log for that says "Remove unused /dev/audio and /dev/audioctl symlinks". Is the diff to change from /dev/audio to /dev/audio0 basically a noop, or if /dev/audio *is* still used (even if it's "just" in ports) would it make sense to put the symlinks back? I don't think we're very likely to find all the things using /dev/audio in ports before release..
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On 08/20 05:53, Bryan Linton wrote: > Sound doesn't work though. > > Initializing sound... > Using "OpenBSD(/dev/audio*)" audio driver with SexyAL's default > device selection.OpenBSD Audio Error: fd = open(id ? id : > "/dev/audio", O_WRONLY) No such file or directory > Error opening a sound device. > > [...] > > % ls -la /dev/audio > ls: /dev/audio: No such file or directory I did some more work on this and found out the reason it worked for me was not related to this change, but because I use the sdl sound driver. I think sdl should be the default, because it works with sndiod, while the openbsd driver does not. Here's a patch that does that. It also updates the default device from from /dev/audio to /dev/audio0. You can modify the mednafen sound driver and sound device using the appropriate settings in the mednafen configuration file. OKs? Thanks, Jeremy Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- Makefile21 Nov 2017 00:13:00 - 1.24 +++ Makefile25 Aug 2018 17:32:28 - @@ -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-0.9.48 -REVISION = 0 +DISTNAME = mednafen-1.21.3 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io @@ -17,27 +16,26 @@ PERMIT_PACKAGE_CDROM = Yes MASTER_SITES = ${HOMEPAGE}/releases/files/ EXTRACT_SUFX = .tar.xz -WANTLIB += SDL c iconv intl m pthread sndfile sndio usbhid z -WANTLIB += FLAC ogg vorbis vorbisenc ${COMPILER_LIBCXX} +WANTLIB += SDL2 c iconv intl m pthread sndfile sndio usbhid z +WANTLIB += FLAC ogg samplerate vorbis vorbisenc ${COMPILER_LIBCXX} USE_GMAKE =Yes COMPILER = base-clang ports-gcc LIB_DEPENDS = audio/libsndfile \ devel/gettext \ - devel/sdl + devel/sdl2 WRKDIST = ${WRKDIR}/mednafen USE_WXNEEDED = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ENV =CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \ +CONFIGURE_ENV =CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL2" \ LDFLAGS="-L${LOCALBASE}/lib -pthread -nopie" CONFIGURE_ARGS = --disable-alsa \ --disable-rpath \ --disable-jack \ - --with-x \ --with-gnu-ld # this intrinsic is not supported with our old gcc Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo14 Nov 2017 06:46:20 - 1.10 +++ distinfo17 Aug 2018 17:02:11 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.48.tar.xz) = 08wMg49JZRGUbW6hj9pZZdK3FXfGEKzIEYNcyH0VIQI= -SIZE (mednafen-0.9.48.tar.xz) = 3203080 +SHA256 (mednafen-1.21.3.tar.xz) = LnYeiDSwmLfxqzXcyqbSvnFe6RBs9Ar0kZ9spLme48Y= +SIZE (mednafen-1.21.3.tar.xz) = 3208956 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 --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_sexyal_drivers_openbsd_cpp25 Aug 2018 18:09:12 - @@ -0,0 +1,20 @@ +$OpenBSD$ + +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(); + +- 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: patches/patch-src_sexyal_sexyal_cpp === RCS file: patches/patch-src_sexyal_sexyal_cpp diff -N patches/patch-src_sexyal_sexyal_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_sexyal_sexyal_cpp 25 Aug 2018 18:08:11 - @@ -0,0 +1,35 @@ +$OpenBSD$ + +Give sdl driver higher priority than openbsd driver, since sdl driver +works with sndiod, and openbsd driver requires exclusive access to the +audio device. You can still use the openbsd driver by setting +"sound.driver openbsd" in the mednafen configuration file. + +Index: src/sexyal/sexyal.cpp +--- src/sexyal/sexyal.cpp.orig
Re: Update emulators/mednafen 0.9.48 -> 1.21.3
On 2018-08-19 10:34:51, Jeremy Evans wrote: > This upgrades mednafen to the latest released version. Initial diff > from an...@disroot.org, some changes by me. I tested most of the > emulator types, and all appear to work except SNES, which crashes for me > right after the window opens, with no useful debug output. Not sure if > that is a regression or not, or if it is due to my video card. I > generally use snes9x for SNES emulation. > > Ports-wise, the main change is that mednafen now requires SDL2. > > OKs? > I see the same crash with SNES emulation, but the old version crashed too, so that's not a regression. Sound doesn't work though. Initializing sound... Using "OpenBSD(/dev/audio*)" audio driver with SexyAL's default device selection.OpenBSD Audio Error: fd = open(id ? id : "/dev/audio", O_WRONLY) No such file or directory Error opening a sound device. [...] % ls -la /dev/audio ls: /dev/audio: No such file or directory I removed this link according to current.html which says the following: 2018/07/29 - Remove /dev/audio and /dev/audioctl The /dev/audio and /dev/audioctl symbolic links are not used anymore and can be removed: # rm /dev/audio /dev/audioctl So I had to apply the following patch to get sound. 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(); - 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); This got sound working for me, but I'm not sure how good of a solution it actually is. If anyone has multiple sound cards, then it would hardcode it to only work with /dev/audio0 A proper solution would probably be writing a proper sndio backend for it, but I'm not sure how much work that would actually entail. Failing that, I suppose another option would be to leave things as-is, and adding a MESSAGE telling the user to create the /dev/audio link manually. A final, and somewhat hackish solution (but still probably the best option if it could be made to work) would be to add something like the following patch (NOT WORKING IN ITS CURRENT STATE!). 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(); OBSD_TRY(fd = open(id ? id : "/dev/audio", O_WRONLY)); + OBSD_TRY(fd = open(id ? id : "/dev/audio0", O_WRONLY)); + OBSD_TRY(fd = open(id ? id : "/dev/audio1", O_WRONLY)); + OBSD_TRY(fd = open(id ? id : "/dev/audio2", O_WRONLY)); + OBSD_TRY(fd = open(id ? id : "/dev/audio3", O_WRONLY)); par.bits = SAMPFORMAT_BITS(format->sampformat); par.bps = SAMPFORMAT_BYTES(format->sampformat); So that it would check the /dev/audio link first, and then choose the first audio device that sucessfully opens if there's no /dev/audio link. That way, it would work for most people by choosing audio0, but could be overridden with a /dev/audio link for those who want to point it to a different device. All in all, I've lightly tested the update, and it seems to work fine for me with NES emulation at least. With my patch, audio works, as well as video, a USB gamepad, and everything else. Since you're the maintainer, I'll defer to your judgement on how to best handle the audio patching. Anyway, thanks for the update! -- Bryan
Update emulators/mednafen 0.9.48 -> 1.21.3
This upgrades mednafen to the latest released version. Initial diff from an...@disroot.org, some changes by me. I tested most of the emulator types, and all appear to work except SNES, which crashes for me right after the window opens, with no useful debug output. Not sure if that is a regression or not, or if it is due to my video card. I generally use snes9x for SNES emulation. Ports-wise, the main change is that mednafen now requires SDL2. OKs? Thanks, Jeremy Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- Makefile21 Nov 2017 00:13:00 - 1.24 +++ Makefile17 Aug 2018 19:13:00 - @@ -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-0.9.48 -REVISION = 0 +DISTNAME = mednafen-1.21.3 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io @@ -17,27 +16,26 @@ PERMIT_PACKAGE_CDROM = Yes MASTER_SITES = ${HOMEPAGE}/releases/files/ EXTRACT_SUFX = .tar.xz -WANTLIB += SDL c iconv intl m pthread sndfile sndio usbhid z -WANTLIB += FLAC ogg vorbis vorbisenc ${COMPILER_LIBCXX} +WANTLIB += SDL2 c iconv intl m pthread sndfile sndio usbhid z +WANTLIB += FLAC ogg samplerate vorbis vorbisenc ${COMPILER_LIBCXX} USE_GMAKE =Yes COMPILER = base-clang ports-gcc LIB_DEPENDS = audio/libsndfile \ devel/gettext \ - devel/sdl + devel/sdl2 WRKDIST = ${WRKDIR}/mednafen USE_WXNEEDED = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ENV =CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \ +CONFIGURE_ENV =CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL2" \ LDFLAGS="-L${LOCALBASE}/lib -pthread -nopie" CONFIGURE_ARGS = --disable-alsa \ --disable-rpath \ --disable-jack \ - --with-x \ --with-gnu-ld # this intrinsic is not supported with our old gcc Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo14 Nov 2017 06:46:20 - 1.10 +++ distinfo17 Aug 2018 17:02:11 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.48.tar.xz) = 08wMg49JZRGUbW6hj9pZZdK3FXfGEKzIEYNcyH0VIQI= -SIZE (mednafen-0.9.48.tar.xz) = 3203080 +SHA256 (mednafen-1.21.3.tar.xz) = LnYeiDSwmLfxqzXcyqbSvnFe6RBs9Ar0kZ9spLme48Y= +SIZE (mednafen-1.21.3.tar.xz) = 3208956
Update emulators/mednafen 0.9.46 -> 0.9.48
Routine update to mednafen. It appears all improvements are to the Sega Saturn emulation. I need to do more testing of this, so I don't plan on committing it for about a week. Thanks, Jeremy Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.21 diff -u -p -u -p -r1.21 Makefile --- Makefile2 Sep 2017 21:42:41 - 1.21 +++ Makefile4 Nov 2017 22:50:00 - @@ -3,7 +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-0.9.46 +DISTNAME = mednafen-0.9.48 CATEGORIES = emulators games HOMEPAGE = https://mednafen.github.io Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.9 diff -u -p -u -p -r1.9 distinfo --- distinfo2 Sep 2017 21:42:41 - 1.9 +++ distinfo4 Nov 2017 22:50:08 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.46.tar.xz) = Z0+vQr2wrVZJrqZdomawvjQomVyqp74YP8bT7XcyRno= -SIZE (mednafen-0.9.46.tar.xz) = 3187988 +SHA256 (mednafen-0.9.48.tar.xz) = 08wMg49JZRGUbW6hj9pZZdK3FXfGEKzIEYNcyH0VIQI= +SIZE (mednafen-0.9.48.tar.xz) = 3203080
Re: Update emulators/mednafen 0.9.38.7 -> 0.9.39.2
On 2016-10-19 22:41:27, Jeremy Evanswrote: > Update to the latest medafen release. The major change in this update > is the addition of Saturn support, which I tested and does appear to > work (at least with Shanghai Triple Threat). > Lightly tested on i386. No regressions seen. Seems OK to me. -- Bryan
Re: Update emulators/mednafen 0.9.38.7 -> 0.9.39.2
On Wed, Oct 19, 2016 at 10:41:27PM -0700, Jeremy Evans wrote: > Update to the latest medafen release. The major change in this update > is the addition of Saturn support, which I tested and does appear to > work (at least with Shanghai Triple Threat). > > Changelog: > > Added experimental Sega Saturn emulation. > > Low-accuracy "snes_faust" SNES emulation module is now compiled in and > available by default(but not used by default, except for SPC playback). > > The version is now displayed in the upper right corner of the F1 help > screen. > > Scrolling in the netplay and cheat consoles is now done in visible line > units, instead of internal line units as before, and when a console is > not scrolled all the way down, a green indicator arrow will now be drawn > in the lower right corner. > > Revamped the layout of the debugger's memory editor. > > MD: Replaced old 68K emulator with new 68K emulator developed for Saturn > emulation. Fixes major issues in "Double Clutch", "James Pond 3", and > "Sub-Terrania". However, timing is currently a bit off with the new 68K > emulation code, so there may be some regressions. > > MD: Implemented kludge to fix a startup lockup in "Turrican". > > NES: Implemented kludge to fix a minor Zelda 2 title screen glitch, a > status bar glitch in Burai Fighter, and scrolling in the second stage of > The Young Indiana Jones Chronicles. > > NES: Enabled SSE2 support in the audio resampler(though not used on all > CPUs with SSE2 support, mostly just newer ones). > > NES, PCE, PC-FX: Added ARM NEON support to the audio resamplers(when > compiled with -mfpu=neon or similar). > > PCE, PC-FX: Added AVX support to the audio resampler. > > PS1: Enabled emulation of a rarely-used CDC feature; fixes lockup bug in > "Fantastic Pinball Kyutenkai". > > PS1: Reordered CPU class data layout for a small performance boost on > ARM CPUs. > > SNES: Updated libco, for ARM support. > > > Only significant ports changes are the setting of USE_WXNEEDED, as > apparently mednafen uses W|X mappings, pointed out by brynet@. I also > had to remove the __inline code from the embedded quicklz to get this > new version to compile. > > Tested briefly on amd64, compiles on i386. I'll try to do the hard work > of additional testing this weekend, but assuming no problems I'll commit > unless I hear objections. > > Thanks, > Jeremy > > ... Great! :-) It works well enough again for me to play SNES SMW. It takes forever to compile though, heh. ok brynet@, if it helps (tested on amd64)
Update emulators/mednafen 0.9.38.7 -> 0.9.39.2
Update to the latest medafen release. The major change in this update is the addition of Saturn support, which I tested and does appear to work (at least with Shanghai Triple Threat). Changelog: Added experimental Sega Saturn emulation. Low-accuracy "snes_faust" SNES emulation module is now compiled in and available by default(but not used by default, except for SPC playback). The version is now displayed in the upper right corner of the F1 help screen. Scrolling in the netplay and cheat consoles is now done in visible line units, instead of internal line units as before, and when a console is not scrolled all the way down, a green indicator arrow will now be drawn in the lower right corner. Revamped the layout of the debugger's memory editor. MD: Replaced old 68K emulator with new 68K emulator developed for Saturn emulation. Fixes major issues in "Double Clutch", "James Pond 3", and "Sub-Terrania". However, timing is currently a bit off with the new 68K emulation code, so there may be some regressions. MD: Implemented kludge to fix a startup lockup in "Turrican". NES: Implemented kludge to fix a minor Zelda 2 title screen glitch, a status bar glitch in Burai Fighter, and scrolling in the second stage of The Young Indiana Jones Chronicles. NES: Enabled SSE2 support in the audio resampler(though not used on all CPUs with SSE2 support, mostly just newer ones). NES, PCE, PC-FX: Added ARM NEON support to the audio resamplers(when compiled with -mfpu=neon or similar). PCE, PC-FX: Added AVX support to the audio resampler. PS1: Enabled emulation of a rarely-used CDC feature; fixes lockup bug in "Fantastic Pinball Kyutenkai". PS1: Reordered CPU class data layout for a small performance boost on ARM CPUs. SNES: Updated libco, for ARM support. Only significant ports changes are the setting of USE_WXNEEDED, as apparently mednafen uses W|X mappings, pointed out by brynet@. I also had to remove the __inline code from the embedded quicklz to get this new version to compile. Tested briefly on amd64, compiles on i386. I'll try to do the hard work of additional testing this weekend, but assuming no problems I'll commit unless I hear objections. Thanks, Jeremy Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.14 diff -u -p -r1.14 Makefile --- Makefile17 Jan 2016 21:12:14 - 1.14 +++ Makefile20 Oct 2016 04:42:07 - @@ -3,7 +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 -V =0.9.38.7 +V =0.9.39.2 DISTNAME = mednafen-${V} CATEGORIES = emulators games @@ -31,6 +31,8 @@ LIB_DEPENDS = audio/libsndfile \ WRKDIST = ${WRKDIR}/mednafen +USE_WXNEEDED = Yes + CONFIGURE_STYLE = gnu CONFIGURE_ENV =CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \ LDFLAGS="-L${LOCALBASE}/lib -pthread" @@ -42,6 +44,9 @@ CONFIGURE_ARGS = --disable-alsa \ # this intrinsic is not supported with our old gcc CONFIGURE_ARGS += --disable-altivec + +pre-configure: + sed -i 's/^__inline//' ${WRKDIST}/src/quicklz/quicklz.c post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo17 Jan 2016 21:12:14 - 1.7 +++ distinfo20 Oct 2016 04:14:48 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.38.7.tar.bz2) = G7O+74g6Mlw10aHOFJWcMHpMMh8uop1N2yFsbdA63tg= -SIZE (mednafen-0.9.38.7.tar.bz2) = 3882418 +SHA256 (mednafen-0.9.39.2.tar.bz2) = tCRwst32jOB0f1uLpOHRwwR/qMRbjhaNpD8+JGHsNMw= +SIZE (mednafen-0.9.39.2.tar.bz2) = 4005259 Index: pkg/PLIST === RCS file: /cvs/ports/emulators/mednafen/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 28 Jun 2014 04:08:48 - 1.3 +++ pkg/PLIST 20 Oct 2016 04:56:00 - @@ -1,11 +1,11 @@ @comment $OpenBSD: PLIST,v 1.3 2014/06/28 04:08:48 jeremy Exp $ @bin bin/mednafen share/doc/mednafen/ -share/doc/mednafen/Makefile.am -share/doc/mednafen/Makefile.in share/doc/mednafen/README.jpeg4a share/doc/mednafen/bwolf0.png share/doc/mednafen/bwolf1.png +share/doc/mednafen/cdplay.html +share/doc/mednafen/cdplay.php share/doc/mednafen/cheat.html share/doc/mednafen/cheats.txt share/doc/mednafen/debugger.html @@ -49,6 +49,12 @@ share/doc/mednafen/sms.html share/doc/mednafen/sms.php share/doc/mednafen/snes.html share/doc/mednafen/snes.php +share/doc/mednafen/snes_faust.html +share/doc/mednafen/snes_faust.php +share/doc/mednafen/ss.html +share/doc/mednafen/ss.php +share/doc/mednafen/ssfplay.html
Re: Update: emulators/mednafen
0.9.8.35 also dumped core on exit 100% of the time, iirc. On Jan 17, 2016 2:44 PM, "Ryan Freeman"wrote: > On Sun, Jan 17, 2016 at 11:47:39AM +, Stuart Henderson wrote: > > On 2016/01/16 22:49, Micah Muer wrote: > > > +Mednafen is a portable, utilizing OpenGL and SDL, > > > +argument(command-line)-driven multi-system emulator with many advanced > > > +features. The Atari Lynx, Neo Geo Pocket (Color), WonderSwan, Game Boy > > > +(Color), Game Boy Advance, NES, SNES, Virtual Boy, PC Engine > (TurboGrafx > > > +16), Super Grafx, Sega Game Gear, Sega Genesis (Megadrive), Sega > Master > > > +System, and Sony Playstation are emulated. Mednafen has the ability > to > > > +remap hotkey functions and virtual system inputs to a keyboard, a > > > +joystick, or both simultaneously. Save states are supported, as is > > > +real-time game rewinding. Screen snapshots may be taken at the press > of > > > +a button, and are saved in the popular PNG file format. > > > > > > > If DESCR is being updated anyway, it would be nice to rewrite the > > first sentence in something closer to English. Here's a possible > > alternative: > > > > Mednafen ("My Emulator Doesn't Need a Frickin' Excellent Name") is a > > portable emulator for a number of video game consoles, including the > Atari > > Lynx, Neo Geo Pocket (Color), WonderSwan, GameBoy (Color), GameBoy > Advance, > > Nintendo Entertainment System, Super Nintendo Entertainment System/Super > > Famicom, Virtual Boy, PC Engine/TurboGrafx 16 (CD), SuperGrafx, PC-FX, > Sega > > Game Gear, Sega Genesis/Megadrive, Sega Master System, and Sony > PlayStation. > > > > Mednafen has the ability to remap hotkey functions and virtual system > inputs > > to a keyboard, a joystick, or both simultaneously. Save states are > supported, > > as is real-time game rewinding. PNG screen snapshots may be taken at the > press > > of a button, and video can be recorded in the QuickTime file format with > > several different lossless codecs supported. > > > > I have to agree with Stuart here, while the current DESCR is taken right > from > Mednafen's homepage, the whole "Mednafen is a portable, utilizing OpenGL > and SDL," > blurb seems highly awkward to read... I like what you've come up with as > an > alternative. > > In terms of the actual port update, it runs really well but noticed it > always > dumps a core on exit, am I alone here or is that expected/ignored for sake > of having the update? > > --snip-- > Checking extensions: >GL_ARB_texture_non_power_of_two found. >GL_ARB_sync found. > Using non-power-of-2 sized textures. > Checking maximum texture size... >Apparently it is at least: 8192 x 8192 > Using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV for texture source data. > Bus error (core dumped) > > 15:43 ryan@iddqd:~$ gdb mednafen mednafen.core > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-unknown-openbsd5.9"... > (no debugging symbols found) > > Core was generated by `mednafen'. > Program terminated with signal 10, Bus error. > Reading symbols from /usr/lib/libpthread.so.20.1...done. > Loaded symbols for /usr/lib/libpthread.so.20.1 > Loaded symbols for /usr/local/bin/mednafen > Reading symbols from /usr/local/lib/libSDL.so.8.0...done. > Loaded symbols for /usr/local/lib/libSDL.so.8.0 > Reading symbols from /usr/local/lib/libiconv.so.6.0...done. > Loaded symbols for /usr/local/lib/libiconv.so.6.0 > Reading symbols from /usr/lib/libsndio.so.6.1...done. > Loaded symbols for /usr/lib/libsndio.so.6.1 > Reading symbols from /usr/lib/libusbhid.so.7.0...done. > Loaded symbols for /usr/lib/libusbhid.so.7.0 > Reading symbols from /usr/local/lib/libintl.so.6.0...done. > Loaded symbols for /usr/local/lib/libintl.so.6.0 > Reading symbols from /usr/local/lib/libsndfile.so.4.0...done. > Loaded symbols for /usr/local/lib/libsndfile.so.4.0 > Reading symbols from /usr/local/lib/libFLAC.so.10.0...done. > Loaded symbols for /usr/local/lib/libFLAC.so.10.0 > Reading symbols from /usr/local/lib/libogg.so.6.2...done. > Loaded symbols for /usr/local/lib/libogg.so.6.2 > Reading symbols from /usr/local/lib/libvorbis.so.9.0...done. > Loaded symbols for /usr/local/lib/libvorbis.so.9.0 > Reading symbols from /usr/local/lib/libvorbisenc.so.3.1...done. > Loaded symbols for /usr/local/lib/libvorbisenc.so.3.1 > Reading symbols from /usr/lib/libz.so.5.0...done. > Loaded symbols for /usr/lib/libz.so.5.0 > Reading symbols from /usr/local/lib/libestdc++.so.17.0...done. > Loaded symbols for /usr/local/lib/libestdc++.so.17.0 > Reading symbols from /usr/lib/libm.so.9.0...done. > Loaded symbols for /usr/lib/libm.so.9.0 > Symbols already loaded for
Re: Update: emulators/mednafen
On Sun, Jan 17, 2016 at 11:47:39AM +, Stuart Henderson wrote: > On 2016/01/16 22:49, Micah Muer wrote: > > +Mednafen is a portable, utilizing OpenGL and SDL, > > +argument(command-line)-driven multi-system emulator with many advanced > > +features. The Atari Lynx, Neo Geo Pocket (Color), WonderSwan, Game Boy > > +(Color), Game Boy Advance, NES, SNES, Virtual Boy, PC Engine (TurboGrafx > > +16), Super Grafx, Sega Game Gear, Sega Genesis (Megadrive), Sega Master > > +System, and Sony Playstation are emulated. Mednafen has the ability to > > +remap hotkey functions and virtual system inputs to a keyboard, a > > +joystick, or both simultaneously. Save states are supported, as is > > +real-time game rewinding. Screen snapshots may be taken at the press of > > +a button, and are saved in the popular PNG file format. > > > > If DESCR is being updated anyway, it would be nice to rewrite the > first sentence in something closer to English. Here's a possible > alternative: > > Mednafen ("My Emulator Doesn't Need a Frickin' Excellent Name") is a > portable emulator for a number of video game consoles, including the Atari > Lynx, Neo Geo Pocket (Color), WonderSwan, GameBoy (Color), GameBoy Advance, > Nintendo Entertainment System, Super Nintendo Entertainment System/Super > Famicom, Virtual Boy, PC Engine/TurboGrafx 16 (CD), SuperGrafx, PC-FX, Sega > Game Gear, Sega Genesis/Megadrive, Sega Master System, and Sony PlayStation. > > Mednafen has the ability to remap hotkey functions and virtual system inputs > to a keyboard, a joystick, or both simultaneously. Save states are supported, > as is real-time game rewinding. PNG screen snapshots may be taken at the press > of a button, and video can be recorded in the QuickTime file format with > several different lossless codecs supported. > I have to agree with Stuart here, while the current DESCR is taken right from Mednafen's homepage, the whole "Mednafen is a portable, utilizing OpenGL and SDL," blurb seems highly awkward to read... I like what you've come up with as an alternative. In terms of the actual port update, it runs really well but noticed it always dumps a core on exit, am I alone here or is that expected/ignored for sake of having the update? --snip-- Checking extensions: GL_ARB_texture_non_power_of_two found. GL_ARB_sync found. Using non-power-of-2 sized textures. Checking maximum texture size... Apparently it is at least: 8192 x 8192 Using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV for texture source data. Bus error (core dumped) 15:43 ryan@iddqd:~$ gdb mednafen mednafen.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unknown-openbsd5.9"... (no debugging symbols found) Core was generated by `mednafen'. Program terminated with signal 10, Bus error. Reading symbols from /usr/lib/libpthread.so.20.1...done. Loaded symbols for /usr/lib/libpthread.so.20.1 Loaded symbols for /usr/local/bin/mednafen Reading symbols from /usr/local/lib/libSDL.so.8.0...done. Loaded symbols for /usr/local/lib/libSDL.so.8.0 Reading symbols from /usr/local/lib/libiconv.so.6.0...done. Loaded symbols for /usr/local/lib/libiconv.so.6.0 Reading symbols from /usr/lib/libsndio.so.6.1...done. Loaded symbols for /usr/lib/libsndio.so.6.1 Reading symbols from /usr/lib/libusbhid.so.7.0...done. Loaded symbols for /usr/lib/libusbhid.so.7.0 Reading symbols from /usr/local/lib/libintl.so.6.0...done. Loaded symbols for /usr/local/lib/libintl.so.6.0 Reading symbols from /usr/local/lib/libsndfile.so.4.0...done. Loaded symbols for /usr/local/lib/libsndfile.so.4.0 Reading symbols from /usr/local/lib/libFLAC.so.10.0...done. Loaded symbols for /usr/local/lib/libFLAC.so.10.0 Reading symbols from /usr/local/lib/libogg.so.6.2...done. Loaded symbols for /usr/local/lib/libogg.so.6.2 Reading symbols from /usr/local/lib/libvorbis.so.9.0...done. Loaded symbols for /usr/local/lib/libvorbis.so.9.0 Reading symbols from /usr/local/lib/libvorbisenc.so.3.1...done. Loaded symbols for /usr/local/lib/libvorbisenc.so.3.1 Reading symbols from /usr/lib/libz.so.5.0...done. Loaded symbols for /usr/lib/libz.so.5.0 Reading symbols from /usr/local/lib/libestdc++.so.17.0...done. Loaded symbols for /usr/local/lib/libestdc++.so.17.0 Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Symbols already loaded for /usr/lib/libpthread.so.20.1 Reading symbols from /usr/lib/libc.so.84.2...done. Loaded symbols for /usr/lib/libc.so.84.2 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done. Loaded symbols for /usr/X11R6/lib/libX11.so.16.1 Reading symbols from
Re: Update: emulators/mednafen
On 2016/01/16 22:49, Micah Muer wrote: > +Mednafen is a portable, utilizing OpenGL and SDL, > +argument(command-line)-driven multi-system emulator with many advanced > +features. The Atari Lynx, Neo Geo Pocket (Color), WonderSwan, Game Boy > +(Color), Game Boy Advance, NES, SNES, Virtual Boy, PC Engine (TurboGrafx > +16), Super Grafx, Sega Game Gear, Sega Genesis (Megadrive), Sega Master > +System, and Sony Playstation are emulated. Mednafen has the ability to > +remap hotkey functions and virtual system inputs to a keyboard, a > +joystick, or both simultaneously. Save states are supported, as is > +real-time game rewinding. Screen snapshots may be taken at the press of > +a button, and are saved in the popular PNG file format. > If DESCR is being updated anyway, it would be nice to rewrite the first sentence in something closer to English. Here's a possible alternative: Mednafen ("My Emulator Doesn't Need a Frickin' Excellent Name") is a portable emulator for a number of video game consoles, including the Atari Lynx, Neo Geo Pocket (Color), WonderSwan, GameBoy (Color), GameBoy Advance, Nintendo Entertainment System, Super Nintendo Entertainment System/Super Famicom, Virtual Boy, PC Engine/TurboGrafx 16 (CD), SuperGrafx, PC-FX, Sega Game Gear, Sega Genesis/Megadrive, Sega Master System, and Sony PlayStation. Mednafen has the ability to remap hotkey functions and virtual system inputs to a keyboard, a joystick, or both simultaneously. Save states are supported, as is real-time game rewinding. PNG screen snapshots may be taken at the press of a button, and video can be recorded in the QuickTime file format with several different lossless codecs supported.
Update: emulators/mednafen
Here is a small update to emulators/mednafen. This diff brings the port up two minor releases, updates the homepage, and updates the DESCR to mention several new emulation cores that have been added to mednafen since the DESCR was originally written. I've been running this on amd64 for a while without issue. Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.13 diff -u -p -u -p -r1.13 Makefile --- Makefile4 Dec 2015 20:47:53 - 1.13 +++ Makefile17 Jan 2016 03:13:17 - @@ -3,11 +3,11 @@ BROKEN-hppa = ../../include/mednafen/state.h:21:7: error: 'exception_ptr' in namespace 'std' does not name a type COMMENT = emulates numerous game consoles -V =0.9.38.5 +V =0.9.38.7 DISTNAME = mednafen-${V} CATEGORIES = emulators games -HOMEPAGE = http://mednafen.sourceforge.net/ +HOMEPAGE = http://mednafen.fobby.net/ MAINTAINER = Jeremy EvansIndex: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.6 diff -u -p -u -p -r1.6 distinfo --- distinfo26 Jul 2015 06:08:15 - 1.6 +++ distinfo17 Jan 2016 03:13:17 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.38.5.tar.bz2) = EMXmug2CLPLlqqI2yobm7EiaVgQ1MLo/3CD3CSnnOOg= -SIZE (mednafen-0.9.38.5.tar.bz2) = 3898093 +SHA256 (mednafen-0.9.38.7.tar.bz2) = G7O+74g6Mlw10aHOFJWcMHpMMh8uop1N2yFsbdA63tg= +SIZE (mednafen-0.9.38.7.tar.bz2) = 3882418 Index: pkg/DESCR === RCS file: /cvs/ports/emulators/mednafen/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 DESCR --- pkg/DESCR 14 Mar 2011 21:04:51 - 1.1.1.1 +++ pkg/DESCR 17 Jan 2016 03:13:17 - @@ -1,9 +1,9 @@ -Mednafen is a portable, utilizing OpenGL and SDL, -argument(command-line)-driven multi-system emulator with many advanced -features. The Atari Lynx, GameBoy (Color), GameBoy Advance, NES, PC -Engine(TurboGrafx 16), SuperGrafx, Neo Geo Pocket (Color), PC-FX, and -WonderSwan (Color) are emulated. Mednafen has the ability to remap -hotkey functions and virtual system inputs to a keyboard, a joystick, or -both simultaneously. Save states are supported, as is real-time game -rewinding. Screen snapshots may be taken at the press of a button, and -are saved in the popular PNG file format. +Mednafen is a portable, utilizing OpenGL and SDL, +argument(command-line)-driven multi-system emulator with many advanced +features. The Atari Lynx, Neo Geo Pocket (Color), WonderSwan, Game Boy +(Color), Game Boy Advance, NES, SNES, Virtual Boy, PC Engine (TurboGrafx +16), Super Grafx, Sega Game Gear, Sega Genesis (Megadrive), Sega Master +System, and Sony Playstation are emulated. Mednafen has the ability to +remap hotkey functions and virtual system inputs to a keyboard, a +joystick, or both simultaneously. Save states are supported, as is +real-time game rewinding. Screen snapshots may be taken at the press of +a button, and are saved in the popular PNG file format.
Re: Update emulators/mednafen 0.9.28 - 0.9.35.1
On 2014-06-26, Jeremy Evans jer...@openbsd.org wrote: Tested on amd64. I'll try to compile test on i386 tomorrow, but I doubt there will be problems there. You'd think that wouldn't you. But actually, a lot of people seem to just test on amd64 now, so we run into some problems on LP32 arch that we wouldn't have seen a couple of years ago..
Re: Update emulators/mednafen 0.9.28 - 0.9.35.1
On Thu, Jun 26, 2014 at 4:11 AM, Stuart Henderson s...@spacehopper.org wrote: On 2014-06-26, Jeremy Evans jer...@openbsd.org wrote: Tested on amd64. I'll try to compile test on i386 tomorrow, but I doubt there will be problems there. You'd think that wouldn't you. But actually, a lot of people seem to just test on amd64 now, so we run into some problems on LP32 arch that we wouldn't have seen a couple of years ago.. Thankfully, this compiles and packages fine on i386.
Update emulators/mednafen 0.9.28 - 0.9.35.1
Fairly simple update to the latest version of mednafen (on SourceForge at least, mednafen forums have a link to 0.9.36.1). I did the hard work of testing this upgrade for the following systems: Game Gear, Game Boy, Game Boy, Game Boy Color, Game Boy Advance, Genesis, Lynx, NES, Neo-Geo Portable, PC Engine (CD and HuCard), Master System, SNES, and Wonderswan. One thing I noticed is that when I have a joystick plugged in, mednafen runs fine but does not exit, and needs a kill -9. However, it appears this also happens with the current ports version, so it doesn't seem related to the upgrade. It's a use-after-free somewhere, since it works fine with MALLOC_OPTIONS=-j. Running in gdb, I get this backtrace when exiting: Program received signal SIGBUS, Bus error. 0x039e31d1733a in SDL_SYS_JoystickClose () from /usr/local/lib/libSDL.so.8.0 (gdb) bt #0 0x039e31d1733a in SDL_SYS_JoystickClose () from /usr/local/lib/libSDL.so.8.0 #1 0x039e31cfc748 in SDL_JoystickClose () from /usr/local/lib/libSDL.so.8.0 #2 0x039c3067cf70 in trio_to_lower () from /usr/local/bin/mednafen #3 0x039c3067e6e1 in trio_to_lower () from /usr/local/bin/mednafen #4 0x039c3067b5e7 in trio_to_lower () from /usr/local/bin/mednafen #5 0x039c30612253 in trio_to_lower () from /usr/local/bin/mednafen #6 0x039c3059f0e1 in ?? () from /usr/local/bin/mednafen #7 0x in ?? () Tested on amd64. I'll try to compile test on i386 tomorrow, but I doubt there will be problems there. OKs? Thanks, Jeremy Index: Makefile === RCS file: /cvs/ports/emulators/mednafen/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile25 Nov 2013 14:16:22 - 1.10 +++ Makefile24 Jun 2014 22:51:04 - @@ -2,10 +2,8 @@ COMMENT = emulates numerous game consoles -V =0.9.28 -DISTNAME = mednafen-${V}-wip -PKGNAME = mednafen-${V} -REVISION = 0 +V =0.9.35.1 +DISTNAME = mednafen-${V} CATEGORIES = emulators games HOMEPAGE = http://mednafen.sourceforge.net/ Index: distinfo === RCS file: /cvs/ports/emulators/mednafen/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo23 Jan 2013 21:36:06 - 1.4 +++ distinfo24 Jun 2014 22:50:55 - @@ -1,2 +1,2 @@ -SHA256 (mednafen-0.9.28-wip.tar.bz2) = QVzgBVxDVg+45bIlEIz+svsjY4QcOcw36qHF5gVnW94= -SIZE (mednafen-0.9.28-wip.tar.bz2) = 3901828 +SHA256 (mednafen-0.9.35.1.tar.bz2) = N+PPM68Io1ymlX4W4edDVglnJ+/ddYMixuTuV5sBCok= +SIZE (mednafen-0.9.35.1.tar.bz2) = 4264648 Index: pkg/PLIST === RCS file: /cvs/ports/emulators/mednafen/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 27 Sep 2012 04:13:17 - 1.2 +++ pkg/PLIST 24 Jun 2014 22:59:04 - @@ -6,6 +6,7 @@ share/doc/mednafen/Makefile.in share/doc/mednafen/README.jpeg4a share/doc/mednafen/bwolf0.png share/doc/mednafen/bwolf1.png +share/doc/mednafen/cheat.html share/doc/mednafen/cheats.txt share/doc/mednafen/debugger.html share/doc/mednafen/docgen.inc