diff options
author | he <he@pkgsrc.org> | 2018-02-18 20:03:30 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2018-02-18 20:03:30 +0000 |
commit | 68458d098ad7f39e66b9c584c1a59ad1b7dc9c8a (patch) | |
tree | 094c06f1418f01de49abd940b6135f40943125f7 | |
parent | fedfdfa36aa692699b077591541de03afc65739a (diff) | |
download | pkgsrc-68458d098ad7f39e66b9c584c1a59ad1b7dc9c8a.tar.gz |
Add a patch to rid us of the warnings related to using an old tcl API.
Bump PKGREVISION.
-rw-r--r-- | time/ical/Makefile | 4 | ||||
-rw-r--r-- | time/ical/distinfo | 3 | ||||
-rw-r--r-- | time/ical/patches/patch-ical.C | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/time/ical/Makefile b/time/ical/Makefile index 9d596ccc7f7..76290f39f5e 100644 --- a/time/ical/Makefile +++ b/time/ical/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.33 2016/07/10 10:52:41 rillig Exp $ +# $NetBSD: Makefile,v 1.34 2018/02/18 20:03:30 he Exp $ DISTNAME= ical-3.0.2 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= time MASTER_SITES= https://launchpad.net/ical-tcl/3.x/${PKGVERSION_NOREV}/+download/ diff --git a/time/ical/distinfo b/time/ical/distinfo index 3cbb5cdc83f..86debedf816 100644 --- a/time/ical/distinfo +++ b/time/ical/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.12 2015/11/02 23:31:37 agc Exp $ +$NetBSD: distinfo,v 1.13 2018/02/18 20:03:30 he Exp $ SHA1 (ical-3.0.2.tar.gz) = 8a0c2f132979320cb2c24b187cb7238698161e5d RMD160 (ical-3.0.2.tar.gz) = e66326edf0cc562e601770959df3a415126ae8c5 SHA512 (ical-3.0.2.tar.gz) = 6ce7f2d49133c246c6f792203a7a494bcec6d55eb59fac43b6610bc97d0fdbf44cbfa230014241ede581ceb10047d10320fd1a119587d7ba6693ab69b0c7c938 Size (ical-3.0.2.tar.gz) = 308788 bytes SHA1 (patch-calendar_Item.C) = 66fbf2c57829188ca9ae0456ef13c1bc8bba8702 +SHA1 (patch-ical.C) = 83811014ee3f1582dd4b469d5b1aa7df47c1df58 SHA1 (patch-time_Time.C) = 8e2452a91f81884d6fd99487f81c35108e7d9023 diff --git a/time/ical/patches/patch-ical.C b/time/ical/patches/patch-ical.C new file mode 100644 index 00000000000..62bb13a40d9 --- /dev/null +++ b/time/ical/patches/patch-ical.C @@ -0,0 +1,15 @@ +$NetBSD: patch-ical.C,v 1.1 2018/02/18 20:03:31 he Exp $ + +Use newer API to get interpreter string result. + +--- ical.C.orig 2009-04-18 11:49:55.000000000 +0000 ++++ ical.C +@@ -141,7 +141,7 @@ void trigger(Tcl_Interp* tcl, char const + buffer.append('\0'); + + if (Tcl_Eval(tcl, buffer.as_pointer()) == TCL_ERROR) +- fprintf(stderr, "ical: trigger error: %s\n", tcl->result); ++ fprintf(stderr, "ical: trigger error: %s\n", Tcl_GetStringResult(tcl)); + + buffer.clear(); + } |