packages: fceultra/fceultra-build.patch - builds now

adamg adamg at pld-linux.org
Sun Feb 12 10:19:53 CET 2012


Author: adamg                        Date: Sun Feb 12 09:19:53 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds now

---- Files affected:
packages/fceultra:
   fceultra-build.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/fceultra/fceultra-build.patch
diff -u packages/fceultra/fceultra-build.patch:1.1 packages/fceultra/fceultra-build.patch:1.2
--- packages/fceultra/fceultra-build.patch:1.1	Tue Aug 16 12:29:58 2011
+++ packages/fceultra/fceultra-build.patch	Sun Feb 12 10:19:48 2012
@@ -1,24 +1,22 @@
 --- fceu2.1.5/src/file.cpp~	2010-09-19 02:05:09.000000000 +0200
-+++ fceu2.1.5/src/file.cpp	2011-08-16 12:20:00.605072049 +0200
-@@ -460,21 +460,6 @@
- 	}
- }
++++ fceu2.1.5/src/file.cpp	2012-02-12 10:11:53.832509623 +0100
+@@ -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;
+ 
+--- fceu2.1.5/SConstruct~	2011-06-04 07:26:55.000000000 +0200
++++ fceu2.1.5/SConstruct	2012-02-12 10:15:10.593425125 +0100
+@@ -39,6 +39,8 @@
+   env.Append(CCFLAGS = os.environ['CFLAGS'].split())
+ if os.environ.has_key('LDFLAGS'):
+   env.Append(LINKFLAGS = os.environ['LDFLAGS'].split())
++if os.environ.has_key('LIBS'):
++  env.Append(LIBS = os.environ['LIBS'].split())
+ 
+ print "platform: ", env['PLATFORM']
  
--	#ifndef HAVE_ASPRINTF
--	static int asprintf(char **strp, const char *fmt, ...)
--	{
--		va_list ap;
--		int ret;
--
--		va_start(ap,fmt);
--		if(!(*strp=(char*)FCEU_dmalloc(2048))) //mbg merge 7/17/06 cast to char*
--			return(0);
--		ret=vsnprintf(*strp,2048,fmt,ap);
--		va_end(ap);
--		return(ret);
--	}
--	#endif
--
- std::string  FCEU_GetPath(int type)
- {
- 	char ret[FILENAME_MAX];
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fceultra/fceultra-build.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list