devel/gsoap: Update version 2.8.25=>2.8.27

- Fix BUILD on 10 amd64 and CURRENT [1]

PR:		205782 [1]
Submitted by:	guru@unixarea.de [1]
This commit is contained in:
Muhammad Moinur Rahman 2016-01-01 16:54:14 +00:00
parent ca42e7f6b0
commit 2a4590b22f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405012
5 changed files with 32 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gsoap
PORTVERSION= 2.8.25
PORTVERSION= 2.8.27
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}2/gSOAP
DISTNAME= ${PORTNAME}_${PORTVERSION}

View File

@ -1,2 +1,2 @@
SHA256 (gsoap_2.8.25.zip) = 396b66eb7ab410d89a38d1319443d99fd8b43cab8743f9c69f03a2ed3215db05
SIZE (gsoap_2.8.25.zip) = 22488537
SHA256 (gsoap_2.8.27.zip) = cdd9188f3a00caf14fae54d7cc975227128118e818036e5b6bd6e87550e1dc35
SIZE (gsoap_2.8.27.zip) = 22643224

View File

@ -0,0 +1,14 @@
--- gsoap/stdsoap2.c.orig 2015-12-07 03:15:27 UTC
+++ gsoap/stdsoap2.c
@@ -5194,6 +5194,11 @@ soap_bind(struct soap *soap, const char
}
#endif
#ifdef TCP_FASTOPEN
+
+ #ifndef SOL_TCP
+ #define SOL_TCP IPPROTO_TCP
+ #endif
+
if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->master, SOL_TCP, TCP_FASTOPEN, (char*)&set, sizeof(int)))
{ soap->errnum = soap_socket_errno(soap->master);
soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_FASTOPEN failed in soap_bind()", SOAP_TCP_ERROR);

View File

@ -0,0 +1,13 @@
--- gsoap/stdsoap2.cpp.orig 2016-01-01 16:24:55 UTC
+++ gsoap/stdsoap2.cpp
@@ -5194,6 +5194,10 @@ soap_bind(struct soap *soap, const char
}
#endif
#ifdef TCP_FASTOPEN
+ #ifndef SOL_TCP
+ #define SOL_TCP IPPROTO_TCP
+ #endif
+
if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->master, SOL_TCP, TCP_FASTOPEN, (char*)&set, sizeof(int)))
{ soap->errnum = soap_socket_errno(soap->master);
soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_FASTOPEN failed in soap_bind()", SOAP_TCP_ERROR);

View File

@ -58,6 +58,8 @@ libdata/pkgconfig/gsoapssl.pc
%%DATADIR%%/custom/chrono_time_point.h
%%DATADIR%%/custom/duration.c
%%DATADIR%%/custom/duration.h
%%DATADIR%%/custom/int128.c
%%DATADIR%%/custom/int128.h
%%DATADIR%%/custom/long_double.c
%%DATADIR%%/custom/long_double.h
%%DATADIR%%/custom/long_time.c