summaryrefslogtreecommitdiff
path: root/lang/perl58
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2004-06-09 20:47:20 +0000
committerchristos <christos@pkgsrc.org>2004-06-09 20:47:20 +0000
commit3d1c2dfa16c968aa0fe63c922d0cf50007474f40 (patch)
treecfa4b253b0754158664900cb7ca858133ac9b5ea /lang/perl58
parentacf61ca66f5f7755b7887ca6d3055c9863e7f3d0 (diff)
downloadpkgsrc-3d1c2dfa16c968aa0fe63c922d0cf50007474f40.tar.gz
make this compile with perl58-thread by excluding the _r functions for
protoent and servent. Also there is a stray setrgid there which looks correct to me.
Diffstat (limited to 'lang/perl58')
-rw-r--r--lang/perl58/distinfo4
-rw-r--r--lang/perl58/patches/patch-ba39
2 files changed, 37 insertions, 6 deletions
diff --git a/lang/perl58/distinfo b/lang/perl58/distinfo
index 7f18c35f366..ea8a87c7158 100644
--- a/lang/perl58/distinfo
+++ b/lang/perl58/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.18 2004/04/28 15:55:36 tv Exp $
+$NetBSD: distinfo,v 1.19 2004/06/09 20:47:20 christos Exp $
SHA1 (perl-5.8.4.tar.bz2) = c5ea4952f42b0505268863dc607058b39cfcd4b6
Size (perl-5.8.4.tar.bz2) = 9598489 bytes
SHA1 (patch-aa) = a441cba11b12a4285284e98b6e5918efbd8bafef
SHA1 (patch-ae) = fa3bbb1561192ce9214a7a7c756ccb2595a52c80
SHA1 (patch-ah) = b5b65b219c3d088bca2d46d833bc0afb62d5e727
-SHA1 (patch-ba) = cdceb712bae08c6041e5aa175e5989d48b3a3f4e
+SHA1 (patch-ba) = 74a01f3a86f263720b9f07d1fdbaadbaecafb012
SHA1 (patch-bc) = 9bb94826d63a094bc95c2201b8b86bfbc056fb3f
SHA1 (patch-ca) = 5c0e5c1300d270891246330439ac66dd70457583
SHA1 (patch-cb) = 2221fb87bddd29406d925d1cb5351eb4f3087f76
diff --git a/lang/perl58/patches/patch-ba b/lang/perl58/patches/patch-ba
index b90e829bdde..e738a95f84a 100644
--- a/lang/perl58/patches/patch-ba
+++ b/lang/perl58/patches/patch-ba
@@ -1,8 +1,39 @@
-$NetBSD: patch-ba,v 1.1 2003/10/05 14:26:00 grant Exp $
+$NetBSD: patch-ba,v 1.2 2004/06/09 20:47:20 christos Exp $
---- hints/netbsd.sh.orig Tue Jul 1 23:49:58 2003
-+++ hints/netbsd.sh Wed Jul 2 11:49:17 2003
-@@ -133,23 +133,6 @@
+--- hints/netbsd.sh.orig 2003-08-07 12:57:56.000000000 -0400
++++ hints/netbsd.sh 2004-06-06 18:45:19.000000000 -0400
+@@ -78,6 +78,30 @@
+ d_setreuid="$undef"
+ ;;
+ esac
++case "$osvers" in
++0.9*|1.*|2.*)
++ d_getprotoent_r="$undef"
++ d_getprotobyname_r="$undef"
++ d_getprotobynumber_r="$undef"
++ d_setprotoent_r="$undef"
++ d_endprotoent_r="$undef"
++ d_getservent_r="$undef"
++ d_getservbyname_r="$undef"
++ d_getservbyport_r="$undef"
++ d_setservent_r="$undef"
++ d_endservent_r="$undef"
++ d_getprotoent_r_proto="$undef"
++ d_getprotobyname_r_proto="$undef"
++ d_getprotobynumber_r_proto="$undef"
++ d_setprotoent_r_proto="$undef"
++ d_endprotoent_r_proto="$undef"
++ d_getservent_r_proto="$undef"
++ d_getservbyname_r_proto="$undef"
++ d_getservbyport_r_proto="$undef"
++ d_setservent_r_proto="$undef"
++ d_endservent_r_proto="$undef"
++ ;;
++esac
+
+ # These are obsolete in any netbsd.
+ d_setrgid="$undef"
+@@ -133,23 +157,6 @@
esac
EOCBU