Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 17:07:30 +0200 (CEST)
From:      stijn@win.tue.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27502: [MAINTAINER UPDATE]: emulators/zsnes
Message-ID:  <200105211507.f4LF7Ua63458@pcwin002.win.tue.nl>

next in thread | raw e-mail | index | archive | help

>Number:         27502
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE]: emulators/zsnes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 08:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stijn Hoop
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:

System: FreeBSD 4.3-STABLE #0: Wed May 16 04:41:06 CEST 2001

>Description:

- Update to v1.26
- 16bit color problems fixed
- (preliminary) sound support

>How-To-Repeat:

N/A

>Fix:

- Remove the following files:
	files/patch-src::linux::protect.c
	files/patch-src::linux::zfilew.c
	files/patch-src::linux::ztcp.c
	pkg-message
- Apply the following diff:

diff -urN /usr/ports/emulators/zsnes/Makefile zsnes/Makefile
--- /usr/ports/emulators/zsnes/Makefile	Sun May 20 04:48:11 2001
+++ zsnes/Makefile	Mon May 21 16:43:02 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zsnes
-PORTVERSION=	1.20
+PORTVERSION=	1.26
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -34,13 +34,8 @@
 MAKEFILE=	makefile.linux
 ALL_TARGET=	ALL
 
-.include <bsd.port.pre.mk>
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/zsnes ${PREFIX}/bin/zsnes
 	${INSTALL_MAN}	${WRKSRC}/src/linux/zsnes.man ${PREFIX}/man/man1/zsnes.1
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/emulators/zsnes/distinfo zsnes/distinfo
--- /usr/ports/emulators/zsnes/distinfo	Sun May 20 04:48:11 2001
+++ zsnes/distinfo	Mon May 21 16:39:11 2001
@@ -1 +1 @@
-MD5 (zsnesv1.20src.tar.gz) = f8a101cd7504cf620c154d181db6036c
+MD5 (zsnesv1.26src.tar.gz) = 9182334164ce3e221600922136bf6327
diff -urN /usr/ports/emulators/zsnes/files/patch-src::makefile.linux zsnes/files/patch-src::makefile.linux
--- /usr/ports/emulators/zsnes/files/patch-src::makefile.linux	Sun May 20 04:48:11 2001
+++ zsnes/files/patch-src::makefile.linux	Mon May 21 17:03:20 2001
@@ -1,5 +1,5 @@
---- src/makefile.linux.orig	Tue May  1 21:33:15 2001
-+++ src/makefile.linux	Fri May  4 13:21:00 2001
+--- src/makefile.linux.orig	Wed May 16 22:38:21 2001
++++ src/makefile.linux	Mon May 21 17:02:43 2001
 @@ -23,7 +23,7 @@
  WINDIR=linux
  OBJDIR=obj
@@ -9,7 +9,7 @@
  
  CHIPSOBJ=${CHIPDIR}/sfxproc.o ${CHIPDIR}/fxemu2.o ${CHIPDIR}/dsp1proc.o\
  	 ${CHIPDIR}/fxemu2b.o ${CHIPDIR}/fxemu2c.o ${CHIPDIR}/fxtable.o\
-@@ -58,8 +58,8 @@
+@@ -58,12 +58,12 @@
  MAINOBJ=cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o
  
  OBJS=${CHIPSOBJ} ${CPUOBJ} ${WINOBJ} ${WINDOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${ZIPOBJ} ${MAINOBJ}
@@ -17,6 +17,11 @@
 -SDLCFLAGS := $(shell sdl-config --cflags)
 +SDLLIBS := $(shell $(SDL_CONFIG) --libs)
 +SDLCFLAGS := $(shell $(SDL_CONFIG) --cflags)
- LIBS=${SDLLIBS} -lz
- CFLAGS=-g -Wall -D__LINUX__ ${SDLCFLAGS}
+ #LIBS=-static -pg ${SDLLIBS} -lz
+ LIBS=${SDLLIBS} -lz -lpng
+ #CFLAGS=-pg -g -Wall -D__LINUX__ ${SDLCFLAGS}
+-CFLAGS=-g -Wall -O2 -mcpu=pentium -finline-functions -funroll-loops -D__LINUX__ ${SDLCFLAGS}
++CFLAGS:=-g -Wall -O2 -finline-functions -funroll-loops -D__LINUX__ ${CFLAGS} ${SDLCFLAGS}
  ASM=nasm
+ ASMFLAGS=-f elf -D__LINUX__ -g -w-orphan-labels 
+ CC=gcc
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105211507.f4LF7Ua63458>