ports/60684: Fix editors/mg build on 5.X systems
Samy Al Bahra
samy at kerneled.com
Mon Dec 29 08:50:21 UTC 2003
>Number: 60684
>Category: ports
>Synopsis: Fix editors/mg build on 5.X systems
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 29 00:50:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Samy Al Bahra
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
Kerneled
>Environment:
System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003 samy at beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386
>Description:
The editors/mg port does not build on
5.X systems due to its type request for
a short gid_t, depreciated in all thinkable
ways.
>How-To-Repeat:
Build with gcc 3.X.
>Fix:
--- mg.patch begins here ---
diff -ruN mg/Makefile /home/samy/tmp/mg/Makefile
--- mg/Makefile Sun Dec 21 01:18:02 2003
+++ /home/samy/tmp/mg/Makefile Mon Dec 29 11:35:05 2003
@@ -41,10 +41,6 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
#
# Ports build/install stuff stops here. Tarball creation stuff begins here.
#
diff -ruN mg/files/patch-sysdef.h /home/samy/tmp/mg/files/patch-sysdef.h
--- mg/files/patch-sysdef.h Thu Jan 1 03:00:00 1970
+++ /home/samy/tmp/mg/files/patch-sysdef.h Mon Dec 29 11:39:00 2003
@@ -0,0 +1,9 @@
+--- sysdef.h.orig Mon Dec 29 11:37:41 2003
++++ sysdef.h Mon Dec 29 11:38:00 2003
+@@ -23,5 +23,5 @@
+ struct fileinfo {
+ mode_t fi_mode;
+ uid_t fi_uid;
+- gid_t short fi_gid;
++ gid_t fi_gid;
+ };
--- mg.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list