diff options
author | markd <markd> | 2008-02-03 19:36:33 +0000 |
---|---|---|
committer | markd <markd> | 2008-02-03 19:36:33 +0000 |
commit | b2194d922015c8e37c4f25b7e92a2de2637e27e0 (patch) | |
tree | d2c4ba5b3e3129fa7d95e3577fe725e79dc237bf /time | |
parent | 0fe7995460edc5a1dcf2cf79c9c4bc9c70e4d70b (diff) | |
download | pkgsrc-b2194d922015c8e37c4f25b7e92a2de2637e27e0.tar.gz |
Fix segfault on NetBSD-current.
Diffstat (limited to 'time')
-rw-r--r-- | time/ical/Makefile | 4 | ||||
-rw-r--r-- | time/ical/distinfo | 3 | ||||
-rw-r--r-- | time/ical/patches/patch-ab | 33 |
3 files changed, 37 insertions, 3 deletions
diff --git a/time/ical/Makefile b/time/ical/Makefile index 237487daf06..2c05194ec0e 100644 --- a/time/ical/Makefile +++ b/time/ical/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2006/03/04 21:30:52 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2008/02/03 19:36:33 markd Exp $ DISTNAME= ical-2.3.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= time MASTER_SITES= http://www.annexia.org/_file/ diff --git a/time/ical/distinfo b/time/ical/distinfo index 66b12116fe6..bf6a670d8e8 100644 --- a/time/ical/distinfo +++ b/time/ical/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2005/02/23 19:14:54 wiz Exp $ +$NetBSD: distinfo,v 1.8 2008/02/03 19:36:33 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) = 238d2d4ce21cc60ec0eaae854aa722ca0486701d +SHA1 (patch-ab) = ccfdc593988195128c837bac36d706150b5a7df6 diff --git a/time/ical/patches/patch-ab b/time/ical/patches/patch-ab new file mode 100644 index 00000000000..d17ef234c3f --- /dev/null +++ b/time/ical/patches/patch-ab @@ -0,0 +1,33 @@ +$NetBSD: patch-ab,v 1.4 2008/02/03 19:36:33 markd Exp $ + +--- dateeditor.C.orig 2004-03-12 00:26:56.000000000 +1300 ++++ dateeditor.C +@@ -148,12 +148,12 @@ int Cmd_HiliteLoop(ClientData, Tcl_Inter + char buffer[20]; + sprintf(buffer, "%d", list[i].date.EpochDays()); + if (Tcl_SetVar(tcl, dvar, buffer, 0) == NULL) { +- free((char*) strlist); ++ Tcl_Free((char*) strlist); + TCL_Error(tcl, "could not set loop variable"); + } + + if (Tcl_SetVar(tcl, hvar, (char*)hilite, 0) == NULL) { +- free((char*) strlist); ++ Tcl_Free((char*) strlist); + TCL_Error(tcl, "could not set loop variable"); + } + +@@ -165,11 +165,11 @@ int Cmd_HiliteLoop(ClientData, Tcl_Inter + if (result == TCL_BREAK) break; + + // Error of some sort +- free((char*) strlist); ++ Tcl_Free((char*) strlist); + return result; + } + +- free((char*) strlist); ++ Tcl_Free((char*) strlist); + TCL_Return(tcl, ""); + } + |