Date: Tue, 17 Aug 2004 19:43:46 +0100 (BST) From: Matt Dawson <matt@mattsnetwork.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70585: [Maintainer Update] comms/grig doesn't compile with gcc 3.4.2 Message-ID: <200408171843.i7HIhk9P001979@workstation1.local.mattsnetwork.co.uk> Resent-Message-ID: <200408171850.i7HIoNTC064688@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70585 >Category: ports >Synopsis: [Maintainer Update] comms/grig doesn't compile with gcc 3.4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Aug 17 18:50:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Matt Dawson >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: n/a >Environment: System: FreeBSD workstation1.local.mattsnetwork.co.uk 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Thu Jul 1 16:03:11 BST 2004 md001@workstation1.local.mattsnetwork.co.uk:/usr/obj/usr/src/sys/WORKSTATION1 i386 >Description: comms/grig fails build on a machine with gcc 3.4.2 with: cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -O -pipe -Wall -Wunused -c grig-druid-loc.c grig-druid-loc.c: In function `grig_druid_loc_toggled_cb': grig-druid-loc.c:345: error: label at end of compound statement gmake[2]: *** [grig-druid-loc.o] Error 1 gmake[2]: Leaving directory `/tmp/a/ports/comms/grig/work/grig-0.2.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/a/ports/comms/grig/work/grig-0.2.2' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /a/ports/comms/grig. >How-To-Repeat: Attempt to compile on a system with gcc 3.4.2 >Fix: Diff attached modifies grig_druid_loc.c file before build. --- grig-0.2.2_3.diff begins here --- diff -ruN /usr/ports/comms/grig/Makefile ./grig/Makefile --- /usr/ports/comms/grig/Makefile Tue May 11 04:40:28 2004 +++ ./grig/Makefile Sat Aug 14 15:51:12 2004 @@ -6,7 +6,7 @@ PORTNAME= grig PORTVERSION= 0.2.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= groundstation diff -ruN /usr/ports/comms/grig/files/patch-src::grig-druid-loc.c ./grig/files/patch-src::grig-druid-loc.c --- /usr/ports/comms/grig/files/patch-src::grig-druid-loc.c Tue May 11 01:15:37 2004 +++ ./grig/files/patch-src::grig-druid-loc.c Sat Aug 14 15:50:31 2004 @@ -1,7 +1,6 @@ --- src/grig-druid-loc.c.orig Sun May 9 07:18:50 2004 -+++ src/grig-druid-loc.c Sun May 9 07:16:04 2004 -@@ -293,9 +293,9 @@ - */ ++++ src/grig-druid-loc.c Sat Aug 14 15:39:16 2004 +@@ -294,7 +294,7 @@ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (radll))) { longlat2locator (g_strtod (gtk_entry_get_text (GTK_ENTRY (lonwdg)), NULL), g_strtod (gtk_entry_get_text (GTK_ENTRY (latwdg)), NULL), @@ -10,4 +9,11 @@ gtk_entry_set_text (GTK_ENTRY (locatorwdg), g_strdup (loc)); } #endif +@@ -342,6 +342,7 @@ + gtk_widget_set_sensitive (locatorwdg, FALSE); + break; + default: ++ break; + } + } } --- grig-0.2.2_3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408171843.i7HIhk9P001979>