aboutsummaryrefslogtreecommitdiff
path: root/games/noegnud-slashem
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-10-09 23:09:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-10-09 23:09:55 +0000
commit1f71de60b9d031c234c82513c601297c89e2c50a (patch)
tree1f3d6acb7704ba9a4fff91525750d5ffd7fda863 /games/noegnud-slashem
parent736c5e2a1ba52e925da85b11f3a681e7e1858090 (diff)
downloadports-1f71de60b9d031c234c82513c601297c89e2c50a.tar.gz
ports-1f71de60b9d031c234c82513c601297c89e2c50a.zip
Notes
Diffstat (limited to 'games/noegnud-slashem')
-rw-r--r--games/noegnud-slashem/Makefile4
-rw-r--r--games/noegnud-slashem/files/patch-noegnud_noegnud_gui.c11
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,