From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 12 16:40:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1D6C16A469 for ; Mon, 12 Nov 2007 16:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CEC2D13C4A7 for ; Mon, 12 Nov 2007 16:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACGe1Xi011709 for ; Mon, 12 Nov 2007 16:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACGe1H2011708; Mon, 12 Nov 2007 16:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 12 Nov 2007 16:40:01 GMT Resent-Message-Id: <200711121640.lACGe1H2011708@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, "\"Pietro Cerutti\" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3608516A418 for ; Mon, 12 Nov 2007 16:39:40 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id BD06913C4A3 for ; Mon, 12 Nov 2007 16:39:39 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.63) (envelope-from ) id 1IrcJm-0008OS-V9 for FreeBSD-gnats-submit@freebsd.org; Mon, 12 Nov 2007 17:39:23 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id 9E82573085 for ; Mon, 12 Nov 2007 17:39:16 +0100 (CET) Message-Id: <1194885557.86397@gahrtop.localhost> Date: Mon, 12 Nov 2007 17:39:17 +0100 From: "\"Pietro Cerutti\" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/118010: [patch] devel/kyra unbreak fix build with GCC 4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 16:40:02 -0000 >Number: 118010 >Category: ports >Synopsis: [patch] devel/kyra unbreak fix build with GCC 4.2 >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: Mon Nov 12 16:40:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: Bern University of Applied Sciences >Environment: System: FreeBSD 8.0-CURRENT #9: Fri Nov 9 14:50:37 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: - fixed a few "extra qualification" errors >How-To-Repeat: cd /usr/ports/devel/kyra && make >Fix: --- _kyra.diff begins here --- --- Makefile.orig 2007-11-12 17:21:14.000000000 +0100 +++ Makefile 2007-11-12 17:21:24.000000000 +0100 @@ -30,10 +30,4 @@ LDFLAGS="-L${X11BASE}/lib" USE_LDCONFIG= yes -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - -.include +.include --- /dev/null 2007-11-12 17:32:04.000000000 +0100 +++ files/patch-engine_encoder.h 2007-11-12 17:27:55.000000000 +0100 @@ -0,0 +1,11 @@ +--- engine/encoder.h.orig 2007-11-12 17:25:45.000000000 +0100 ++++ engine/encoder.h 2007-11-12 17:25:59.000000000 +0100 +@@ -185,7 +185,7 @@ + GLASSERT( numRGBA >= numSegment ); + // GLASSERT( numSegment >= numLine ); + } +- void KrEncoder::Save(); ++ void Save(); + + KrResourceVault* GetVault() { return &vault; } + --- /dev/null 2007-11-12 17:32:15.000000000 +0100 +++ files/patch-engine_imagetree.h 2007-11-12 17:23:52.000000000 +0100 @@ -0,0 +1,11 @@ +--- engine/imagetree.h.orig 2007-11-12 17:22:54.000000000 +0100 ++++ engine/imagetree.h 2007-11-12 17:23:06.000000000 +0100 +@@ -217,7 +217,7 @@ + void Clear( KrImNode* root ); // delete the entire tree + + // Recursive hit test walk. +- bool KrImageTree::HitTestRec( KrImNode* node, int x, int y, int flags, GlDynArray* outputArray, int windowIndex ); ++ bool HitTestRec( KrImNode* node, int x, int y, int flags, GlDynArray* outputArray, int windowIndex ); + + KrImNode* root; // The root to position the window + KrImNode* offsetRoot; // The root as returned to the client --- /dev/null 2007-11-12 17:32:32.000000000 +0100 +++ files/patch-guiExtended_progress.h 2007-11-12 17:25:29.000000000 +0100 @@ -0,0 +1,20 @@ +--- guiExtended/progress.h.orig 2007-11-12 17:24:08.000000000 +0100 ++++ guiExtended/progress.h 2007-11-12 17:24:34.000000000 +0100 +@@ -43,7 +43,7 @@ + /** if width of the resource is greater then its height then makes + a horizontal, else makes a vertical progress bar + */ +- KrProgress::KrProgress (int width, ++ KrProgress (int width, + int height, + KrRGBA FillColor, + KrRGBA ChangeColor, +@@ -53,7 +53,7 @@ + /** if width of the resource is greater then its height then makes + a horizontal, else makes a vertical progress bar + */ +- KrProgress::KrProgress (int width, ++ KrProgress (int width, + int height, + const KrScheme& scheme); + --- _kyra.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: