vp-build/srcpkgs/gsoap/patches/remove-xlocale_h.patch

21 lines
757 B
Diff

--- gsoap/stdsoap2.h
+++ gsoap/stdsoap2.h
@@ -722,7 +722,7 @@ extern intmax_t __strtoull(const char*, char**, int);
/* force inclusion of xlocale.h */
#if defined(WITH_INCLUDE_XLOCALE_H) && !defined(HAVE_XLOCALE_H)
-# define HAVE_XLOCALE_H
+//# define HAVE_XLOCALE_H
#endif
#ifdef WITH_C_LOCALE
@@ -733,7 +733,7 @@ extern intmax_t __strtoull(const char*, char**, int);
# define SOAP_FREELOCALE(soap) (void)((soap)->c_locale && (_free_locale((soap)->c_locale), ((soap)->c_locale = NULL)))
# else
# if defined(HAVE_XLOCALE_H)
-# include <xlocale.h>
+//# include <xlocale.h>
# endif
# define SOAP_LOCALE_T locale_t
# define SOAP_LOCALE(soap) ((soap)->c_locale ? (soap)->c_locale : ((soap)->c_locale = newlocale(LC_ALL_MASK, "C", NULL)))