Jan Engelhardt 2018-02-14 20:37:05 +00:00 committed by Git OBS Bridge
parent e76ff8e262
commit c3c35a9bf6
3 changed files with 26 additions and 1 deletions

View File

@ -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

View File

@ -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

17
xlocale.diff Normal file
View File

@ -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