From 91428acb1481d8ab525e273481befbb8ecc81117 Mon Sep 17 00:00:00 2001 From: markd Date: Sun, 18 Dec 2005 01:29:09 +0000 Subject: Fix defining of socklen_t for NetBSD (and DragonFly). Should fix PR pkg/32311. --- misc/kdepim3/distinfo | 3 ++- misc/kdepim3/patches/patch-ai | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 misc/kdepim3/patches/patch-ai diff --git a/misc/kdepim3/distinfo b/misc/kdepim3/distinfo index a59cfb179c1..afd35a1e590 100644 --- a/misc/kdepim3/distinfo +++ b/misc/kdepim3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.35 2005/12/11 11:40:02 markd Exp $ +$NetBSD: distinfo,v 1.36 2005/12/18 01:29:09 markd Exp $ SHA1 (kdepim-3.5.0.tar.bz2) = fb98ea719990bf1169289ca5012ad75ac261f488 RMD160 (kdepim-3.5.0.tar.bz2) = 8a41dedd61f8607520d9bcfe49baadeb2b47d845 @@ -11,3 +11,4 @@ SHA1 (patch-ae) = 3814c6778417503fa088e689df16d36b2e2d1d2c SHA1 (patch-af) = f72f09de9dfe811fd1324906cfb8a0801dce5454 SHA1 (patch-ag) = 7c3974ddf207367015ffd1ac6ec2ceffa840febf SHA1 (patch-ah) = ffe68d07a0d49555b30ccd322c14f646bf2972cd +SHA1 (patch-ai) = e323770b352d0a3876f8380bb31aa30615866dd4 diff --git a/misc/kdepim3/patches/patch-ai b/misc/kdepim3/patches/patch-ai new file mode 100644 index 00000000000..0a0b0c86b5c --- /dev/null +++ b/misc/kdepim3/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.11 2005/12/18 01:29:09 markd Exp $ + +--- kresources/groupwise/soap/stdsoap2.h.orig 2005-09-10 20:23:46.000000000 +1200 ++++ kresources/groupwise/soap/stdsoap2.h +@@ -551,7 +551,7 @@ extern "C" { + /* Portability: define SOAP_SOCKLEN_T */ + #if 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(_AIX) ++#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(_AIX) || defined(__NetBSD__) || defined(__DragonFly__) + # 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