- Update to 0.6.5

- Modify MASTER_SITES
- Remove obsolete patch file

Approved by:	garga (mentor,implicit)
This commit is contained in:
Jose Alonso Cardenas Marquez 2006-09-12 16:43:23 +00:00
parent 913b09d6e7
commit 45d55f86ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172867
3 changed files with 6 additions and 31 deletions

View file

@ -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)

View file

@ -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

View file

@ -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);