forked from pool/gsoap
Jan Engelhardt
dfa7ea86d0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=84
27 lines
924 B
Diff
27 lines
924 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
||
Date: 2017-01-24 15:41:51.682076375 +0100
|
||
|
||
build: resolve compiler warnings
|
||
|
||
stdsoap2_ck.c: In function ‘soap_s2float’:
|
||
stdsoap2_ck.c:14147:19: warning: implicit declaration of function ‘strtod_l’ [-Wimplicit-function-declaration]
|
||
*p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
|
||
|
||
References: https://sourceforge.net/p/gsoap2/bugs/1096/
|
||
---
|
||
gsoap/stdsoap2.cpp | 1 +
|
||
1 file changed, 1 insertion(+)
|
||
|
||
Index: gsoap-2.8.42/gsoap/stdsoap2.cpp
|
||
===================================================================
|
||
--- gsoap-2.8.42.orig/gsoap/stdsoap2.cpp
|
||
+++ gsoap-2.8.42/gsoap/stdsoap2.cpp
|
||
@@ -50,6 +50,7 @@ compiling, linking, and/or using OpenSSL
|
||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||
--------------------------------------------------------------------------------
|
||
*/
|
||
+#define _GNU_SOURCE 1
|
||
|
||
#define GSOAP_LIB_VERSION 20842
|
||
|