diff options
author | miwi <miwi@FreeBSD.org> | 2007-10-10 07:09:55 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-10-10 07:09:55 +0800 |
commit | 878411c7d1977bddbfe9af5857d86abb8ae10fe8 (patch) | |
tree | 496cc68344e42696513bcfde1e4148c1680f0136 /games/noegnud-slashem | |
parent | 2b7896b4d8d20b1cd58cf47e9cef53cde6fae320 (diff) | |
download | freebsd-ports-gnome-878411c7d1977bddbfe9af5857d86abb8ae10fe8.tar.gz freebsd-ports-gnome-878411c7d1977bddbfe9af5857d86abb8ae10fe8.tar.zst freebsd-ports-gnome-878411c7d1977bddbfe9af5857d86abb8ae10fe8.zip |
- Unbreak
- Fix build with gcc 4.2
PR: 116822
116823
116824
116828
Submitted by: miwi
Approved by: maintainer
Diffstat (limited to 'games/noegnud-slashem')
-rw-r--r-- | games/noegnud-slashem/Makefile | 4 | ||||
-rw-r--r-- | games/noegnud-slashem/files/patch-noegnud_noegnud_gui.c | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/games/noegnud-slashem/Makefile b/games/noegnud-slashem/Makefile index c60622d8bca8..15423a6c5ee5 100644 --- a/games/noegnud-slashem/Makefile +++ b/games/noegnud-slashem/Makefile @@ -35,10 +35,6 @@ INSTALL_TARGET= install_se006e4f8 .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." diff --git a/games/noegnud-slashem/files/patch-noegnud_noegnud_gui.c b/games/noegnud-slashem/files/patch-noegnud_noegnud_gui.c new file mode 100644 index 000000000000..420fb13f3009 --- /dev/null +++ b/games/noegnud-slashem/files/patch-noegnud_noegnud_gui.c @@ -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, |