diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2006-09-12 16:43:23 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2006-09-12 16:43:23 +0000 |
commit | 45d55f86ac3cd6a21ba47f0a7ebb54e564f9ab06 (patch) | |
tree | e0d580b2520a6f559d64fcfebefd8c8d9fe7d000 /emulators/mednafen | |
parent | 913b09d6e7c71c8eb74324adf5d2f8b7e4746776 (diff) | |
download | ports-45d55f86ac3cd6a21ba47f0a7ebb54e564f9ab06.tar.gz ports-45d55f86ac3cd6a21ba47f0a7ebb54e564f9ab06.zip |
Notes
Diffstat (limited to 'emulators/mednafen')
-rw-r--r-- | emulators/mednafen/Makefile | 6 | ||||
-rw-r--r-- | emulators/mednafen/distinfo | 6 | ||||
-rw-r--r-- | emulators/mednafen/files/patch-src_Blip_Buffer.cpp | 25 |
3 files changed, 6 insertions, 31 deletions
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index 9b543ab55171..1753f0587cf8 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -6,9 +6,9 @@ # PORTNAME= mednafen -PORTVERSION= 0.6.4 +PORTVERSION= 0.6.5 CATEGORIES= emulators games -MASTER_SITES= http://mednafen.com/releases/ +MASTER_SITES= http://mednafen.com/releases/files/ MAINTAINER= acm@FreeBSD.org COMMENT= Portable multi-system emulator @@ -50,7 +50,7 @@ IGNORE= needs round(3), which appears in 5.3 or later .endif pre-configure: - @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure post-install: .if !defined(NOPORTDOCS) diff --git a/emulators/mednafen/distinfo b/emulators/mednafen/distinfo index 770c61cf46d5..65ada19394c5 100644 --- a/emulators/mednafen/distinfo +++ b/emulators/mednafen/distinfo @@ -1,3 +1,3 @@ -MD5 (mednafen-0.6.4.tar.bz2) = 00ae6624d2e674c8a77ab4ea0086c17c -SHA256 (mednafen-0.6.4.tar.bz2) = 149de61fc5dc1b34054a931438ecb22307a5c333e52826dfa98180a873608cbe -SIZE (mednafen-0.6.4.tar.bz2) = 1518068 +MD5 (mednafen-0.6.5.tar.bz2) = dc1afcdc1466216f647d14afbd22caa1 +SHA256 (mednafen-0.6.5.tar.bz2) = eea723e4d0317045b59e8cf37a8ee8d516128c9f5b4cb34e4452823b7fded731 +SIZE (mednafen-0.6.5.tar.bz2) = 1525123 diff --git a/emulators/mednafen/files/patch-src_Blip_Buffer.cpp b/emulators/mednafen/files/patch-src_Blip_Buffer.cpp deleted file mode 100644 index dfa4d62fd709..000000000000 --- a/emulators/mednafen/files/patch-src_Blip_Buffer.cpp +++ /dev/null @@ -1,25 +0,0 @@ ---- src/Blip_Buffer.cpp Thu Aug 24 12:12:17 2006 -+++ src/Blip_Buffer.cpp Thu Aug 24 12:12:48 2006 -@@ -190,16 +190,16 @@ - treble = 5.0; - - long double const maxh = 4096.0; -- long double const rolloff = powl( 10.0, 1.0 / (maxh * 20.0) * treble / (1.0 - cutoff) ); -- long double const pow_a_n = powl( rolloff, maxh - maxh * cutoff ); -+ long double const rolloff = pow( 10.0, 1.0 / (maxh * 20.0) * treble / (1.0 - cutoff) ); -+ long double const pow_a_n = pow( rolloff, maxh - maxh * cutoff ); - long double const to_angle = pi / 2 / maxh / oversample; - for ( int i = 0; i < count; i++ ) - { - long double angle = ((i - count) * 2 + 1) * to_angle; -- long double c = rolloff * cosl( (maxh - 1.0) * angle ) - cosl( maxh * angle ); -- long double cos_nc_angle = cosl( maxh * cutoff * angle ); -- long double cos_nc1_angle = cosl( (maxh * cutoff - 1.0) * angle ); -- long double cos_angle = cosl( angle ); -+ long double c = rolloff * cos( (maxh - 1.0) * angle ) - cos( maxh * angle ); -+ long double cos_nc_angle = cos( maxh * cutoff * angle ); -+ long double cos_nc1_angle = cos( (maxh * cutoff - 1.0) * angle ); -+ long double cos_angle = cos( angle ); - - c = c * pow_a_n - rolloff * cos_nc1_angle + cos_nc_angle; - long double d = 1.0 + rolloff * (rolloff - cos_angle - cos_angle); |