diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-ftp/weex/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-ftp/weex/files')
-rw-r--r-- | net-ftp/weex/files/formatstring.patch | 11 | ||||
-rw-r--r-- | net-ftp/weex/files/weex-2.6.1.5-va_list.patch | 23 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-ftp/weex/files/formatstring.patch b/net-ftp/weex/files/formatstring.patch new file mode 100644 index 000000000000..06ad28b88365 --- /dev/null +++ b/net-ftp/weex/files/formatstring.patch @@ -0,0 +1,11 @@ +--- src/log.c.old 2005-10-02 03:49:34.495603240 +0200 ++++ src/log.c 2005-10-02 03:50:18.064979688 +0200 +@@ -183,7 +183,7 @@ void log_flush(void) + + fp=log_open(); + for(i=0;i<max_log;i++){ +- fprintf(fp,log_str[i]); ++ fprintf(fp,"%s",log_str[i]); + free(log_str[i]); + } + free(log_str); diff --git a/net-ftp/weex/files/weex-2.6.1.5-va_list.patch b/net-ftp/weex/files/weex-2.6.1.5-va_list.patch new file mode 100644 index 000000000000..70b3ebcdd832 --- /dev/null +++ b/net-ftp/weex/files/weex-2.6.1.5-va_list.patch @@ -0,0 +1,23 @@ +--- src/strlib.c.orig 2003-08-18 11:52:38.000000000 +0200 ++++ src/strlib.c 2004-07-05 20:32:48.853638760 +0200 +@@ -167,14 +167,16 @@ + -------------------------------------------------- */ + char *str_dup_printf(const char *format, ...) + { +- va_list ap1,ap2; ++ va_list ap1; + char *ptr; + + va_start(ap1,format); +- G_VA_COPY(ap2,ap1); ++ //G_VA_COPY(ap2,ap1); + ptr=str_malloc(printf_string_upper_bound(format,ap1)); +- vsprintf(ptr,format,ap2); +- va_end(ap2); ++ va_end(ap1); ++ va_start(ap1,format); ++ vsprintf(ptr,format,ap1); ++ va_end(ap1); + + return(ptr); + } |