[packages/gsoap] - fix bison source, rebuild with openssl 3.0.0, rel 2

baggins baggins at pld-linux.org
Sun Oct 24 23:19:27 CEST 2021


commit 74a9ef3ed913351cc80e0c97e7ab5b72db4162ad
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 24 23:18:38 2021 +0200

    - fix bison source, rebuild with openssl 3.0.0, rel 2

 bison.patch | 11 +++++++++++
 gsoap.spec  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gsoap.spec b/gsoap.spec
index fd50bff..b038aed 100644
--- a/gsoap.spec
+++ b/gsoap.spec
@@ -4,13 +4,14 @@ Summary:	gSOAP - a development toolkit for Web services
 Summary(pl.UTF-8):	gSOAP - zestawem narzędzi programistycznych dla usług WWW
 Name:		gsoap
 Version:	2.8.70
-Release:	1
+Release:	2
 License:	gSOAP / GPL
 Group:		Development/Libraries
 Source0:	http://downloads.sourceforge.net/gsoap2/gsoap-2.8/%{name}_%{version}.zip
 # Source0-md5:	5704bbfe8ba1c1e8c85130e534ed6368
 Patch0:		%{name}-libtool.patch
 Patch1:		%{name}-xlocale.patch
+Patch2:		bison.patch
 URL:		http://www.cs.fsu.edu/~engelen/soap.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -66,6 +67,7 @@ Statyczna biblioteka %{name}.
 %setup -q -n %{name}-2.8
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # remove stuff with gsoap license only - not GPL
 %{__rm} -r gsoap/extras gsoap/mod_gsoap gsoap/Symbian
diff --git a/bison.patch b/bison.patch
new file mode 100644
index 0000000..119ef17
--- /dev/null
+++ b/bison.patch
@@ -0,0 +1,11 @@
+--- gsoap-2.8/gsoap/src/soapcpp2_lex.l~	2018-08-27 19:05:09.000000000 +0200
++++ gsoap-2.8/gsoap/src/soapcpp2_lex.l	2021-10-24 23:11:13.943438206 +0200
+@@ -48,7 +48,7 @@
+ #endif
+ 
+ #ifdef WITH_BISON
+-YYSTYPE yylval;
++extern YYSTYPE yylval;
+ #undef YY_NEED_STRLEN
+ #define YY_INPUT(buf, result, max_size) \
+         { \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gsoap.git/commitdiff/74a9ef3ed913351cc80e0c97e7ab5b72db4162ad



More information about the pld-cvs-commit mailing list