aboutsummaryrefslogtreecommitdiff
path: root/games/sopwith
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-02 21:52:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-02 21:52:50 +0000
commitb1cf6462b94ddc6989f8e1534236c35e2cfc8c2f (patch)
tree7272189c7eded4e2a7df9e28123d753d0553293e /games/sopwith
parentb7906ec96cf9a9ba0bba25f90ee79d135d751480 (diff)
downloadports-b1cf6462b94ddc6989f8e1534236c35e2cfc8c2f.tar.gz
ports-b1cf6462b94ddc6989f8e1534236c35e2cfc8c2f.zip
Notes
Diffstat (limited to 'games/sopwith')
-rw-r--r--games/sopwith/Makefile10
-rw-r--r--games/sopwith/files/patch-src_swmain.h10
-rw-r--r--games/sopwith/files/patch-src_swtitle.h10
3 files changed, 22 insertions, 8 deletions
diff --git a/games/sopwith/Makefile b/games/sopwith/Makefile
index 4d28b07f8171..07c10bb96be9 100644
--- a/games/sopwith/Makefile
+++ b/games/sopwith/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sopwith
PORTVERSION= 1.7.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sdl-sopwith
@@ -23,10 +23,4 @@ GNU_CONFIGURE= yes
MAN6= sopwith.6
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/sopwith/files/patch-src_swmain.h b/games/sopwith/files/patch-src_swmain.h
new file mode 100644
index 000000000000..bda2a7c16e42
--- /dev/null
+++ b/games/sopwith/files/patch-src_swmain.h
@@ -0,0 +1,10 @@
+--- src/swmain.h.orig 2007-10-02 19:16:44.000000000 +0200
++++ src/swmain.h 2007-10-02 19:17:48.000000000 +0200
+@@ -46,7 +46,6 @@
+ extern int targrnge;
+ extern BOOL hires;
+ extern BOOL disppos;
+-extern BOOL titleflg;
+ extern int dispdbg;
+ extern BOOL soundflg;
+ extern BOOL repflag;
diff --git a/games/sopwith/files/patch-src_swtitle.h b/games/sopwith/files/patch-src_swtitle.h
new file mode 100644
index 000000000000..29431232c089
--- /dev/null
+++ b/games/sopwith/files/patch-src_swtitle.h
@@ -0,0 +1,10 @@
+--- src/swtitle.h.orig 2007-10-02 19:17:03.000000000 +0200
++++ src/swtitle.h 2007-10-02 19:17:22.000000000 +0200
+@@ -30,6 +30,7 @@
+ extern int getgame();
+ extern void swtitln();
+ extern void swtitlf();
++extern BOOL titleflg;
+
+ #endif
+