ports/116839: [PATCH] games/sopwith: Fix build with gcc 4.2
Martin Wilke
miwi at FreeBSD.org
Tue Oct 2 18:00:03 UTC 2007
>Number: 116839
>Category: ports
>Synopsis: [PATCH] games/sopwith: 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 18:00:02 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 checked:
i386
http://head.miwibox.org/tb/index.php?action=describe_port&id=2166
amd64
http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1607
Added file(s):
- files/patch-src_swmain.h
- files/patch-src_swtitle.h
Port maintainer (edwin at mavetju.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- sopwith-1.7.1_8.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/sopwith/Makefile,v
retrieving revision 1.19
diff -u -u -r1.19 Makefile
--- Makefile 2 Oct 2007 09:47:54 -0000 1.19
+++ Makefile 2 Oct 2007 17:16:15 -0000
@@ -23,10 +23,4 @@
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>
Index: files/patch-src_swmain.h
===================================================================
RCS file: files/patch-src_swmain.h
diff -N files/patch-src_swmain.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-src_swmain.h 2 Oct 2007 17:18:50 -0000
@@ -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;
Index: files/patch-src_swtitle.h
===================================================================
RCS file: files/patch-src_swtitle.h
diff -N files/patch-src_swtitle.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-src_swtitle.h 2 Oct 2007 17:18:59 -0000
@@ -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
+
--- sopwith-1.7.1_8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list