From baa8b275bf770955228ccc78f401aefd4ca24d08 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 29 Nov 2009 21:31:57 +0000 Subject: Configure socklen_t properly on NetBSD. Fixes broken amd64 build. --- devel/gsoap/Makefile | 3 ++- devel/gsoap/distinfo | 3 ++- devel/gsoap/patches/patch-ac | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 devel/gsoap/patches/patch-ac (limited to 'devel') diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile index c270f053a4e..50493dc7ab2 100644 --- a/devel/gsoap/Makefile +++ b/devel/gsoap/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2009/05/13 18:46:16 hasso Exp $ +# $NetBSD: Makefile,v 1.7 2009/11/29 21:31:57 dholland Exp $ DISTNAME= gsoap_2.7.13 PKGNAME= gsoap-2.7.13 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsoap2/} diff --git a/devel/gsoap/distinfo b/devel/gsoap/distinfo index c33834bfbf0..1a4e8637dcb 100644 --- a/devel/gsoap/distinfo +++ b/devel/gsoap/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2009/05/13 18:46:16 hasso Exp $ +$NetBSD: distinfo,v 1.4 2009/11/29 21:31:57 dholland Exp $ SHA1 (gsoap_2.7.13.tar.gz) = 4c91ce860ee6853f785a11484c7298d294a53ef6 RMD160 (gsoap_2.7.13.tar.gz) = 58f2bcd95199fdec3c5ce6579374148eaab955b1 Size (gsoap_2.7.13.tar.gz) = 6564489 bytes SHA1 (patch-aa) = 6e0b1c00244c1dcada571e8d3a7c4b2be5800df3 SHA1 (patch-ab) = 9a35355d7553d5063278574109a2c1121a2a5b18 +SHA1 (patch-ac) = 0677e3b3efed5b26770782296d9b643a670af0a9 diff --git a/devel/gsoap/patches/patch-ac b/devel/gsoap/patches/patch-ac new file mode 100644 index 00000000000..51390506a49 --- /dev/null +++ b/devel/gsoap/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2009/11/29 21:31:57 dholland Exp $ + +Get socklen_t defined correctly. + +--- gsoap/stdsoap2.h~ 2009-03-21 17:24:44.000000000 -0400 ++++ gsoap/stdsoap2.h 2009-11-29 15:47:13.000000000 -0500 +@@ -676,7 +676,7 @@ extern "C" { + # endif + #elif defined(SOCKLEN_T) + # define SOAP_SOCKLEN_T SOCKLEN_T +-#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(OS390) ++#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(__NetBSD__) || defined(__OpenBSD__) + # define SOAP_SOCKLEN_T socklen_t + #elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS) + # define SOAP_SOCKLEN_T int -- cgit v1.2.3