From stijn@pcwin002.win.tue.nl  Mon May 21 08:07:50 2001
Return-Path: <stijn@pcwin002.win.tue.nl>
Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72])
	by hub.freebsd.org (Postfix) with ESMTP id DE1F637B422
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 May 2001 08:07:49 -0700 (PDT)
	(envelope-from stijn@pcwin002.win.tue.nl)
Received: (from stijn@localhost)
	by pcwin002.win.tue.nl (8.11.3/8.11.3) id f4LF7Ua63458;
	Mon, 21 May 2001 17:07:30 +0200 (CEST)
	(envelope-from stijn)
Message-Id: <200105211507.f4LF7Ua63458@pcwin002.win.tue.nl>
Date: Mon, 21 May 2001 17:07:30 +0200 (CEST)
From: stijn@win.tue.nl
Reply-To: stijn@win.tue.nl
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER UPDATE]: emulators/zsnes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         27502
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE]: emulators/zsnes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 08:10:01 PDT 2001
>Closed-Date:    Mon May 21 09:21:08 PDT 2001
>Last-Modified:  Mon May 21 09:21:37 PDT 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: olgeni 
State-Changed-When: Mon May 21 09:21:08 PDT 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27502 
>Unformatted:
