diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-10-09 23:09:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-10-09 23:09:55 +0000 |
commit | 1f71de60b9d031c234c82513c601297c89e2c50a (patch) | |
tree | 1f3d6acb7704ba9a4fff91525750d5ffd7fda863 /games/noegnud-littlehack | |
parent | 736c5e2a1ba52e925da85b11f3a681e7e1858090 (diff) | |
download | ports-1f71de60b9d031c234c82513c601297c89e2c50a.tar.gz ports-1f71de60b9d031c234c82513c601297c89e2c50a.zip |
Notes
Diffstat (limited to 'games/noegnud-littlehack')
-rw-r--r-- | games/noegnud-littlehack/Makefile | 4 | ||||
-rw-r--r-- | games/noegnud-littlehack/files/patch-noegnud_noegnud_gui.c | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/games/noegnud-littlehack/Makefile b/games/noegnud-littlehack/Makefile index ff958424d9bb..e0093dc56123 100644 --- a/games/noegnud-littlehack/Makefile +++ b/games/noegnud-littlehack/Makefile @@ -35,10 +35,6 @@ INSTALL_TARGET= install_lh001 .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-littlehack/files/patch-noegnud_noegnud_gui.c b/games/noegnud-littlehack/files/patch-noegnud_noegnud_gui.c new file mode 100644 index 000000000000..420fb13f3009 --- /dev/null +++ b/games/noegnud-littlehack/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, |