Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 14:35:43 +0000 (UTC)
From:      Wesley Shields <wxs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307679 - in head/emulators/fceux: . files
Message-ID:  <201211231435.qANEZhhJ032464@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wxs
Date: Fri Nov 23 14:35:43 2012
New Revision: 307679
URL: http://svnweb.freebsd.org/changeset/ports/307679

Log:
  Update to 2.1.5
  
  PR:		ports/172200
  Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com>
  Approved by:	maintainer timeout
  Feature safe:	yes

Added:
  head/emulators/fceux/files/patch-file.c   (contents, props changed)
Modified:
  head/emulators/fceux/Makefile   (contents, props changed)
  head/emulators/fceux/distinfo   (contents, props changed)
  head/emulators/fceux/files/patch-SConstruct   (contents, props changed)

Modified: head/emulators/fceux/Makefile
==============================================================================
--- head/emulators/fceux/Makefile	Fri Nov 23 14:25:45 2012	(r307678)
+++ head/emulators/fceux/Makefile	Fri Nov 23 14:35:43 2012	(r307679)
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	fceux
-PORTVERSION=	2.1.4a
-PORTREVISION=	3
+PORTVERSION=	2.1.5
 CATEGORIES=	emulators
-MASTER_SITES=	SF/fceultra/Source%20Code/2.1.4%20src/
+MASTER_SITES=	SF/fceultra/Source%20Code/2.1.5%20src/
 DISTNAME=	${PORTNAME}-${PORTVERSION}.src
 
 MAINTAINER=	davide.italiano@gmail.com

Modified: head/emulators/fceux/distinfo
==============================================================================
--- head/emulators/fceux/distinfo	Fri Nov 23 14:25:45 2012	(r307678)
+++ head/emulators/fceux/distinfo	Fri Nov 23 14:35:43 2012	(r307679)
@@ -1,2 +1,2 @@
-SHA256 (fceux-2.1.4a.src.tar.bz2) = 267aef2cf05c510f66eca8330060c495a3c18ad22c73bda42df73d8d8330df3a
-SIZE (fceux-2.1.4a.src.tar.bz2) = 5083564
+SHA256 (fceux-2.1.5.src.tar.bz2) = ee6b1ee6a0347e325032f6655a5caa289e2b0458f7fccddccd5137f1cd63bf9f
+SIZE (fceux-2.1.5.src.tar.bz2) = 7322199

Modified: head/emulators/fceux/files/patch-SConstruct
==============================================================================
--- head/emulators/fceux/files/patch-SConstruct	Fri Nov 23 14:25:45 2012	(r307678)
+++ head/emulators/fceux/files/patch-SConstruct	Fri Nov 23 14:35:43 2012	(r307679)
@@ -1,33 +1,15 @@
---- SConstruct	2010-03-30 21:41:39.000000000 -0600
-+++ SConstruct.bak	2010-04-28 20:52:16.000000000 -0500
-@@ -16,7 +16,7 @@
-   BoolVariable('GTK_LITE', 'Enable GTK2 for dialogs only', 0)
- )
- 
--env = Environment(options = opts)
-+env = Environment(ENV = os.environ, options = opts)
- 
- # LSB_FIRST must be off for PPC to compile
- if platform.system == "ppc":
-@@ -37,6 +37,8 @@
-   env.Append(CCFLAGS = os.environ['CFLAGS'].split())
- if os.environ.has_key('LDFLAGS'):
-   env.Append(LINKFLAGS = os.environ['LDFLAGS'].split())
-+  env['CPPPATH'] = Split(env['CPPPATH'])
-+  env['LIBPATH'] = Split(env['LIBPATH'])
- 
- print "platform: ", env['PLATFORM']
- 
-@@ -53,9 +55,9 @@
-   env.Append(LIBS = ["rpcrt4", "comctl32", "vfw32", "winmm", "ws2_32", "comdlg32", "ole32", "gdi32", "htmlhelp"])
+--- SConstruct.bak	2012-09-30 14:49:24.000000000 -0500
++++ SConstruct	2012-09-30 14:50:46.000000000 -0500
+@@ -56,9 +56,9 @@
  else:
    conf = Configure(env)
+   assert conf.CheckLibWithHeader('z', 'zlib.h', 'C', 'inflate;', 1), "please install: zlib"
 -  if not conf.CheckLib('SDL'):
 -    print 'Did not find libSDL or SDL.lib, exiting!'
 -    Exit(1)
 +  ###if not conf.CheckLib('SDL'):
 +  ###  print 'Did not find libSDL or SDL.lib, exiting!'
 +  ###  Exit(1)
-   if env['GTK'] or env['GTK_LITE']:
+ 
+   if env['GTK']:
      # Add compiler and linker flags from pkg-config
-     env.ParseConfig('pkg-config --cflags --libs gtk+-2.0')

Added: head/emulators/fceux/files/patch-file.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/fceux/files/patch-file.c	Fri Nov 23 14:35:43 2012	(r307679)
@@ -0,0 +1,10 @@
+--- src/file.cpp.bak	2012-09-30 18:58:51.000000000 -0500
++++ src/file.cpp	2012-09-30 18:59:15.000000000 -0500
+@@ -310,7 +310,7 @@
+ 				if(magic==0x088b1f) {
+ 					 // maybe gzip... 
+ 
+-					void* gzfile = gzopen(fileToOpen.c_str(),"rb");
++					gzFile gzfile = gzopen(fileToOpen.c_str(),"rb");
+ 					if(gzfile) {
+ 						delete fp;



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