Fixes build on NetBSD-6.x, PR 46037.

patch provided by nonaka@.
This commit is contained in:
obache 2012-02-17 14:04:01 +00:00
parent 987bab97e5
commit 089f7badf5
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.81 2011/12/08 22:43:49 hiramatsu Exp $
$NetBSD: distinfo,v 1.82 2012/02/17 14:04:01 obache Exp $
SHA1 (perl-5.14.2.tar.gz) = df1549d65cdef2b20023af83ecaa2a024109a5ad
RMD160 (perl-5.14.2.tar.gz) = bed043edbebd69e1279e9a70424e2552389bea79
@ -15,6 +15,7 @@ SHA1 (patch-ck) = 5c381db130cdf4c315678e2d65380eaaa3065fee
SHA1 (patch-cn) = a88fcb04b32c6e446d77b62cb6883a04f04e2e75
SHA1 (patch-cp) = 0b22d334df24d128142855464bf6dd61d4d82975
SHA1 (patch-cpan_Digest_Digest.pm) = bcd507631268608385a1a80d879c44cb2a057560
SHA1 (patch-hints_netbsd.sh) = acbe28ff4b99d45e29e66003bdd370ba5aaaa999
SHA1 (patch-ta) = 51a3e02148e78eaab882125f859e59add39a4fbe
SHA1 (patch-zd) = 15532739b4a582da322d3e51fc364905bacbcd7e
SHA1 (patch-ze) = 82f03439ab59aac4adfcb895ca22a0bbaaa0a6d1

View file

@ -0,0 +1,15 @@
$NetBSD: patch-hints_netbsd.sh,v 1.1 2012/02/17 14:04:01 obache Exp $
* NetBSD-6.x is same condition as older releases.
--- hints/netbsd.sh.orig 2011-09-19 13:18:22.000000000 +0000
+++ hints/netbsd.sh
@@ -89,7 +89,7 @@ case "$osvers" in
;;
esac
case "$osvers" in
-0.9*|1.*|2.*|3.*|4.*|5.*)
+0.9*|1.*|2.*|3.*|4.*|5.*|6.*)
d_getprotoent_r="$undef"
d_getprotobyname_r="$undef"
d_getprotobynumber_r="$undef"