Date: Thu, 17 Jul 2003 09:31:21 +0200 From: Kirill Ponomarew <ponomarew@oberon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54568: Update deskutils/mencal: 2.1 -> 2.3 Message-ID: <E19d3EX-000BQS-23@voodoo.oberon.net> Resent-Message-ID: <200307170740.h6H7e3sP049664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54568 >Category: ports >Synopsis: Update deskutils/mencal: 2.1 -> 2.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jul 17 00:40:02 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-STABLE i386 >Organization: Oberon.net >Environment: >Description: Update deskutils/mencal: 2.1 -> 2.3 * fixed error message typo * fixed incorrect displaying of some day names >How-To-Repeat: >Fix: diff -urN mencal.orig/Makefile mencal/Makefile --- mencal.orig/Makefile Wed Jun 4 22:10:23 2003 +++ mencal/Makefile Thu Jul 17 09:25:43 2003 @@ -6,10 +6,9 @@ # PORTNAME= mencal -PORTVERSION= 2.1 +PORTVERSION= 2.3 CATEGORIES= deskutils -MASTER_SITES= http://mencal.kyberdigi.cz/ \ - http://unixpages.org/distfiles/ +MASTER_SITES= http://kyberdigi.cz/projects/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= A variation of the unix command cal diff -urN mencal.orig/distinfo mencal/distinfo --- mencal.orig/distinfo Fri Jan 17 12:23:43 2003 +++ mencal/distinfo Thu Jul 17 09:25:48 2003 @@ -1 +1 @@ -MD5 (mencal-2.1.tar.gz) = 6fc94b9174eb2ac71084b8848d4f5a3d +MD5 (mencal-2.3.tar.gz) = e0fa5665b8f7772521bb95379bfdec20 diff -urN mencal.orig/files/patch-mencal mencal/files/patch-mencal --- mencal.orig/files/patch-mencal Wed Sep 18 12:21:36 2002 +++ mencal/files/patch-mencal Thu Jul 17 09:27:56 2003 @@ -1,19 +1,21 @@ ---- mencal.orig Fri Mar 29 08:14:03 2002 -+++ mencal Wed Sep 18 18:19:07 2002 +--- mencal.orig Thu Jul 17 09:26:57 2003 ++++ mencal Thu Jul 17 09:27:35 2003 @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w ##< month object >## -@@ -271,13 +271,6 @@ +@@ -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])) { $day=~s/^(..).+$/$1/; $config{'topline'}.=$day.' '; } +- foreach my $day (split(';', $locales[1])) { +- $config{'topline'}.=sprintf("% 2s ", substr($day, 0, 2)); +- } - $config{'topline'}=~s/ +$//; - } - $config{'topline'}=~s/;/ /g; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19d3EX-000BQS-23>