pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ns Fix build with tcl8.6. Bump PKGREVISION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e971195a9d8
branches:  trunk
changeset: 629940:2e971195a9d8
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Feb 01 08:04:04 2014 +0000

description:
Fix build with tcl8.6.  Bump PKGREVISION

diffstat:

 net/ns/Makefile                            |   8 ++++----
 net/ns/distinfo                            |  12 +++++++-----
 net/ns/patches/patch-am                    |   5 +++--
 net/ns/patches/patch-an                    |   5 +++--
 net/ns/patches/patch-ao                    |   5 +++--
 net/ns/patches/patch-ap                    |   5 +++--
 net/ns/patches/patch-pushback_ident-tree.h |  15 +++++++++++++++
 net/ns/patches/patch-webcache_pagepool.cc  |  15 +++++++++++++++
 8 files changed, 53 insertions(+), 17 deletions(-)

diffs (170 lines):

diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/Makefile
--- a/net/ns/Makefile   Sat Feb 01 08:00:06 2014 +0000
+++ b/net/ns/Makefile   Sat Feb 01 08:04:04 2014 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2014/01/11 14:42:05 adam Exp $
+# $NetBSD: Makefile,v 1.44 2014/02/01 08:04:04 markd Exp $
 
 DISTNAME=      ns-src-2.35
 PKGNAME=       ns-2.35
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nsnam/}
 
@@ -22,9 +22,9 @@
 
 CONFIGURE_ARGS+=       LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; ${ECHO} $$TCL_LIBS'`"
 CONFIGURE_ARGS+=       --with-tcl=${BUILDLINK_PREFIX.tcl}
-CONFIGURE_ARGS+=       --with-tcl-ver=8.5
+CONFIGURE_ARGS+=       --with-tcl-ver=8.6
 CONFIGURE_ARGS+=       --with-tk=${BUILDLINK_PREFIX.tk}
-CONFIGURE_ARGS+=       --with-tk-ver=8.5
+CONFIGURE_ARGS+=       --with-tk-ver=8.6
 CONFIGURE_ARGS+=       --with-otcl=${BUILDLINK_PREFIX.tcl-otcl}
 CONFIGURE_ARGS+=       --with-tclcl=${BUILDLINK_PREFIX.tcl-tclcl}
 CONFIGURE_ENV+=                X11LIBDIR=${X11PREFIX}/lib${LIBABISUFFIX}
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/distinfo
--- a/net/ns/distinfo   Sat Feb 01 08:00:06 2014 +0000
+++ b/net/ns/distinfo   Sat Feb 01 08:04:04 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2013/09/17 21:13:45 joerg Exp $
+$NetBSD: distinfo,v 1.21 2014/02/01 08:04:04 markd Exp $
 
 SHA1 (ns-src-2.35.tar.gz) = 785d4045711d92c0042a6f8f5620d5eb74732980
 RMD160 (ns-src-2.35.tar.gz) = 197e6874b97c56819ce9a722ffab9fe80a5cfe21
@@ -13,10 +13,10 @@
 SHA1 (patch-aj) = 533fa4f1bd1f8bf83882ed5ed2717511283d5ddc
 SHA1 (patch-ak) = ea478696cdddc44ba7a76d1f31d4a6a97a88aaef
 SHA1 (patch-al) = 628733a1e9ccf34c677711666e833c1ede27b5b1
-SHA1 (patch-am) = 882ea61b7f6909336f72f637b041f373830197e8
-SHA1 (patch-an) = c6dd6b93332a6c6dd169975836df9ef802bfc206
-SHA1 (patch-ao) = 2a1fd71686ff206fe2212605f91b8167b998d6e2
-SHA1 (patch-ap) = f130c112d7dfe114e637e190750d9caad55e4703
+SHA1 (patch-am) = d721e6187c2ed3f485fbab5bf1235de037453a05
+SHA1 (patch-an) = 05cf59b46305f81195a0bf4542cfbb264a683df6
+SHA1 (patch-ao) = 9c8458bc4f3d168333369255e0e8fc57fcfebe06
+SHA1 (patch-ap) = c5cfb464e5fc196ada34a4367705bcab314ce79f
 SHA1 (patch-aq) = c46339a81f3f0dea9754f733d567c3c93f7dc19e
 SHA1 (patch-common_packet.cc) = 74835d281febc195c5d1118bc5ceb40107597876
 SHA1 (patch-common_packet.h) = 2b8289ee47206f7201ea225d23318202c7b370c5
@@ -29,3 +29,5 @@
 SHA1 (patch-mdart_mdart__adp.cc) = 5cee0a60a5102197363f53f2ebb90ca972bc139c
 SHA1 (patch-mdart_mdart__queue.h) = 1bf4cfec755c80cb5332a234c82c72584e62863c
 SHA1 (patch-nix_nixnode.cc) = d0a1826836f5ce9d40869946e9df29d6b53d4b7f
+SHA1 (patch-pushback_ident-tree.h) = eb7139b078ce3ea7f9627ffe7ae93efd1d27ba45
+SHA1 (patch-webcache_pagepool.cc) = b2f738d9025540731c3a61fd2d6f8ac5a51bdfcf
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/patches/patch-am
--- a/net/ns/patches/patch-am   Sat Feb 01 08:00:06 2014 +0000
+++ b/net/ns/patches/patch-am   Sat Feb 01 08:04:04 2014 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-am,v 1.5 2005/09/08 02:50:58 minskim Exp $
+$NetBSD: patch-am,v 1.6 2014/02/01 08:04:04 markd Exp $
 
 --- indep-utils/webtrace-conv/dec/Makefile.in.orig     2005-01-19 10:23:27.000000000 -0800
 +++ indep-utils/webtrace-conv/dec/Makefile.in
 @@ -38,7 +38,7 @@ BINDEST = @prefix@/bin
  CC = @CXX@
  INCLUDE = -I. @V_INCLUDES@
- CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+-CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
 -LDFLAGS = @V_STATIC@
++CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_INTERP_RESULT
 +LDFLAGS = @LDFLAGS@
  LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
  INSTALL = @INSTALL@
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/patches/patch-an
--- a/net/ns/patches/patch-an   Sat Feb 01 08:00:06 2014 +0000
+++ b/net/ns/patches/patch-an   Sat Feb 01 08:04:04 2014 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-an,v 1.3 2005/09/08 02:50:58 minskim Exp $
+$NetBSD: patch-an,v 1.4 2014/02/01 08:04:04 markd Exp $
 
 --- indep-utils/webtrace-conv/epa/Makefile.in.orig     2005-01-19 10:23:27.000000000 -0800
 +++ indep-utils/webtrace-conv/epa/Makefile.in
 @@ -35,7 +35,7 @@ MKDEP        = ../../../conf/mkdep
  
  INCLUDE = -I. @V_INCLUDES@
- CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+-CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
 -LDFLAGS = @V_STATIC@
++CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_INTERP_RESULT
 +LDFLAGS = @LDFLAGS@
  LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
  INSTALL = @INSTALL@
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/patches/patch-ao
--- a/net/ns/patches/patch-ao   Sat Feb 01 08:00:06 2014 +0000
+++ b/net/ns/patches/patch-ao   Sat Feb 01 08:04:04 2014 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-ao,v 1.5 2005/09/08 02:50:58 minskim Exp $
+$NetBSD: patch-ao,v 1.6 2014/02/01 08:04:04 markd Exp $
 
 --- indep-utils/webtrace-conv/nlanr/Makefile.in.orig   2005-01-19 10:23:27.000000000 -0800
 +++ indep-utils/webtrace-conv/nlanr/Makefile.in
 @@ -35,7 +35,7 @@ BINDEST = @prefix@/bin
  CC = @CXX@
  INCLUDE = -I. -I../../.. @V_INCLUDES@
- CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+-CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
 -LDFLAGS = @V_STATIC@
++CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_INTERP_RESULT
 +LDFLAGS = @LDFLAGS@
  LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
  INSTALL = @INSTALL@
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/patches/patch-ap
--- a/net/ns/patches/patch-ap   Sat Feb 01 08:00:06 2014 +0000
+++ b/net/ns/patches/patch-ap   Sat Feb 01 08:04:04 2014 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-ap,v 1.3 2005/09/08 02:50:58 minskim Exp $
+$NetBSD: patch-ap,v 1.4 2014/02/01 08:04:04 markd Exp $
 
 --- indep-utils/webtrace-conv/ucb/Makefile.in.orig     2005-01-19 10:23:28.000000000 -0800
 +++ indep-utils/webtrace-conv/ucb/Makefile.in
 @@ -29,7 +29,7 @@ MKDEP        = ../../../conf/mkdep
  
  INCLUDE = -I. @V_INCLUDES@
- CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+-CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
 -LDFLAGS = @V_STATIC@
++CFLAGS = @V_CCOPT@ -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_INTERP_RESULT
 +LDFLAGS = @LDFLAGS@
  LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
  INSTALL = @INSTALL@
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/patches/patch-pushback_ident-tree.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ns/patches/patch-pushback_ident-tree.h        Sat Feb 01 08:04:04 2014 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-pushback_ident-tree.h,v 1.1 2014/02/01 08:04:04 markd Exp $
+
+Fix invalid conversion from 'void*' to 'char*'
+
+--- pushback/ident-tree.h.orig 2005-09-18 23:33:34.000000000 +0000
++++ pushback/ident-tree.h
+@@ -83,7 +83,7 @@ class DropHashTable {
+     Tcl_HashSearch searchPtr;
+     Tcl_HashEntry * he = Tcl_FirstHashEntry(hashTable_, &searchPtr);
+     while (he != NULL) {
+-      char * key = Tcl_GetHashKey(hashTable_, he);
++      char * key = (char *) Tcl_GetHashKey(hashTable_, he);
+       long value = (long)Tcl_GetHashValue(he);
+       printf("%s = %ld\n", key, value);
+       he = Tcl_NextHashEntry(&searchPtr);
diff -r ee3965d76a7f -r 2e971195a9d8 net/ns/patches/patch-webcache_pagepool.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ns/patches/patch-webcache_pagepool.cc Sat Feb 01 08:04:04 2014 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-webcache_pagepool.cc,v 1.1 2014/02/01 08:04:04 markd Exp $
+
+Fix invalid conversion from 'void*' to 'char*'
+
+--- webcache/pagepool.cc.orig  2011-10-06 00:27:14.000000000 +0000
++++ webcache/pagepool.cc
+@@ -658,7 +658,7 @@ int ClientPagePool::command(int argc, co
+                       for (he = Tcl_FirstHashEntry(namemap_, &hs); 
+                            he != NULL;
+                            he = Tcl_NextHashEntry(&hs)) {
+-                              char* retVal = Tcl_GetHashKey(namemap_, he);
++                              char* retVal = (char *) Tcl_GetHashKey(namemap_, he);
+                               // Convert name to a PageID
+                               PageID t1;
+                               ClientPage::split_name (retVal, t1);



Home | Main Index | Thread Index | Old Index