fox: fix cross *-musl
This commit is contained in:
parent
e9dbb22fa8
commit
099ef6c792
1 changed files with 13 additions and 0 deletions
13
srcpkgs/fox/patches/fix-cross-musl.patch
Normal file
13
srcpkgs/fox/patches/fix-cross-musl.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
Fix an obvious typo.
|
||||
|
||||
--- src/FXString.cpp 2016-06-16 06:16:00.000000000 +0200
|
||||
+++ src/FXString.cpp 2016-11-01 18:16:42.717595139 +0100
|
||||
@@ -2365,7 +2365,7 @@
|
||||
#else
|
||||
va_list ag;
|
||||
x: va_copy(ag,args);
|
||||
- result=vsnprintf(str,length()+1,fmt,a);
|
||||
+ result=vsnprintf(str,length()+1,fmt,ag);
|
||||
va_end(ag);
|
||||
if(result<0){ length(FXMAX(64,length()*2)); goto x; }
|
||||
if(length()<result){ length(result); goto x; }
|
Loading…
Reference in a new issue