diff --git a/gsoap.changes b/gsoap.changes index df2b6e5..d17d558 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 14 20:27:46 UTC 2018 - jengelh@inai.de + +- Add xlocale.diff + ------------------------------------------------------------------- Mon Feb 12 11:19:35 UTC 2018 - jengelh@inai.de diff --git a/gsoap.spec b/gsoap.spec index adbacfa..c716eb6 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -29,6 +29,7 @@ Source: gsoap-%version.tar.xz Source2: sanitize_source.sh Patch1: gsoap-automake1_13.diff Patch2: gsoap-01-sharedlibs.diff +Patch3: xlocale.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -83,7 +84,7 @@ This subpackage contains the documentation for the gSOAP toolkit. %prep %setup -q cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c -%patch -P 1 -P 2 -p1 +%patch -P 1 -P 2 -P 3 -p1 ln -fs stdsoap2.cpp gsoap/stdsoap2.c %build @@ -95,6 +96,8 @@ perl -i -lpe 's{AC_INIT\(gsoap, 2.8\)}{AC_INIT([gsoap], [%version])}' \ # Also needed because Makefile.am and configure.ac are touched. autoreconf -fi +export CXXFLAGS="-O0 -ggdb3" +export CFLAGS="-O0 -ggdb3" %configure --enable-ipv6 --disable-static pushd gsoap/src/ # build prerequisites for parallel build first diff --git a/xlocale.diff b/xlocale.diff new file mode 100644 index 0000000..b0a5010 --- /dev/null +++ b/xlocale.diff @@ -0,0 +1,17 @@ +Kill this again. There just IS NOT ANY xlocale.h in glibc-2.26. +--- + gsoap/stdsoap2.h | 1 - + 1 file changed, 1 deletion(-) + +Index: gsoap-2.8.62/gsoap/stdsoap2.h +=================================================================== +--- gsoap-2.8.62.orig/gsoap/stdsoap2.h ++++ gsoap-2.8.62/gsoap/stdsoap2.h +@@ -464,7 +464,6 @@ extern intmax_t __strtoull(const char*, + # define HAVE_STRTOD_L + # define HAVE_SSCANF_L + # define HAVE_LOCALE_H +-# define HAVE_XLOCALE_H + # endif + # elif defined(TRU64) + # define HAVE_SNPRINTF