diff --git a/ai_default.diff b/ai_default.diff deleted file mode 100644 index f6afdc9..0000000 --- a/ai_default.diff +++ /dev/null @@ -1,22 +0,0 @@ -From: Jan Engelhardt -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; diff --git a/gsoap.spec b/gsoap.spec index ded477d..e0f687f 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -30,7 +30,6 @@ Source2: sanitize_source.sh Patch1: gsconfig.patch Patch3: gsoap-automake1_13.diff Patch4: gsoap-01-sharedlibs.diff -Patch5: ai_default.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -85,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 3 -P 4 -P 5 -p1 +%patch -P 1 -P 3 -P 4 -p1 ln -fs stdsoap2.cpp gsoap/stdsoap2.c %build