From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 2 13:50:01 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 7181A16A420 for ; Tue, 2 Oct 2007 13:50: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 4262D13C467 for ; Tue, 2 Oct 2007 13:50: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 l92Do1VY061846 for ; Tue, 2 Oct 2007 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l92Do1tP061845; Tue, 2 Oct 2007 13:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 2 Oct 2007 13:50:01 GMT Resent-Message-Id: <200710021350.l92Do1tP061845@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, Martin Wilke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7691A16A41B for ; Tue, 2 Oct 2007 13:42:17 +0000 (UTC) (envelope-from miwi@miwi.homeunix.com) Received: from miwi.homeunix.com (dslb-082-083-155-037.pools.arcor-ip.net [82.83.155.37]) by mx1.freebsd.org (Postfix) with ESMTP id 2806413C45A for ; Tue, 2 Oct 2007 13:42:17 +0000 (UTC) (envelope-from miwi@miwi.homeunix.com) Received: by miwi.homeunix.com (Postfix, from userid 1010) id B36EE2E0F4; Tue, 2 Oct 2007 15:42:15 +0200 (CEST) Message-Id: <20071002134215.B36EE2E0F4@miwi.homeunix.com> Date: Tue, 2 Oct 2007 15:42:15 +0200 (CEST) From: Martin Wilke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: llwang@infor.org Subject: ports/116828: [PATCH] games/noegnud-nethack-deet: fix build with gcc4.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: Tue, 02 Oct 2007 13:50:01 -0000 >Number: 116828 >Category: ports >Synopsis: [PATCH] games/noegnud-nethack-deet: fix build with gcc4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 02 13:50:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Wilke >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007 >Description: - Unbreak - Fix build with gcc 4.2 Tindy tested: i386 http://head.miwibox.org/tb/index.php?action=describe_port&id=2161 amd64 http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1602 Added file(s): - files/patch-noegnud_noegnud_gui.c Port maintainer (llwang@infor.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- noegnud-nethack-deet-0.8.3_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/games/noegnud-nethack-deet/Makefile,v retrieving revision 1.7 diff -u -u -r1.7 Makefile --- Makefile 2 Oct 2007 10:03:24 -0000 1.7 +++ Makefile 2 Oct 2007 12:51:55 -0000 @@ -35,10 +35,6 @@ .include -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - pre-everything:: .if ${HAVE_SDL} @${ECHO_MSG} "This port depends on SDL with OpenGL support." Index: files/patch-noegnud_noegnud_gui.c =================================================================== RCS file: files/patch-noegnud_noegnud_gui.c diff -N files/patch-noegnud_noegnud_gui.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-noegnud_noegnud_gui.c 2 Oct 2007 12:33:03 -0000 @@ -0,0 +1,11 @@ +--- noegnud/noegnud_gui.c.orig 2007-10-02 14:32:19.000000000 +0200 ++++ noegnud/noegnud_gui.c 2007-10-02 14:32:30.000000000 +0200 +@@ -627,7 +627,7 @@ + //button=(noegnud_gui_tbutton *)noegnud_gui_create_window(parent,x,y,width,height,(sizeof(noegnud_gui_twindow)-sizeof(noegnud_gui_twidget))+datasize); + + text=noegnud_gui_create_text( +- (noegnud_gui_twidget *)button=(noegnud_gui_tbutton *)noegnud_gui_create_window( ++ button=(noegnud_gui_tbutton *)noegnud_gui_create_window( + parent, + x,y, + width,height, --- noegnud-nethack-deet-0.8.3_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: