drop ai_default.diff
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=146
This commit is contained in:
parent
a156b6f52d
commit
ce24cf2cf5
@ -1,22 +0,0 @@
|
|||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
Date: 2018-11-13 00:49:28.201279291 +0100
|
|
||||||
References: https://sourceforge.net/p/gsoap2/bugs/1223/
|
|
||||||
|
|
||||||
There is no such thing as AI_DEFAULT.
|
|
||||||
---
|
|
||||||
gsoap/stdsoap2.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: gsoap-2.8.71/gsoap/stdsoap2.c
|
|
||||||
===================================================================
|
|
||||||
--- gsoap-2.8.71.orig/gsoap/stdsoap2.cpp
|
|
||||||
+++ gsoap-2.8.71/gsoap/stdsoap2.cpp
|
|
||||||
@@ -6697,7 +6697,7 @@ soap_accept(struct soap *soap)
|
|
||||||
memset(&hints, 0, sizeof(struct addrinfo));
|
|
||||||
hints.ai_family = PF_UNSPEC;
|
|
||||||
hints.ai_socktype = SOCK_STREAM;
|
|
||||||
- hints.ai_flags = AI_DEFAULT | AI_NUMERICHOST | AI_NUMERICSERV;
|
|
||||||
+ hints.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV;
|
|
||||||
getnameinfo(&soap->peer.addr, n, soap->host, sizeof(soap->host), port, sizeof(port), NI_NUMERICHOST | NI_NUMERICSERV);
|
|
||||||
soap->ip = 0;
|
|
||||||
soap->ip6[0] = 0;
|
|
@ -30,7 +30,6 @@ Source2: sanitize_source.sh
|
|||||||
Patch1: gsconfig.patch
|
Patch1: gsconfig.patch
|
||||||
Patch3: gsoap-automake1_13.diff
|
Patch3: gsoap-automake1_13.diff
|
||||||
Patch4: gsoap-01-sharedlibs.diff
|
Patch4: gsoap-01-sharedlibs.diff
|
||||||
Patch5: ai_default.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -85,7 +84,7 @@ This subpackage contains the documentation for the gSOAP toolkit.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
|
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
|
||||||
%patch -P 1 -P 3 -P 4 -P 5 -p1
|
%patch -P 1 -P 3 -P 4 -p1
|
||||||
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
|
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user