Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 14:37:20 +0100 (CET)
From:      Sven Berkvens-Matthijsse <sven@ilse.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89139: [PATCH] x11-toolkits/gtk20 does not build with GCC 2.x
Message-ID:  <200511161337.jAGDbKRd003980@serv7.ilse.net>
Resent-Message-ID: <200511161340.jAGDeF6F074404@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511161337.jAGDbKRd003980>