FreeBSD Bugzilla – Attachment 100543 Details for
Bug 139839
repo copy emulators/fceu emulators/fceux
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-fceux.diff
patch-fceux.diff (text/plain), 9.73 KB, created by
Chris Petrik
on 2009-11-03 04:45:21 UTC
(
hide
)
Description:
patch-fceux.diff
Filename:
MIME Type:
Creator:
Chris Petrik
Created:
2009-11-03 04:45:21 UTC
Size:
9.73 KB
patch
obsolete
>Index: fceux/Makefile >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/Makefile,v >retrieving revision 1.29 >diff -u -r1.29 Makefile >--- fceux/Makefile 19 Sep 2009 03:18:13 -0000 1.29 >+++ fceux/Makefile 3 Nov 2009 04:04:16 -0000 >@@ -5,48 +5,40 @@ > # $FreeBSD: ports/emulators/fceux/Makefile,v 1.29 2009/09/19 03:18:13 wxs Exp $ > # > >-PORTNAME= fceu >-PORTVERSION= 0.98.13 >-PORTREVISION= 4 >+PORTNAME= fceux >+PORTVERSION= 2.1.1 > CATEGORIES= emulators >-MASTER_SITES= SF/${PORTNAME}ltra/Source%20Code/${PORTVERSION}-pre >-DISTNAME= ${PORTNAME}-${PORTVERSION}-pre.src >+MASTER_SITES= SF/fceultra/Source%20Code/${PORTVERSION}%20src/ >+DISTNAME= ${PORTNAME}-${PORTVERSION}.src > > MAINTAINER= chris@officialunix.com > COMMENT= A portable NES/Famicom emulator based on Bero's original FCE > > USE_BZIP2= yes >-USE_GMAKE= yes >+USE_SCONS= yes > USE_SDL= sdl >+USE_DOS2UNIX= yes >+USE_LUA= yes > > WRKSRC= ${WRKDIR}/fceu > >-GNU_CONFIGURE= yes >+BUILD_DEPENDS+= zenity:${PORTSDIR}/x11/zenity > >-MAN6= fceu.6 >- >-PLIST_FILES= bin/fceu %%DOCSDIR%%/cheat.html %%DOCSDIR%%/faq.html \ >- %%DOCSDIR%%/fceultra.html %%DOCSDIR%%/fcm.txt \ >- %%DOCSDIR%%/fcs.txt %%DOCSDIR%%/protocol.txt >-PLIST_DIRS= %%DOCSDIR%% >+MAN6= fceux.6 > > .include <bsd.port.pre.mk> > > post-extract: >- ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/src/drivers/common/vidblit.c >- >-pre-build: >- @${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6 >+ ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ >+ ${WRKSRC}/src/drivers/common/vidblit.cpp > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/src/fceu ${PREFIX}/bin >- ${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6 >+ ${INSTALL_PROGRAM} ${WRKSRC}/src/fceux ${PREFIX}/bin >+ ${INSTALL_MAN} ${WRKSRC}/documentation/fceux.6 ${PREFIX}/man/man6 >+ ${RM} ${WRKSRC}/documentation/fceux.6 >+.if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Documentation/cheat.html ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Documentation/faq.html ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Documentation/fceultra.html ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Documentation/fcm.txt ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Documentation/fcs.txt ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Documentation/protocol.txt ${DOCSDIR} >+ cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}/ >+.endif > > .include <bsd.port.post.mk> >Index: fceux/distinfo >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/distinfo,v >retrieving revision 1.9 >diff -u -r1.9 distinfo >--- fceux/distinfo 22 Jan 2006 09:47:18 -0000 1.9 >+++ fceux/distinfo 3 Nov 2009 03:51:08 -0000 >@@ -1,3 +1,3 @@ >-MD5 (fceu-0.98.13-pre.src.tar.bz2) = 1977214a15a341a4fd8bad14eda76866 >-SHA256 (fceu-0.98.13-pre.src.tar.bz2) = a227f2d8a3b79462a895435be26c1622f03c5978d2e3e5456d6284592e88a6c2 >-SIZE (fceu-0.98.13-pre.src.tar.bz2) = 570842 >+MD5 (fceux-2.1.1.src.tar.bz2) = d669309a3fb15c002fffb24a801c2a9b >+SHA256 (fceux-2.1.1.src.tar.bz2) = 5f668de5870e28e4b52fcf8816c17831c0f9597307bd643c226a616a1766bdab >+SIZE (fceux-2.1.1.src.tar.bz2) = 3263945 >Index: fceux/pkg-descr >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/pkg-descr,v >retrieving revision 1.1 >diff -u -r1.1 pkg-descr >--- fceux/pkg-descr 20 Jul 2003 11:51:26 -0000 1.1 >+++ fceux/pkg-descr 3 Nov 2009 03:51:08 -0000 >@@ -10,3 +10,6 @@ > FCE Ultra currently supports the following iNES mappers(many partially): > > WWW: http://fceultra.sourceforge.net/ >+ >+Chris Petrik >+http://www.bsdjunk.com >Index: fceux/files/patch-configure >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/files/patch-configure,v >retrieving revision 1.2 >diff -u -r1.2 patch-configure >--- fceux/files/patch-configure 28 Feb 2005 17:32:40 -0000 1.2 >+++ fceux/files/patch-configure 3 Nov 2009 03:51:08 -0000 >@@ -1,57 +0,0 @@ >---- configure.orig Wed Sep 15 20:31:55 2004 >-+++ configure Mon Feb 28 08:45:42 2005 >-@@ -308,7 +308,7 @@ >- # include <unistd.h> >- #endif" >- >--ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP WIN32_TRUE WIN32_FALSE UNIX_TRUE UNIX_FALSE USE_SEXYAL_TRUE USE_SEXYAL_FALSE NATIVEWIN32_TRUE NATIVEWIN32_FALSE OPENGL_TRUE OPENGL_FALSE HAVE_GTK_TRUE HAVE_GTK_FALSE EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS C80x86_TRUE C80x86_FALSE LIBOBJS LTLIBOBJS' >-+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP WIN32_TRUE WIN32_FALSE UNIX_TRUE UNIX_FALSE USE_SEXYAL_TRUE USE_SEXYAL_FALSE NATIVEWIN32_TRUE NATIVEWIN32_FALSE OPENGL_TRUE OPENGL_FALSE HAVE_GTK_TRUE HAVE_GTK_FALSE EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBOBJS LTLIBOBJS' >- ac_subst_files='' >- >- # Initialize some variables set by options. >-@@ -5130,21 +5130,11 @@ >- fi >- >- >--if expr match "$target_cpu" 'i.86' > /dev/null; then >-+if echo ${target_cpu} | grep -q 'i.86' > /dev/null; then >- cat >>confdefs.h <<\_ACEOF >- #define C80x86 1 >- _ACEOF >- >-- >-- >--if true; then >-- C80x86_TRUE= >-- C80x86_FALSE='#' >--else >-- C80x86_TRUE='#' >-- C80x86_FALSE= >--fi >-- >- fi >- >- echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 >-@@ -5589,13 +5579,6 @@ >- Usually this means the macro was only invoked conditionally." >&2;} >- { (exit 1); exit 1; }; } >- fi >--if test -z "${C80x86_TRUE}" && test -z "${C80x86_FALSE}"; then >-- { { echo "$as_me:$LINENO: error: conditional \"C80x86\" was never defined. >--Usually this means the macro was only invoked conditionally." >&5 >--echo "$as_me: error: conditional \"C80x86\" was never defined. >--Usually this means the macro was only invoked conditionally." >&2;} >-- { (exit 1); exit 1; }; } >--fi >- >- : ${CONFIG_STATUS=./config.status} >- ac_clean_files_save=$ac_clean_files >-@@ -6188,8 +6171,6 @@ >- s,@SDL_CONFIG@,$SDL_CONFIG,;t t >- s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t >- s,@SDL_LIBS@,$SDL_LIBS,;t t >--s,@C80x86_TRUE@,$C80x86_TRUE,;t t >--s,@C80x86_FALSE@,$C80x86_FALSE,;t t >- s,@LIBOBJS@,$LIBOBJS,;t t >- s,@LTLIBOBJS@,$LTLIBOBJS,;t t >- CEOF >Index: fceux/files/patch-configure.ac >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/files/patch-configure.ac,v >retrieving revision 1.1 >diff -u -r1.1 patch-configure.ac >--- fceux/files/patch-configure.ac 28 Feb 2005 17:32:40 -0000 1.1 >+++ fceux/files/patch-configure.ac 3 Nov 2009 03:51:08 -0000 >@@ -1,13 +0,0 @@ >---- configure.ac.orig Sat Sep 11 14:32:25 2004 >-+++ configure.ac Mon Feb 28 08:46:24 2005 >-@@ -114,9 +114,8 @@ >- fi >- >- >--if expr match "$target_cpu" 'i.86' > /dev/null; then >-+if echo ${target_cpu} | grep -q 'i.86' > /dev/null; then >- AC_DEFINE([C80x86]) >-- AM_CONDITIONAL(C80x86, true) >- fi >- >- AC_C_BIGENDIAN([], [AC_DEFINE([LSB_FIRST])]) >Index: fceux/files/patch-src-drivers-common-vidblit.c >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/files/patch-src-drivers-common-vidblit.c,v >retrieving revision 1.1 >diff -u -r1.1 patch-src-drivers-common-vidblit.c >--- fceux/files/patch-src-drivers-common-vidblit.c 27 Feb 2005 16:00:51 -0000 1.1 >+++ fceux/files/patch-src-drivers-common-vidblit.c 3 Nov 2009 03:51:08 -0000 >@@ -1,11 +0,0 @@ >---- src/drivers/common/vidblit.c.orig Tue Dec 21 15:43:20 2004 >-+++ src/drivers/common/vidblit.c Tue Dec 21 15:43:44 2004 >-@@ -79,7 +79,7 @@ >- { >- if(specfilt == 2 || specfilt == 4) // scale2x and scale3x >- { >-- int multi; >-+ int multi = 0; >- >- if(specfilt == 2) multi = 2 * 2; >- else if(specfilt == 4) multi = 3 * 3; >Index: fceux/files/patch-src-mappers-simple.c >=================================================================== >RCS file: /usr/ncvs/ports/emulators/fceux/files/patch-src-mappers-simple.c,v >retrieving revision 1.1 >diff -u -r1.1 patch-src-mappers-simple.c >--- fceux/files/patch-src-mappers-simple.c 27 Feb 2005 16:00:51 -0000 1.1 >+++ fceux/files/patch-src-mappers-simple.c 3 Nov 2009 03:51:08 -0000 >@@ -1,11 +0,0 @@ >---- src/mappers/simple.c.orig Tue Dec 21 13:34:28 2004 >-+++ src/mappers/simple.c Tue Dec 21 13:35:20 2004 >-@@ -283,7 +283,7 @@ >- >- static void M185Sync(int version) >- { >-- int x; >-+ //int x; >- >- //printf("%02x\n",mapbyte1[0]); >- //if((mapbyte1[0]&3)==3)
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 139839
: 100543 |
100544