]> git.pld-linux.org Git - packages/fceultra.git/commitdiff
- don't declare asprintf again auto/th/fceultra-2_1_5-1
authorlisu <lisu@pld-linux.org>
Tue, 16 Aug 2011 10:29:58 +0000 (10:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fceultra-build.patch -> 1.1

fceultra-build.patch [new file with mode: 0644]

diff --git a/fceultra-build.patch b/fceultra-build.patch
new file mode 100644 (file)
index 0000000..2a0e2c2
--- /dev/null
@@ -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];
This page took 0.10447 seconds and 4 git commands to generate.