Update to mednafen 0.9.24. The distfile is marked WIP, but according

to upstream it's more stable than the 0.8.D.3 release.  Adds support
for SNES and Genesis emulation.

diff from bentley@
OK edd@
This commit is contained in:
jeremy 2012-09-27 04:13:17 +00:00
parent 2d97f3865e
commit d9aaf2d089
5 changed files with 55 additions and 48 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2011/09/06 19:21:52 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2012/09/27 04:13:17 jeremy Exp $
COMMENT = emulates numerous game consoles
DISTNAME = mednafen-0.8.D.3
PKGNAME = mednafen-0.8.3
DISTNAME = mednafen-0.9.24-wip
PKGNAME = mednafen-0.9.24
CATEGORIES = emulators games
HOMEPAGE = http://mednafen.sourceforge.net/
@ -21,8 +21,7 @@ EXTRACT_SUFX = .tar.bz2
MODULES = devel/gettext
WANTLIB += SDL SDL_net c cdio m pthread sndfile sndio stdc++ usbhid
WANTLIB += z
WANTLIB += SDL c cdio m pthread sndfile sndio stdc++ usbhid z
USE_GMAKE = Yes

View File

@ -1,5 +1,2 @@
MD5 (mednafen-0.8.D.3.tar.bz2) = V9IoBQcb7NgYWLDAiKJ15Q==
RMD160 (mednafen-0.8.D.3.tar.bz2) = VG9JqVQbpNA2f+aCrvI82t89cyU=
SHA1 (mednafen-0.8.D.3.tar.bz2) = sZuSEBhTy2U1BkVv2KscC7C25jY=
SHA256 (mednafen-0.8.D.3.tar.bz2) = 1ngXjw3APInHoMg78Mchr0Bu5T36eSlUMqsTci7Q7qI=
SIZE (mednafen-0.8.D.3.tar.bz2) = 2442705
SHA256 (mednafen-0.9.24-wip.tar.bz2) = lltclSU8k4Q2Vt+AErpSO5KtaapHmV7yJpT2BGgs4EM=
SIZE (mednafen-0.9.24-wip.tar.bz2) = 3803108

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-src_gba_Port_h,v 1.1.1.1 2011/03/14 21:04:51 jeremy Exp $
--- src/gba/Port.h.orig Fri Mar 11 13:59:32 2011
+++ src/gba/Port.h Fri Mar 11 14:00:04 2011
@@ -20,6 +20,7 @@
#ifndef VBA_PORT_H
#define VBA_PORT_H
+#ifndef __OpenBSD__
// swaps a 16-bit value
static inline uint16 swap16(uint16 v)
{
@@ -31,6 +32,7 @@ static inline uint32 swap32(uint32 v)
{
return (v<<24)|((v<<8)&0xff0000)|((v>>8)&0xff00)|(v>>24);
}
+#endif
#ifndef LSB_FIRST
#if defined(__GNUC__) && defined(__ppc__)

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-src_types_h,v 1.1.1.1 2011/03/14 21:04:51 jeremy Exp $
--- src/types.h.orig Fri Mar 11 13:58:51 2011
+++ src/types.h Fri Mar 11 13:58:56 2011
@@ -167,12 +167,14 @@ typedef struct
#endif
#endif
+#ifndef __OpenBSD__
#ifndef htole32
#define htole32 le32toh
#endif
#ifndef htole16
#define htole16 le16toh
+#endif
#endif

View File

@ -1,11 +1,59 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/14 21:04:51 jeremy Exp $
@comment $OpenBSD: PLIST,v 1.2 2012/09/27 04:13:17 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/cheats.txt
share/doc/mednafen/debugger.html
share/doc/mednafen/docgen.inc
share/doc/mednafen/fname_format.txt
share/doc/mednafen/gb.html
share/doc/mednafen/gb.php
share/doc/mednafen/gba.html
share/doc/mednafen/gba.php
share/doc/mednafen/generate.sh
share/doc/mednafen/gg.html
share/doc/mednafen/gg.php
share/doc/mednafen/headerbg.png
share/doc/mednafen/lynx.html
share/doc/mednafen/lynx.php
share/doc/mednafen/md.html
share/doc/mednafen/md.php
share/doc/mednafen/mednafen.css
share/doc/mednafen/mednafen.html
share/doc/mednafen/mednafen.php
share/doc/mednafen/mednafen.png
share/doc/mednafen/modules.def
share/doc/mednafen/nes.html
share/doc/mednafen/nes.php
share/doc/mednafen/netplay.html
share/doc/mednafen/netplay.php
share/doc/mednafen/ngp.html
share/doc/mednafen/ngp.php
share/doc/mednafen/pce.html
share/doc/mednafen/pce.php
share/doc/mednafen/pce_fast.html
share/doc/mednafen/pce_fast.php
share/doc/mednafen/pcfx.html
share/doc/mednafen/pcfx.php
share/doc/mednafen/psx.html
share/doc/mednafen/psx.php
share/doc/mednafen/sapphire0.png
share/doc/mednafen/sapphire1.png
share/doc/mednafen/settings.def
share/doc/mednafen/sms.html
share/doc/mednafen/sms.php
share/doc/mednafen/snes.html
share/doc/mednafen/snes.php
share/doc/mednafen/vb.html
share/doc/mednafen/vb.php
share/doc/mednafen/wswan.html
share/doc/mednafen/wswan.php
share/locale/de/LC_MESSAGES/mednafen.mo
share/locale/es/LC_MESSAGES/mednafen.mo
share/locale/ru/LC_MESSAGES/mednafen.mo
share/mednafen/
share/mednafen/c68k_op0.inc