diff options
| author | alpine-mips-patches <info@mobile-stream.com> | 2018-12-30 09:08:19 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-31 13:59:48 +0000 |
| commit | 88b9ddc27db4ee4d23ef9edfb057bd4d8f1174a7 (patch) | |
| tree | dd953b67244de317a68b9a447a3e8190daad2775 /main/libspf2/libspf2-libreplace-fix.patch | |
| parent | 5cea92457e3a85b08be20c886df288e42ed31389 (diff) | |
| download | aports-88b9ddc27db4ee4d23ef9edfb057bd4d8f1174a7.tar.bz2 aports-88b9ddc27db4ee4d23ef9edfb057bd4d8f1174a7.tar.xz | |
community/gsoap: make sure to define _GNU_SOURCE
'strtod_l' is guarded by _GNU_SOURCE which gsoap fails to define on
musl and compilation reports warnings like this:
stdsoap2.c:16352:19: warning: implicit declaration of function 'strtod_l'; did you mean 'strtok_r'? [-Wimplicit-function-declaration]
*p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
^~~~~~~~
strtok_r
On most hard-float systems (x86_64 and mips*hf for sure) this code
will use some random garbage from the integer register.
...and update musl-fixes.patches to cover yet another attempt to
use glibc-style strerror_r() (triggered by _GNU_SOURCE).
The implicitly declared isatty() at soapcpp2_lex.c:1944 is ignored.
Diffstat (limited to 'main/libspf2/libspf2-libreplace-fix.patch')
0 files changed, 0 insertions, 0 deletions
