View | Details | Raw Unified | Return to bug 75500
Collapse All | Expand All

(-)zsnes/Makefile (-6 / +10 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	zsnes
8
PORTNAME=	zsnes
9
PORTVERSION=	1.36
9
PORTVERSION=	1.40
10
PORTREVISION=	3
11
PORTEPOCH=	1
10
PORTEPOCH=	1
12
CATEGORIES=	emulators
11
CATEGORIES=	emulators
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
Lines 25-42 Link Here
25
USE_X_PREFIX=	yes
24
USE_X_PREFIX=	yes
26
USE_GMAKE=	yes
25
USE_GMAKE=	yes
27
26
27
CFLAGS+=	-I${X11BASE}/include
28
29
WANT_AUTOCONF_VER=	259
30
WANT_AUTOMAKE_VER=	15
31
28
MAN1=		zsnes.1
32
MAN1=		zsnes.1
29
PLIST_FILES=	bin/zsnes
33
PLIST_FILES=	bin/zsnes
30
34
31
# non-portable, for a portable version see emulators/snes9x
35
# non-portable, for a portable emulator see emulators/snes9x
32
ONLY_FOR_ARCHS=	i386
36
ONLY_FOR_ARCHS=	i386
33
37
34
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
38
WRKSRC=		${WRKDIR}/${PORTNAME}_1_40/src
35
39
36
GNU_CONFIGURE=	yes
40
GNU_CONFIGURE=	yes
37
ALL_TARGET=	ALL
41
ALL_TARGET=	ALL
38
42
39
post-install:
43
pre-configure:
40
	@${CAT} ${PKGMESSAGE}
44
	cd ${WRKSRC}; ${SH} ${ACLOCAL}; ${SH} ${AUTOCONF}
41
45
42
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)zsnes/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (zsnes136src.tar.gz) = 576f6f5cc50c7c6f7877aca220ee99b3
1
MD5 (zsnes140src.tar.gz) = 770afa48055722e76574841ca5976126
2
SIZE (zsnes136src.tar.gz) = 901081
2
SIZE (zsnes140src.tar.gz) = 1062598
(-)zsnes/files/patch-aa (-19 lines)
Lines 1-20 Link Here
1
--- linux/sdllink.c.orig	Mon May 31 01:15:18 2004
2
+++ linux/sdllink.c	Mon May 31 01:16:17 2004
3
@@ -493,7 +493,7 @@
4
 int InitSound(void)
5
 {
6
 	SDL_AudioSpec wanted;
7
-	const int samptab[7] = { 1, 1, 2, 4, 2, 4, 4 };
8
+	const int samptab[7] = { 64, 64, 128, 256, 128, 256, 256 };
9
 	const int freqtab[7] = { 8000, 11025, 22050, 44100, 16000,
10
 	SDL_CloseAudio();
11
@@ -519,7 +519,7 @@
12
 		wanted.channels = 1;
13
 	}
14
 
15
-	wanted.samples = samptab[SoundQuality] * 128 * wanted.channels;
16
+	wanted.samples = samptab[SoundQuality] * 8 * wanted.channels;
17
 	wanted.format = AUDIO_S16LSB;
18
 	wanted.userdata = NULL;
19
 	wanted.callback = UpdateSound;
(-)zsnes/pkg-message (-13 lines)
Lines 1-14 Link Here
1
----------------------------------------------------------------------
2
---------This port revision fixes a sound problem (distortion) many
3
4
With this revision comes a new bug. You will have to restart ZSNES each
5
time you modify the sound settings within the sound menu for them to
6
7
Please let me know if you experience any other problems or if you have 
8
any information regarding this issue! 
9
10
- Travis Poppe
11
tlp@LiquidX.org
12
----------------------------------------------------------------------
13
--------

Return to bug 75500