summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-12-18 01:29:09 +0000
committermarkd <markd@pkgsrc.org>2005-12-18 01:29:09 +0000
commit91428acb1481d8ab525e273481befbb8ecc81117 (patch)
tree27b73e35572698bca65159f06cdbb0af459743a3
parent2c781462ed9b5345e46557f9330e05ccbf00b032 (diff)
downloadpkgsrc-91428acb1481d8ab525e273481befbb8ecc81117.tar.gz
Fix defining of socklen_t for NetBSD (and DragonFly). Should fix
PR pkg/32311.
-rw-r--r--misc/kdepim3/distinfo3
-rw-r--r--misc/kdepim3/patches/patch-ai13
2 files changed, 15 insertions, 1 deletions
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