From owner-freebsd-ports@FreeBSD.ORG Mon Jan 17 11:28:19 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1D1A16A4CF for ; Mon, 17 Jan 2005 11:28:19 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 811F643D2D for ; Mon, 17 Jan 2005 11:28:19 +0000 (GMT) (envelope-from damaker@fillibach.de) Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CqV3S-0003A5-00 for ports@freebsd.org; Mon, 17 Jan 2005 12:28:18 +0100 Received: from [217.226.156.95] (helo=anyhost.anywhere) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CqUTL-0000EJ-00 for ports@freebsd.org; Mon, 17 Jan 2005 11:50:59 +0100 To: ports@freebsd.org Date: Mon, 17 Jan 2005 11:50:56 -0000 From: "Konstantin 'Kosta' Welke" Content-Type: multipart/mixed; boundary=----------JKm0SFwuuyyK2RUabM6BrF MIME-Version: 1.0 Message-ID: User-Agent: Opera M2/7.54u1 (Linux, build 892) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:02be70226e3f6279351cb9cd6c3e2923 Subject: [PATCH] devel/tclcl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 11:28:19 -0000 ------------JKm0SFwuuyyK2RUabM6BrF Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Hi! tclcl is marked broken on 5.3 because it doesnt compile with gcc 3.4.2 i needed it so i did a quick&dirty patch. The problem is that in tclcl-message.h, member functions of class Tcl get called, but class Tcl isnt defined yet. So, there's a dummy declaration of Tcl, but i guess gcc3 doesn allow member functions to be called. anyhoo, moving the include line after the class Tcl declaration fixes everything. the patch is attached and supposed to be run in /usr/ports/devel/tclcl HTH, Kosta PS: this is my first submitted patch, i hope i did everything right ------------JKm0SFwuuyyK2RUabM6BrF Content-Disposition: attachment; filename=tclcl.h.diff Content-Type: application/octet-stream; name=tclcl.h.diff Content-Transfer-Encoding: 8bit --- work/tclcl-1.15/tclcl.h Tue Jan 6 01:50:24 2004 +++ work/tclcl-1.15/tclcl.h Mon Jan 17 11:21:02 2005 @@ -45,7 +45,6 @@ } #include "tclcl-config.h" -#include "tclcl-mappings.h" #include "tracedvar.h" struct Tk_Window_; @@ -253,6 +252,8 @@ InstVar* instvar_; TracedVar* tracedvar_; }; + +#include "tclcl-mappings.h" /* * johnh xxx: delete this ------------JKm0SFwuuyyK2RUabM6BrF--