openbsd-ports/sysutils/mencal/patches/patch-mencal

19 lines
580 B
Plaintext

$OpenBSD: patch-mencal,v 1.3 2004/11/30 03:16:47 kevlo Exp $
--- mencal.orig Tue Nov 30 02:26:43 2004
+++ mencal Tue Nov 30 02:33:10 2004
@@ -276,14 +276,6 @@ package Main;
}
}
- my @locales=split("\n", `locale -c LC_TIME`);
- if(($#locales>=1) && length($locales[1])) {
- $config{'topline'}='';
- foreach my $day (split(';', $locales[1])) {
- $config{'topline'}.=sprintf("% 2s ", substr($day, 0, 2));
- }
- $config{'topline'}=~s/ +$//;
- }
$config{'topline'}=~s/;/ /g;
$config{'monday_first'} && $config{'topline'}=~s/^(..) (.+)$/$2 $1/;