summaryrefslogtreecommitdiff
path: root/net/socket++/patches
diff options
context:
space:
mode:
authorhasso <hasso>2009-04-07 18:05:08 +0000
committerhasso <hasso>2009-04-07 18:05:08 +0000
commit3f5114c76a657e153c87e978ad16c3236578f61c (patch)
treefecf77d74ef94b35f25e947b5e77a272bd94be2e /net/socket++/patches
parente9321f3a236270750898d0298dd82314969770f3 (diff)
downloadpkgsrc-3f5114c76a657e153c87e978ad16c3236578f61c.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'net/socket++/patches')
-rw-r--r--net/socket++/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket++/patches/patch-aa b/net/socket++/patches/patch-aa
index b1d4968cb4a..bb5bacec665 100644
--- a/net/socket++/patches/patch-aa
+++ b/net/socket++/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2006/05/12 07:44:26 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2009/04/07 18:05:08 hasso Exp $
--- socket++/local.h.orig 2003-03-14 18:02:40.000000000 +0000
+++ socket++/local.h
@@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.2 2006/05/12 07:44:26 joerg Exp $
extern "C" char* inet_ntoa (in_addr ina);
#if !defined (__linux__)
-+#if !defined (__NetBSD__)
++#if !defined (__NetBSD__) && !defined (__DragonFly__)
extern "C" int gethostname (char* hostname, int len);
-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
+#endif