From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 21 12:30:17 2003 Return-Path: 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 B37DE16A4BF for ; Tue, 21 Oct 2003 12:30:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 579DF43F85 for ; Tue, 21 Oct 2003 12:30:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9LJUGFY035732 for ; Tue, 21 Oct 2003 12:30:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9LJUGna035731; Tue, 21 Oct 2003 12:30:16 -0700 (PDT) (envelope-from gnats) Resent-Date: Tue, 21 Oct 2003 12:30:16 -0700 (PDT) Resent-Message-Id: <200310211930.h9LJUGna035731@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, "Samy Al Bahra" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75B3016A4B3 for ; Tue, 21 Oct 2003 12:21:53 -0700 (PDT) Received: from essence.sdodson.com (67-50-89-87.br2.tbr.ga.frontiernet.net [67.50.89.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3518A43FA3 for ; Tue, 21 Oct 2003 12:21:52 -0700 (PDT) (envelope-from samy@kerneled.com) Received: from beastie.freebsd.local (dial37-57.sbm.net.sa [212.46.37.57]) by essence.sdodson.com (8.12.10/8.12.10) with ESMTP id h9LJLkQm013529 for ; Tue, 21 Oct 2003 19:21:48 GMT (envelope-from samy@kerneled.com) Message-Id: 1066764170@beastie.freebsd.local Date: Tue, 21 Oct 2003 22:23:00 +0300 From: "Samy Al Bahra" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.1 Subject: ports/58346: Fix x11/gyroscope build on 5.X X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 19:30:17 -0000 >Number: 58346 >Category: ports >Synopsis: Fix x11/gyroscope build on 5.X >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 21 12:30:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Samy Al Bahra >Release: FreeBSD 5.1-CURRENT i386 >Organization: Kerneled >Environment: System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003 samy@beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386 >Description: x11/gyroscope does not build on FreeBSD 5.X due to multiline literals (depreciated in gcc 3.X). The attached patch fixes this. >How-To-Repeat: Build gyroscope on a 5.X machine. >Fix: diff -ruN gyroscope/Makefile /tmp/gyroscope/Makefile --- gyroscope/Makefile Tue Oct 21 22:18:47 2003 +++ /tmp/gyroscope/Makefile Tue Oct 21 22:19:38 2003 @@ -20,10 +20,4 @@ ALL_TARGET= # empty -.include - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - -.include +.include diff -ruN gyroscope/files/patch-gtkcolorsel.c /tmp/gyroscope/files/patch-gtkcolorsel.c --- gyroscope/files/patch-gtkcolorsel.c Thu Jan 1 03:00:00 1970 +++ /tmp/gyroscope/files/patch-gtkcolorsel.c Tue Oct 21 22:19:09 2003 @@ -0,0 +1,15 @@ +--- gtkcolorsel.c.orig Tue Oct 21 22:18:28 2003 ++++ gtkcolorsel.c Tue Oct 21 22:18:28 2003 +@@ -320,9 +320,9 @@ + gtk_container_add (GTK_CONTAINER (about_window), vbox); + gtk_widget_show (vbox); + +- label = gtk_label_new ("\nGyrosCoPe HTML colour picker\nVersion 1.0\n30th January, 1999 +- \n http://www.millar.u-net.com/gyroscope.html \n +- neil@millar.u-net.com\n"); ++ label = gtk_label_new ("\nGyrosCoPe HTML colour picker\nVersion 1.0\n30th January, 1999\n"\ ++" \n http://www.millar.u-net.com/gyroscope.html \n"\ ++" neil@millar.u-net.com\n"); + gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0); + gtk_widget_show (label); + >Release-Note: >Audit-Trail: >Unformatted: