From owner-svn-ports-all@FreeBSD.ORG Tue Sep 18 10:47:03 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25F08106566C; Tue, 18 Sep 2012 10:47:03 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1146F8FC08; Tue, 18 Sep 2012 10:47:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8IAl2MW073012; Tue, 18 Sep 2012 10:47:02 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8IAl2Lu073010; Tue, 18 Sep 2012 10:47:02 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201209181047.q8IAl2Lu073010@svn.freebsd.org> From: Pietro Cerutti Date: Tue, 18 Sep 2012 10:47:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304441 - head/lang/itcl/files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 10:47:03 -0000 Author: gahr Date: Tue Sep 18 10:47:02 2012 New Revision: 304441 URL: http://svn.freebsd.org/changeset/ports/304441 Log: - Fix build against Tcl 8.6 PR: 171208 Submitted by: gahr Approved by: maintainer (timeout > 15 days) Modified: head/lang/itcl/files/patch-warnings (contents, props changed) Modified: head/lang/itcl/files/patch-warnings ============================================================================== --- head/lang/itcl/files/patch-warnings Tue Sep 18 10:22:28 2012 (r304440) +++ head/lang/itcl/files/patch-warnings Tue Sep 18 10:47:02 2012 (r304441) @@ -142,12 +142,23 @@ + const char **listv; cmdName = ckalloc((unsigned)strlen(name)+1); ---- generic/itclInt.h 2008-12-15 15:02:58.000000000 -0500 -+++ generic/itclInt.h 2010-01-24 15:15:06.000000000 -0500 -@@ -207,5 +207,5 @@ +--- generic/itclInt.h.orig 2008-12-15 21:02:58.000000000 +0100 ++++ generic/itclInt.h 2012-08-31 16:07:23.000000000 +0200 +@@ -63,7 +63,7 @@ + #if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6) + #define ERRORLINE(interp) ((interp)->errorLine) + #else +-#define ERRORLINE(interp) (Tcl_GetErrorLine(interp)) ++#define ERRORLINE(interp) (Tcl_GetErrorLine((Tcl_Interp *)interp)) + #endif + + #define ITCL_TCL_PRE_8_5 (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 5) +@@ -206,7 +206,7 @@ + Tcl_HashEntry entry; } ItclVarInHash; -#define ItclOffset(type, field) ((int) ((char *) &((type *) 0)->field)) +#define ItclOffset(type, field) ((intptr_t)((char *) &((type *) 0)->field)) #define itclOldRuntime (itclVarFlagOffset!=0) +