summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ck
blob: 908b297af94ee52bfd24eceb7ecd956085ead785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ck,v 1.2 2011/08/05 18:06:14 adam Exp $
--- hints/aix_4.sh.orig	2004-09-09 23:29:04.000000000 -0700
+++ hints/aix_4.sh	2005-03-08 18:42:35.000000000 -0700
@@ -103,9 +103,10 @@
     esac
 
 # uname -m output is too specific and not appropriate here
-case "$archname" in
-    '') archname="$osname" ;;
-    esac
+#case "$archname" in
+#    '') archname="$osname" ;;
+#    esac
+archname="rs6000-$osname"
 
 cc=${cc:-cc}
 ccflags="$ccflags -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE"
@@ -310,6 +311,7 @@
 	d_getgrent_r='undef'
 	d_getpwent_r='undef'
 	d_random_r='undef'
+	d_srandom_r='undef'
 	d_setgrent_r='undef'
 	d_setpwent_r='undef'
 	d_srand48_r='undef'