diff options
author | asau <asau> | 2009-12-18 23:33:19 +0000 |
---|---|---|
committer | asau <asau> | 2009-12-18 23:33:19 +0000 |
commit | 4034e27d5738f9db4ea123a91c502d2378b10645 (patch) | |
tree | 92024c93e53546623d01556727f6fb07a1d3ded9 /lang | |
parent | b85757a353d79e371cacfbe2b4d1ab16065e0e54 (diff) | |
download | pkgsrc-4034e27d5738f9db4ea123a91c502d2378b10645.tar.gz |
Dragonfly build fix.
From Goetz Isenmann via private mail.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/distinfo | 3 | ||||
-rw-r--r-- | lang/erlang/patches/patch-aw | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo index 21e80060925..f053ec16b0d 100644 --- a/lang/erlang/distinfo +++ b/lang/erlang/distinfo @@ -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 diff --git a/lang/erlang/patches/patch-aw b/lang/erlang/patches/patch-aw new file mode 100644 index 00000000000..6093de4ffd0 --- /dev/null +++ b/lang/erlang/patches/patch-aw @@ -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); |