ports/75500: [UPDATE]: emulators/zsnes updated to 1.40
Travis Poppe
tlp at LiquidX.org
Sun Dec 26 02:10:26 UTC 2004
>Number: 75500
>Category: ports
>Synopsis: [UPDATE]: emulators/zsnes updated to 1.40
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 26 02:10:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Travis Poppe
>Release:
>Organization:
>Environment:
>Description:
Update ZSNES to the latest version.
The files directory and pkg-message should be removed.
Since this version of ZSNES fixes the sound problems we were having in
the previous version, my linux-zsnes port should be (RE)MOVED entirely!
It serves no purpose now.
>How-To-Repeat:
>Fix:
diff -ruN zsnes.orig/Makefile zsnes/Makefile
--- zsnes.orig/Makefile Tue Aug 10 04:04:40 2004
+++ zsnes/Makefile Sat Dec 25 18:55:52 2004
@@ -6,8 +6,7 @@
#
PORTNAME= zsnes
-PORTVERSION= 1.36
-PORTREVISION= 3
+PORTVERSION= 1.40
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -25,18 +24,23 @@
USE_X_PREFIX= yes
USE_GMAKE= yes
+CFLAGS+= -I${X11BASE}/include
+
+WANT_AUTOCONF_VER= 259
+WANT_AUTOMAKE_VER= 15
+
MAN1= zsnes.1
PLIST_FILES= bin/zsnes
-# non-portable, for a portable version see emulators/snes9x
+# non-portable, for a portable emulator see emulators/snes9x
ONLY_FOR_ARCHS= i386
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+WRKSRC= ${WRKDIR}/${PORTNAME}_1_40/src
GNU_CONFIGURE= yes
ALL_TARGET= ALL
-post-install:
- @${CAT} ${PKGMESSAGE}
+pre-configure:
+ cd ${WRKSRC}; ${SH} ${ACLOCAL}; ${SH} ${AUTOCONF}
.include <bsd.port.mk>
diff -ruN zsnes.orig/distinfo zsnes/distinfo
--- zsnes.orig/distinfo Thu Mar 18 11:00:21 2004
+++ zsnes/distinfo Sat Dec 25 17:53:49 2004
@@ -1,2 +1,2 @@
-MD5 (zsnes136src.tar.gz) = 576f6f5cc50c7c6f7877aca220ee99b3
-SIZE (zsnes136src.tar.gz) = 901081
+MD5 (zsnes140src.tar.gz) = 770afa48055722e76574841ca5976126
+SIZE (zsnes140src.tar.gz) = 1062598
diff -ruN zsnes.orig/files/patch-aa zsnes/files/patch-aa
--- zsnes.orig/files/patch-aa Sat Jul 24 15:42:44 2004
+++ zsnes/files/patch-aa Wed Dec 31 17:00:00 1969
@@ -1,20 +0,0 @@
---- linux/sdllink.c.orig Mon May 31 01:15:18 2004
-+++ linux/sdllink.c Mon May 31 01:16:17 2004
-@@ -493,7 +493,7 @@
- int InitSound(void)
- {
- SDL_AudioSpec wanted;
-- const int samptab[7] = { 1, 1, 2, 4, 2, 4, 4 };
-+ const int samptab[7] = { 64, 64, 128, 256, 128, 256, 256 };
- const int freqtab[7] = { 8000, 11025, 22050, 44100, 16000,
32000, 48000 };-
- SDL_CloseAudio();
-@@ -519,7 +519,7 @@
- wanted.channels = 1;
- }
-
-- wanted.samples = samptab[SoundQuality] * 128 * wanted.channels;
-+ wanted.samples = samptab[SoundQuality] * 8 * wanted.channels;
- wanted.format = AUDIO_S16LSB;
- wanted.userdata = NULL;
- wanted.callback = UpdateSound;
diff -ruN zsnes.orig/pkg-message zsnes/pkg-message
--- zsnes.orig/pkg-message Sun Jul 25 01:33:18 2004
+++ zsnes/pkg-message Wed Dec 31 17:00:00 1969
@@ -1,14 +0,0 @@
-----------------------------------------------------------------------
----------This port revision fixes a sound problem (distortion) many
have been -experiencing with ZSNES on FreeBSD.
-
-With this revision comes a new bug. You will have to restart ZSNES each
-time you modify the sound settings within the sound menu for them to
work -properly.
-
-Please let me know if you experience any other problems or if you have
-any information regarding this issue!
-
-- Travis Poppe
-tlp at LiquidX.org
-----------------------------------------------------------------------
---------
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list