Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/tcl-tclcl Be nicer to C++11 code. Bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c971fa684013
branches:  trunk
changeset: 433092:c971fa684013
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat May 30 20:43:40 2020 +0000

description:
Be nicer to C++11 code. Bump revision.

diffstat:

 devel/tcl-tclcl/Makefile              |   4 ++--
 devel/tcl-tclcl/distinfo              |   4 ++--
 devel/tcl-tclcl/patches/patch-tclcl.h |  12 +++++++++++-
 3 files changed, 15 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 625d9afa061f -r c971fa684013 devel/tcl-tclcl/Makefile
--- a/devel/tcl-tclcl/Makefile  Sat May 30 20:36:33 2020 +0000
+++ b/devel/tcl-tclcl/Makefile  Sat May 30 20:43:40 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2020/03/20 11:57:33 nia Exp $
+# $NetBSD: Makefile,v 1.35 2020/05/30 20:43:40 joerg Exp $
 
 DISTNAME=      tclcl-src-1.20
 PKGNAME=       tcl-${DISTNAME:S/-src//}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
 
diff -r 625d9afa061f -r c971fa684013 devel/tcl-tclcl/distinfo
--- a/devel/tcl-tclcl/distinfo  Sat May 30 20:36:33 2020 +0000
+++ b/devel/tcl-tclcl/distinfo  Sat May 30 20:43:40 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 03:29:34 agc Exp $
+$NetBSD: distinfo,v 1.14 2020/05/30 20:43:40 joerg Exp $
 
 SHA1 (tclcl-src-1.20.tar.gz) = 45d38a1dea2ed9bfd529776b16f5a78d584f7549
 RMD160 (tclcl-src-1.20.tar.gz) = eea14ea193669d60c8e7fab23bf2096d9feaae8a
@@ -11,4 +11,4 @@
 SHA1 (patch-ac) = dbbd4529799e015ffaafff449fb6140aa8f9d663
 SHA1 (patch-rate-variable.cc) = c07ee30701b82de146c49f8300644aee73e45b09
 SHA1 (patch-rate-variable.h) = c316718a950a8ac6a8bcc304dc25b48e0baad537
-SHA1 (patch-tclcl.h) = ddb7884a0106ef1c2796743ffbef13f50e5dd992
+SHA1 (patch-tclcl.h) = bf0902bc62066fc8981e2bbfa6e09f8f144e4708
diff -r 625d9afa061f -r c971fa684013 devel/tcl-tclcl/patches/patch-tclcl.h
--- a/devel/tcl-tclcl/patches/patch-tclcl.h     Sat May 30 20:36:33 2020 +0000
+++ b/devel/tcl-tclcl/patches/patch-tclcl.h     Sat May 30 20:43:40 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-tclcl.h,v 1.1 2014/02/01 08:00:06 markd Exp $
+$NetBSD: patch-tclcl.h,v 1.2 2020/05/30 20:43:40 joerg Exp $
 
 Build with tcl8.6
+Allow using C++11 compilers.
 
 --- tclcl.h.orig       2005-09-07 04:53:51.000000000 +0000
 +++ tclcl.h
@@ -13,3 +14,12 @@
        void resultf(const char* fmt, ...);
        inline void CreateCommand(const char* cmd, Tcl_CmdProc* cproc,
                                  ClientData cd = 0,
+@@ -190,7 +190,7 @@ class TclObject {
+       /* give an error message and exit if the old variable 
+          name is used either for read or write */
+ #define _RENAMED(oldname, newname) \
+-      bind_error(oldname, "variable "oldname" is renamed to "newname)
++      bind_error(oldname, "variable " oldname " is renamed to " newname)
+ 
+ 
+       virtual int init(int /*argc*/, const char*const* /*argv*/) {



Home | Main Index | Thread Index | Old Index