pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/ical Add a patch to rid us of the warnings relate...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b74bce8c7334
branches:  trunk
changeset: 375657:b74bce8c7334
user:      he <he%pkgsrc.org@localhost>
date:      Sun Feb 18 20:03:30 2018 +0000

description:
Add a patch to rid us of the warnings related to using an old tcl API.
Bump PKGREVISION.

diffstat:

 time/ical/Makefile             |   4 ++--
 time/ical/distinfo             |   3 ++-
 time/ical/patches/patch-ical.C |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 58bcd816818d -r b74bce8c7334 time/ical/Makefile
--- a/time/ical/Makefile        Sun Feb 18 19:31:56 2018 +0000
+++ b/time/ical/Makefile        Sun Feb 18 20:03:30 2018 +0000
@@ -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 -r 58bcd816818d -r b74bce8c7334 time/ical/distinfo
--- a/time/ical/distinfo        Sun Feb 18 19:31:56 2018 +0000
+++ b/time/ical/distinfo        Sun Feb 18 20:03:30 2018 +0000
@@ -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 -r 58bcd816818d -r b74bce8c7334 time/ical/patches/patch-ical.C
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ical/patches/patch-ical.C    Sun Feb 18 20:03:30 2018 +0000
@@ -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();
+ }



Home | Main Index | Thread Index | Old Index