Date: Mon, 17 Jan 2005 11:50:56 -0000 From: "Konstantin 'Kosta' Welke" <damaker@fillibach.de> To: ports@freebsd.org Subject: [PATCH] devel/tclcl Message-ID: <opskqwi6tkdvpa9u@anyhost.anywhere>
next in thread | raw e-mail | index | archive | help
------------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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opskqwi6tkdvpa9u>