summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-29 22:53:29 +0000
committermarkd <markd@pkgsrc.org>2011-01-29 22:53:29 +0000
commit11d8295e1b9958b2c590beb34aa31991798bb526 (patch)
treed58274c431513a732bcdd51907811426696b5cc6 /time
parent4af9686ddf3a1a89fc87364a94279d26a02f0bcb (diff)
downloadpkgsrc-11d8295e1b9958b2c590beb34aa31991798bb526.tar.gz
Fix build with gcc4.5
Diffstat (limited to 'time')
-rw-r--r--time/ical/distinfo3
-rw-r--r--time/ical/patches/patch-ac15
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];