From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 5 04:20:42 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF87C16A418 for ; Mon, 5 Nov 2007 04:20:42 +0000 (UTC) (envelope-from bobf@mrp3.com) Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) by mx1.freebsd.org (Postfix) with ESMTP id B139D13C48D for ; Mon, 5 Nov 2007 04:20:42 +0000 (UTC) (envelope-from bobf@mrp3.com) Received: from [66.47.136.67] (helo=[192.168.122.60]) by elasmtp-curtail.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1IosTz-0001zC-R9 for gnome@freebsd.org; Sun, 04 Nov 2007 22:18:36 -0500 Message-ID: <472E8B89.2060301@mrp3.com> Date: Sun, 04 Nov 2007 19:18:33 -0800 From: Bob Frazier User-Agent: Thunderbird 2.0.0.0 (X11/20070528) MIME-Version: 1.0 To: gnome@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 549015f0ad0344773aad58b8ed06a5f90a9da525759e2654c8c94983571fcd3430e4dab0ebf2812158ce75fe477930ad350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.136.67 Cc: Subject: link problems with glade2 using latest cvsup, FBSD 6-STABLE X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 04:20:42 -0000 OS: freebsd 6-stable (as of a week ago) ports: refreshed today (and several times over the week to try and correct this problem) port: devel/glade2 Bug description: when attempting to build glade2 using the latest ports (etc.) in a gnome upgrade, and after attempting portupgrade -Rf gettext (which took a couple of days to complete, FYI, and had the same error at the end), you get a link error (missing symbol '_' in gnome/gnomecontrol.c). possible workaround: see patch (below). In short I force definition of '_' as 'gettext'. I will have to complete the gnome upgrade before I can determine whether or not this will actually work. (please excuse wraparound, thanks) --- work/glade-2.12.1/glade/gnome/gnomecontrol.c.old 2007-11-04 19:07:59.000000000 -0800 +++ work/glade-2.12.1/glade/gnome/gnomecontrol.c 2007-11-04 19:08:41.000000000 -0800 @@ -42,10 +42,15 @@ #include /* Include the 21x21 icon pixmap for this widget, to be used in the palette */ #include "../graphics/gnome-control.xpm" +// my temporary patch +#ifndef _ +#define _(X) gettext(X) +#endif // _ + /* * This is the GbWidget struct for this widget (see ../gbwidget.h). * It is initialized in the init() function at the end of this file */ static GbWidget gbwidget;