diff options
author | hasso <hasso> | 2009-04-07 18:05:08 +0000 |
---|---|---|
committer | hasso <hasso> | 2009-04-07 18:05:08 +0000 |
commit | 3f5114c76a657e153c87e978ad16c3236578f61c (patch) | |
tree | fecf77d74ef94b35f25e947b5e77a272bd94be2e /net/socket++/patches | |
parent | e9321f3a236270750898d0298dd82314969770f3 (diff) | |
download | pkgsrc-3f5114c76a657e153c87e978ad16c3236578f61c.tar.gz |
Make it build on DragonFly.
Diffstat (limited to 'net/socket++/patches')
-rw-r--r-- | net/socket++/patches/patch-aa | 4 |
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 |