FreeBSD Bugzilla – Attachment 14424 Details for
Bug 27077
NEW PORT: emulators/zsnes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.71 KB, created by
stijn
on 2001-05-04 14:00:02 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
stijn
Created:
2001-05-04 14:00:02 UTC
Size:
5.71 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># zsnes ># zsnes/files ># zsnes/files/patch-src::linux::protect.c ># zsnes/files/patch-src::linux::zfilew.c ># zsnes/files/patch-src::linux::ztcp.c ># zsnes/files/patch-src::makefile.linux ># zsnes/Makefile ># zsnes/distinfo ># zsnes/pkg-comment ># zsnes/pkg-descr ># zsnes/pkg-plist ># zsnes/pkg-message ># >echo c - zsnes >mkdir -p zsnes > /dev/null 2>&1 >echo c - zsnes/files >mkdir -p zsnes/files > /dev/null 2>&1 >echo x - zsnes/files/patch-src::linux::protect.c >sed 's/^X//' >zsnes/files/patch-src::linux::protect.c << 'END-of-zsnes/files/patch-src::linux::protect.c' >X--- src/linux/protect.c.orig Tue May 1 21:33:14 2001 >X+++ src/linux/protect.c Thu May 3 20:17:23 2001 >X@@ -16,6 +16,9 @@ >X //Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. >X >X #include <stdio.h> >X+#ifdef __FreeBSD__ >X+#include <sys/types.h> >X+#endif >X #include <sys/mman.h> >X #include <limits.h> >X #include <unistd.h> >END-of-zsnes/files/patch-src::linux::protect.c >echo x - zsnes/files/patch-src::linux::zfilew.c >sed 's/^X//' >zsnes/files/patch-src::linux::zfilew.c << 'END-of-zsnes/files/patch-src::linux::zfilew.c' >X--- src/linux/zfilew.c.orig Tue May 1 21:33:14 2001 >X+++ src/linux/zfilew.c Thu May 3 22:47:47 2001 >X@@ -365,6 +365,11 @@ >X >X *(char *)(DTALocPos + 0x15) = 0; >X >X+#ifdef __FreeBSD__ >X+ if (globbuf.gl_matchc == 0) >X+ return -1; >X+#endif >X+ >X stat ( globbuf.gl_pathv[globcur], &filetype ); >X >X if(ZFileFindATTRIB&0x10 && !S_ISDIR ( filetype.st_mode )) return(ZFileFindNext()); >END-of-zsnes/files/patch-src::linux::zfilew.c >echo x - zsnes/files/patch-src::linux::ztcp.c >sed 's/^X//' >zsnes/files/patch-src::linux::ztcp.c << 'END-of-zsnes/files/patch-src::linux::ztcp.c' >X--- src/linux/ztcp.c.orig Tue May 1 21:33:14 2001 >X+++ src/linux/ztcp.c Thu May 3 20:17:23 2001 >X@@ -92,7 +92,11 @@ >X #include <netdb.h> >X #include <unistd.h> >X #include <sys/ioctl.h> >X+#ifndef __FreeBSD__ >X #include <asm/ioctls.h> // for FIONREAD >X+#else >X+#include <sys/filio.h> // for FIONREAD >X+#endif >X #else >X #include <windows.h> >X #include <winsock.h> >END-of-zsnes/files/patch-src::linux::ztcp.c >echo x - zsnes/files/patch-src::makefile.linux >sed 's/^X//' >zsnes/files/patch-src::makefile.linux << 'END-of-zsnes/files/patch-src::makefile.linux' >X--- src/makefile.linux.orig Tue May 1 21:33:15 2001 >X+++ src/makefile.linux Fri May 4 13:21:00 2001 >X@@ -23,7 +23,7 @@ >X WINDIR=linux >X OBJDIR=obj >X ZIPDIR=zip >X-MANDIR=/usr/man/man1 >X+MANDIR=$(PREFIX)/man/man1 >X >X CHIPSOBJ=${CHIPDIR}/sfxproc.o ${CHIPDIR}/fxemu2.o ${CHIPDIR}/dsp1proc.o\ >X ${CHIPDIR}/fxemu2b.o ${CHIPDIR}/fxemu2c.o ${CHIPDIR}/fxtable.o\ >X@@ -58,8 +58,8 @@ >X MAINOBJ=cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o >X >X OBJS=${CHIPSOBJ} ${CPUOBJ} ${WINOBJ} ${WINDOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${ZIPOBJ} ${MAINOBJ} >X-SDLLIBS := $(shell sdl-config --libs) >X-SDLCFLAGS := $(shell sdl-config --cflags) >X+SDLLIBS := $(shell $(SDL_CONFIG) --libs) >X+SDLCFLAGS := $(shell $(SDL_CONFIG) --cflags) >X LIBS=${SDLLIBS} -lz >X CFLAGS=-g -Wall -D__LINUX__ ${SDLCFLAGS} >X ASM=nasm >END-of-zsnes/files/patch-src::makefile.linux >echo x - zsnes/Makefile >sed 's/^X//' >zsnes/Makefile << 'END-of-zsnes/Makefile' >X# New ports collection makefile for: zsnes >X# Date created: Fri May 4 13:10:11 CEST 2001 >X# Whom: Stijn Hoop <stijn@win.tue.nl> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= zsnes >XPORTVERSION= 1.20 >XCATEGORIES= emulators >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= ${PORTNAME} >XDISTNAME= zsnesv${PORTVERSION}src >X >XMAINTAINER= stijn@win.tue.nl >X >X# This must be >= 0.98! >XBUILD_DEPENDS= nasm-0.98:${PORTSDIR}/devel/nasm >XLIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 >X >XUSE_X_PREFIX= yes >XUSE_GMAKE= yes >X >XMAN1= zsnes.1 >X >XSDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config >XMAKE_ENV+= SDL_CONFIG=${SDL_CONFIG} PREFIX=${PREFIX} >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >XBUILD_WRKSRC= ${WRKSRC}/src >XMAKEFILE= makefile.linux >XALL_TARGET= ALL >X >X.include <bsd.port.pre.mk> >X >X.if ${MACHINE_ARCH} != "i386" >Xpre-everything: >X @${ECHO_MSG} "This port is x86 specific. Please see ${PORTSDIR}/emulators/snes9x" >X @${ECHO_MSG} "for a portable SNES emulator that should work on your platform." >X @exit 1 >X.else >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/src/zsnes ${PREFIX}/bin/zsnes >X ${INSTALL_MAN} ${WRKSRC}/src/linux/zsnes.man ${PREFIX}/man/man1/zsnes.1 >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.endif # MACHINE_ARCH != i386 >X >X.include <bsd.port.post.mk> >END-of-zsnes/Makefile >echo x - zsnes/distinfo >sed 's/^X//' >zsnes/distinfo << 'END-of-zsnes/distinfo' >XMD5 (zsnesv1.20src.tar.gz) = f8a101cd7504cf620c154d181db6036c >END-of-zsnes/distinfo >echo x - zsnes/pkg-comment >sed 's/^X//' >zsnes/pkg-comment << 'END-of-zsnes/pkg-comment' >XIntel x86 only Super Nintendo Entertainment System (SNES) Emulator >END-of-zsnes/pkg-comment >echo x - zsnes/pkg-descr >sed 's/^X//' >zsnes/pkg-descr << 'END-of-zsnes/pkg-descr' >XAn x86 only Super Nintendo Entertainment System (SNES) Emulator, >Xwith higher compatibility rates than snes9x. >X >XWWW: http://www.zsnes.com/ >END-of-zsnes/pkg-descr >echo x - zsnes/pkg-plist >sed 's/^X//' >zsnes/pkg-plist << 'END-of-zsnes/pkg-plist' >Xbin/zsnes >END-of-zsnes/pkg-plist >echo x - zsnes/pkg-message >sed 's/^X//' >zsnes/pkg-message << 'END-of-zsnes/pkg-message' >X >X*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* >X >X Please note that this port does *NOT* work in 16bit color mode! >X You must set your X-server to at use least 24bit color. >X >X*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* >X >END-of-zsnes/pkg-message >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 27077
: 14424