packages: fceultra/fceultra-build.patch (NEW) - don't declare asprintf again
lisu
lisu at pld-linux.org
Tue Aug 16 12:30:03 CEST 2011
Author: lisu Date: Tue Aug 16 10:30:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- don't declare asprintf again
---- Files affected:
packages/fceultra:
fceultra-build.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/fceultra/fceultra-build.patch
diff -u /dev/null packages/fceultra/fceultra-build.patch:1.1
--- /dev/null Tue Aug 16 12:30:03 2011
+++ packages/fceultra/fceultra-build.patch Tue Aug 16 12:29:58 2011
@@ -0,0 +1,24 @@
+--- 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 @@
+ }
+ }
+
+- #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];
================================================================
More information about the pld-cvs-commit
mailing list