Dragonfly build fix.
From Goetz Isenmann via private mail.
This commit is contained in:
parent
b09096955c
commit
e349a86605
2 changed files with 26 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.20 2009/12/15 12:07:57 asau Exp $
|
||||
$NetBSD: distinfo,v 1.21 2009/12/18 23:33:19 asau Exp $
|
||||
|
||||
SHA1 (erlang/otp_src_R13B03.tar.gz) = 161f22d498da244d4b32181a78b04d97523857d1
|
||||
RMD160 (erlang/otp_src_R13B03.tar.gz) = 7cf3d1cf6cdf73ff19f5a416396c4024e641ec29
|
||||
|
@ -23,3 +23,4 @@ SHA1 (patch-as) = b989c04579c37e9370288edaf296172bb07be046
|
|||
SHA1 (patch-at) = f0b8733b9ce3ac6c15274e83464499779ae25399
|
||||
SHA1 (patch-au) = fe924a3306a278f51d10b1d2ad14432ec9f1428e
|
||||
SHA1 (patch-av) = 6f54c914d760145298036aeabf81735f91acdd06
|
||||
SHA1 (patch-aw) = 38c5dbe389c0ec8e0bea16b99f56ddc1dc4c581e
|
||||
|
|
24
lang/erlang/patches/patch-aw
Normal file
24
lang/erlang/patches/patch-aw
Normal file
|
@ -0,0 +1,24 @@
|
|||
$NetBSD: patch-aw,v 1.1 2009/12/18 23:33:19 asau Exp $
|
||||
|
||||
Dragonfly support.
|
||||
|
||||
--- lib/erl_interface/src/connect/ei_resolve.c.orig 2009-03-12 13:19:12 +0100
|
||||
+++ lib/erl_interface/src/connect/ei_resolve.c 2009-12-17 13:22:10 +0100
|
||||
@@ -601,7 +601,7 @@
|
||||
#ifndef HAVE_GETHOSTBYNAME_R
|
||||
return my_gethostbyaddr_r(addr,length,type,hostp,buffer,buflen,h_errnop);
|
||||
#else
|
||||
-#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000))
|
||||
+#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__))
|
||||
struct hostent *result;
|
||||
|
||||
gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, &result,
|
||||
@@ -628,7 +628,7 @@
|
||||
#ifndef HAVE_GETHOSTBYNAME_R
|
||||
return my_gethostbyname_r(name,hostp,buffer,buflen,h_errnop);
|
||||
#else
|
||||
-#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000))
|
||||
+#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__))
|
||||
struct hostent *result;
|
||||
|
||||
gethostbyname_r(name, hostp, buffer, buflen, &result, h_errnop);
|
Loading…
Reference in a new issue