aboutsummaryrefslogtreecommitdiff
path: root/devel/gsoap
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-08-05 08:31:04 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-08-05 08:31:04 +0000
commit09391edc3b9d43e267d4705d3081a855de0884a5 (patch)
treead3c172c9dbbebe3994add1c994cd8917be889d0 /devel/gsoap
parentc26239a30bc048244548f0a1ad51f21f4aa30fe4 (diff)
downloadports-09391edc3b9d43e267d4705d3081a855de0884a5.tar.gz
ports-09391edc3b9d43e267d4705d3081a855de0884a5.zip
Notes
Diffstat (limited to 'devel/gsoap')
-rw-r--r--devel/gsoap/Makefile5
-rw-r--r--devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp15
2 files changed, 17 insertions, 3 deletions
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index 4f1cd76da380..e78f5aaea73b 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gsoap
PORTVERSION= 2.7.8c
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gsoap2
@@ -22,4 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-2.7
ONLY_FOR_ARCHS= i386 amd64
+post-patch:
+ @${REINPLACE_CMD} -e 's/> FD_SETSIZE/> (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.c
+ @${REINPLACE_CMD} -e 's/> FD_SETSIZE/> (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.cpp
+
.include <bsd.port.mk>
diff --git a/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp b/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp
index ea3dc0061a6c..d842a74e7460 100644
--- a/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp
+++ b/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp
@@ -1,6 +1,6 @@
---- soapcpp2/stdsoap2.cpp.orig Sat May 20 00:33:35 2006
-+++ soapcpp2/stdsoap2.cpp Sat May 20 00:58:56 2006
-@@ -3251,7 +3251,7 @@
+--- soapcpp2/stdsoap2.cpp.orig Mon Jun 26 23:36:38 2006
++++ soapcpp2/stdsoap2.cpp Sat Aug 5 12:18:51 2006
+@@ -3282,7 +3282,7 @@
soap->errnum = h_errno;
}
#elif defined(HAVE_GETHOSTBYNAME_R)
@@ -9,3 +9,12 @@
#elif defined(VXWORKS)
/* If the DNS resolver library resolvLib has been configured in the vxWorks
* image, a query for the host IP address is sent to the DNS server, if the
+@@ -3755,7 +3755,7 @@
+ X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);
+ if (!meth)
+ break;
+- val = meth->i2v(meth, meth->d2i(NULL, (unsigned char**)&ext->value->data, ext->value->length), NULL);
++ val = meth->i2v(meth, meth->d2i(NULL, (const unsigned char**)&ext->value->data, ext->value->length), NULL);
+ for (j = 0; j < sk_CONF_VALUE_num(val); j++)
+ { CONF_VALUE *nval = sk_CONF_VALUE_value(val, j);
+ if (nval && !strcmp(nval->name, "DNS") && !strcmp(nval->value, host))