Hello,

I attached here a patch to suppress a warning in mencal.  By the way,
you may be intersted in the patches that are currently applied to the
mencal package in Debian.

    http://sources.debian.net/src/mencal/2.4-1/debian/patches

Have a nice week-end,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan
>From 370a670173019e914164658268cff2fa3bb5f8e2 Mon Sep 17 00:00:00 2001
From: Charles Plessy <ple...@debian.org>
Date: Sat, 26 Oct 2013 11:43:31 +0900
Subject: [PATCH] =?UTF-8?q?Remove=20warning=20=E2=80=98Use=20of=20uninitia?=
 =?UTF-8?q?lized=20value=20in=20lc=20at=20./mencal=20line=20103=E2=80=99.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mencal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mencal b/mencal
index fb72a11..32edda6 100755
--- a/mencal
+++ b/mencal
@@ -105,7 +105,7 @@ package Conf;
       'length'    => shift || 28,
       'duration'  => shift || 4,
       'name'      => shift || 'Unknown',
-      'color'     => lc(shift) || 'red',
+      'color'     => lc(shift || 'red'),
       'days'      => ''
     };
     if($self->{'start'}!~/^[0-9]{8}$/) {
-- 
1.8.4.rc3

Reply via email to