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

17 lines
561 B
Plaintext
Raw Normal View History

2003-06-10 02:32:56 -04:00
$OpenBSD: patch-mencal,v 1.2 2003/06/10 06:33:05 kevlo Exp $
--- mencal.orig Tue Jun 10 14:24:55 2003
+++ mencal Tue Jun 10 14:25:26 2003
@@ -276,12 +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])) { $day=~s/^(..).+$/$1/; $config{'topline'}.=$day.' '; }
- $config{'topline'}=~s/ +$//;
- }
$config{'topline'}=~s/;/ /g;
$config{'monday_first'} && $config{'topline'}=~s/^(..) (.+)$/$2 $1/;