From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 16 13:40:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 922C516A41F for ; Wed, 16 Nov 2005 13:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A17143D5A for ; Wed, 16 Nov 2005 13:40:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAGDeF92074405 for ; Wed, 16 Nov 2005 13:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAGDeF6F074404; Wed, 16 Nov 2005 13:40:15 GMT (envelope-from gnats) Resent-Date: Wed, 16 Nov 2005 13:40:15 GMT Resent-Message-Id: <200511161340.jAGDeF6F074404@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, Sven Berkvens-Matthijsse Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4612916A420 for ; Wed, 16 Nov 2005 13:37:27 +0000 (GMT) (envelope-from sven@serv7.ilse.net) Received: from serv1.ilse.net (serv1.ilse.net [62.69.160.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D778643D5F for ; Wed, 16 Nov 2005 13:37:23 +0000 (GMT) (envelope-from sven@serv7.ilse.net) Received: from serv7.ilse.net (serv7.ilse.net [10.1.8.17]) by serv1.ilse.net (8.12.10/8.10.2) with ESMTP id jAGDbL8L068878 for ; Wed, 16 Nov 2005 14:37:21 +0100 (MET) Received: (from sven@localhost) by serv7.ilse.net (8.13.3/8.11.1) id jAGDbKRd003980; Wed, 16 Nov 2005 14:37:20 +0100 (CET) (envelope-from sven) Message-Id: <200511161337.jAGDbKRd003980@serv7.ilse.net> Date: Wed, 16 Nov 2005 14:37:20 +0100 (CET) From: Sven Berkvens-Matthijsse To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/89139: [PATCH] x11-toolkits/gtk20 does not build with GCC 2.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sven Berkvens-Matthijsse List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 13:40:17 -0000 >Number: 89139 >Category: ports >Synopsis: [PATCH] x11-toolkits/gtk20 does not build with GCC 2.x >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 16 13:40:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sven Berkvens-Matthijsse >Release: FreeBSD 4.10-STABLE i386 >Organization: ilse media BV >Environment: System: FreeBSD serv7.ilse.net 4.10-STABLE FreeBSD 4.10-STABLE #23: Wed Aug 4 15:18:52 CEST 2004 root@tango.ilse.net:/usr/obj/usr/src/sys/BAROQUE i386 >Description: The x11-toolkits/gtk20 port does not build with GCC 2.x due to a C99 feature that was used. >How-To-Repeat: Try to upgrade the package on FreeBSD 4.x. >Fix: Here is a patch, to be installed in /usr/ports/x11-toolkits/gtk20/files/patch-gtk_gtkpathbar.c : --- gtk/gtkpathbar.c.orig Wed Nov 16 10:40:00 2005 +++ gtk/gtkpathbar.c Wed Nov 16 10:41:05 2005 @@ -933,6 +933,7 @@ GtkPathBar *path_bar; GList *button_list; gboolean child_is_hidden; + GtkFilePath *child_path; button_data = BUTTON_DATA (data); if (button_data->ignore_changes) @@ -945,7 +946,6 @@ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE); - GtkFilePath *child_path; if (button_list->prev) { ButtonData *child_data; >Release-Note: >Audit-Trail: >Unformatted: