From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 31 14:20:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E50131065670 for ; Fri, 31 Aug 2012 14:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A58C98FC12 for ; Fri, 31 Aug 2012 14:20:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7VEKC18025785 for ; Fri, 31 Aug 2012 14:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7VEKCh6025784; Fri, 31 Aug 2012 14:20:12 GMT (envelope-from gnats) Resent-Date: Fri, 31 Aug 2012 14:20:12 GMT Resent-Message-Id: <201208311420.q7VEKCh6025784@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pietro Cerutti Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4B1A106564A for ; Fri, 31 Aug 2012 14:19:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 914248FC12 for ; Fri, 31 Aug 2012 14:19:34 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7VEJYKU027801 for ; Fri, 31 Aug 2012 14:19:34 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7VEJYDU027799; Fri, 31 Aug 2012 14:19:34 GMT (envelope-from nobody) Message-Id: <201208311419.q7VEJYDU027799@red.freebsd.org> Date: Fri, 31 Aug 2012 14:19:34 GMT From: Pietro Cerutti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171208: [patch] lang/itcl -- fix build with Tcl 8.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 14:20:13 -0000 >Number: 171208 >Category: ports >Synopsis: [patch] lang/itcl -- fix build with Tcl 8.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 31 14:20:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: >Organization: The FreeBSD Project >Environment: >Description: Patch is kind of self-explaining... >How-To-Repeat: >Fix: Patch attached with submission follows: Index: files/patch-warnings =================================================================== --- files/patch-warnings (revision 302796) +++ files/patch-warnings (working copy) @@ -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) + >Release-Note: >Audit-Trail: >Unformatted: