From owner-svn-ports-all@FreeBSD.ORG Tue May 14 14:34:34 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 896493CB; Tue, 14 May 2013 14:34:34 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7B765E9E; Tue, 14 May 2013 14:34:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4EEYXHq057349; Tue, 14 May 2013 14:34:33 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4EEYXH2057347; Tue, 14 May 2013 14:34:33 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201305141434.r4EEYXH2057347@svn.freebsd.org> From: Pietro Cerutti Date: Tue, 14 May 2013 14:34:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318163 - in head/cad/tkgate: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 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, 14 May 2013 14:34:34 -0000 Author: gahr Date: Tue May 14 14:34:33 2013 New Revision: 318163 URL: http://svnweb.freebsd.org/changeset/ports/318163 Log: - Fix run-time with Tcl/Tk 8.6 - Remove INVALID_TK_VER= 86 Modified: head/cad/tkgate/Makefile head/cad/tkgate/files/patch-src-tkgate_tkgate.c Modified: head/cad/tkgate/Makefile ============================================================================== --- head/cad/tkgate/Makefile Tue May 14 14:16:52 2013 (r318162) +++ head/cad/tkgate/Makefile Tue May 14 14:34:33 2013 (r318163) @@ -15,7 +15,6 @@ LICENSE= GPLv2 # (or later) GNU_CONFIGURE= yes USES= iconv USE_TK= 84+ -INVALID_TK_VER= 86 MAKE_JOBS_SAFE= yes MAN1= gmac.1 tkgate.1 verga.1 Modified: head/cad/tkgate/files/patch-src-tkgate_tkgate.c ============================================================================== --- head/cad/tkgate/files/patch-src-tkgate_tkgate.c Tue May 14 14:16:52 2013 (r318162) +++ head/cad/tkgate/files/patch-src-tkgate_tkgate.c Tue May 14 14:34:33 2013 (r318163) @@ -1,5 +1,5 @@ ---- src/tkgate/tkgate.c.orig 2013-05-14 15:24:54.000000000 +0200 -+++ src/tkgate/tkgate.c 2013-05-14 15:25:15.000000000 +0200 +--- src/tkgate/tkgate.c.orig 2009-03-18 10:23:18.000000000 +0100 ++++ src/tkgate/tkgate.c 2013-05-14 16:31:17.000000000 +0200 @@ -1034,7 +1034,7 @@ */ r = Tk_Init(tcl); @@ -9,3 +9,11 @@ fprintf(stderr,"Perhaps you could try setting the environment variable TK_LIBRARY\n"); fprintf(stderr,"to the directory in which tk init files can be found. You can also\n"); fprintf(stderr,"set TK_LIBRARY in options.h.\n"); +@@ -1097,6 +1097,7 @@ + *****************************************************************************/ + int Tkgate_Init(Tcl_Interp *tcl) + { ++ Tk_Init(tcl); + Tcl_CreateCommand(tcl,"tkgate_main",tkgate_main,0,0); + Tcl_CreateCommand(tcl,"tkgate_starttk",tkgate_starttk,0,0); + Tcl_CreateCommand(tcl,"tkgate_posttk",tkgate_posttk,0,0);