$NetBSD: patch-af,v 1.3 2012/05/16 16:16:46 bouyer Exp $ --- src/lib/Language.pm.orig 2012-02-08 18:03:43.000000000 +0100 +++ src/lib/Language.pm 2012-02-08 18:04:12.000000000 +0100 @@ -164,7 +164,7 @@ ## Set Locale::Messages context my $locale_dashless = $locale.'.utf-8'; $locale_dashless =~ s/-//g; - foreach my $type (&POSIX::LC_ALL, &POSIX::LC_TIME) { + foreach my $type (&POSIX::LC_CTYPE) { my $success; foreach my $try ($locale.'.utf-8', $locale.'.UTF-8', ## UpperCase required for FreeBSD