opnsense-ports/deskutils/mencal/files/patch-mencal
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
573 B
Text

--- mencal.orig Thu Jul 17 07:53:15 2003
+++ mencal Wed Aug 23 23:24:21 2006
@@ -276,15 +276,6 @@
}
}
- 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/;
$config{'show_type'}=~/^(1|3|y)$/ || ($config{'show_type'}='1');