Date: Tue, 2 Oct 2007 15:11:51 +0200 (CEST) From: Martin Wilke <miwi@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: llwang@infor.org Subject: ports/116823: [PATCH] games/noegnud-slashem: Fix build with gcc 4.2 Message-ID: <20071002131151.B1DC22E3A1@miwi.homeunix.com> Resent-Message-ID: <200710021320.l92DK1G9059244@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116823 >Category: ports >Synopsis: [PATCH] games/noegnud-slashem: Fix build with gcc 4.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:20: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=2159 amd64 http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1600 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-slashem-0.8.3_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/games/noegnud-slashem/Makefile,v retrieving revision 1.8 diff -u -u -r1.8 Makefile --- Makefile 2 Oct 2007 10:03:24 -0000 1.8 +++ Makefile 2 Oct 2007 12:40:50 -0000 @@ -35,10 +35,6 @@ .include <bsd.port.pre.mk> -.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-slashem-0.8.3_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002131151.B1DC22E3A1>