- Update to new upstream release 2.8.91

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=177
This commit is contained in:
Jan Engelhardt 2019-08-15 14:26:00 +00:00 committed by Git OBS Bridge
parent 116e149486
commit bca0b44c63
6 changed files with 15 additions and 41 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:690b8a8c4786a3dd63e428b4f7521cce85e78fd2018227c9acf900d8363cd354
size 16695708

3
gsoap-2.8.91.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:279d6e21ea2eac008739e483280b63a8178fe6cb160d9d46ec6a43df9ad3546e
size 16125560

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 15 14:22:59 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 2.8.91
* Correction to fix soapcpp2 2.8.90 `-z#` flag enforcement
problem.
- Removed revert-z.diff (solved upstream)
-------------------------------------------------------------------
Wed Aug 14 18:19:03 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,8 +17,8 @@
Name: gsoap
%define lname libgsoap-2_8_90
Version: 2.8.90
%define lname libgsoap-2_8_91
Version: 2.8.91
Release: 0
Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications
License: SUSE-GPL-2.0+-with-openssl-exception
@ -29,7 +29,6 @@ Source: gsoap-%version.tar.xz
Source2: sanitize_source.sh
Patch1: gsoap-automake1_13.diff
Patch2: gsoap-01-sharedlibs.diff
Patch3: revert-z.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@ -84,7 +83,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 -P 3 -p1
%patch -P 1 -P 2 -p1
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
%build

View File

@ -1,33 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Upstream: https://sourceforge.net/p/gsoap2/bugs/1253/
Revert broken code change in 2.8.89 that ignores all -z options.
diff --git a/gsoap/src/soapcpp2.c b/gsoap/src/soapcpp2.c
index 34ca6fce..3a92e297 100644
--- a/gsoap/src/soapcpp2.c
+++ b/gsoap/src/soapcpp2.c
@@ -356,22 +356,15 @@ infile header file to parse (if none reads stdin)\n\
vflag = 1;
break;
case 'z':
- {
- int z = zflag;
a++;
- if (zflag)
- fprintf(stderr, "soapcpp2: Option -z specified twice\n");
g = 0;
if (*a)
zflag = *a - '0';
else if (i < argc && argv[++i])
zflag = *argv[i] - '0';
else
- execerror("Option -z requires an argument");
- if (zflag == 0 || z < zflag)
- zflag = z;
+ execerror("Option -z requires a digit");
break;
- }
default:
fprintf(stderr, "soapcpp2: Unknown option %s\n", a);
exit(1);

View File

@ -13,7 +13,7 @@ if ! which hardlink >/dev/null; then
exit 1;
fi;
version="2.8.90"
version="2.8.91"
shortver="2.8" # agh...
if [ ! -e "gsoap_$version.zip" ]; then
wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"