diff options
-rw-r--r-- | time/ical/distinfo | 3 | ||||
-rw-r--r-- | time/ical/patches/patch-ac | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/time/ical/distinfo b/time/ical/distinfo index 96456d23457..22395d71112 100644 --- a/time/ical/distinfo +++ b/time/ical/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.9 2009/07/07 20:12:01 joerg Exp $ +$NetBSD: distinfo,v 1.10 2011/01/29 22:53:29 markd Exp $ SHA1 (ical-2.3.1.tar.gz) = 98649b7e1fbad9c13356eb5dded693d81b2252f2 RMD160 (ical-2.3.1.tar.gz) = 98642da1ef330ca3a5cf099508fb09dcdeb208be Size (ical-2.3.1.tar.gz) = 264576 bytes SHA1 (patch-aa) = 29d06f928f67165f5579aa87487b88f1aa2e0031 SHA1 (patch-ab) = ccfdc593988195128c837bac36d706150b5a7df6 +SHA1 (patch-ac) = 31e9d5dbb205065b146276ebde7a1a4207418477 diff --git a/time/ical/patches/patch-ac b/time/ical/patches/patch-ac new file mode 100644 index 00000000000..6536b335d96 --- /dev/null +++ b/time/ical/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.4 2011/01/29 22:53:29 markd Exp $ + +Fix build with gcc4.5 + +--- calendar/calfile.C.orig 2004-03-11 11:26:56.000000000 +0000 ++++ calendar/calfile.C +@@ -58,7 +58,7 @@ CalFile::CalFile(int ro, const char* nam + backupName = tmp; + + // Get directory name for access checks +- char* lastSlash = strrchr(name, '/'); ++ const char* lastSlash = strrchr(name, '/'); + if (lastSlash == 0) { + /* Calendar is in current directory */ + tmp = new char[3]; |