ports/167225: misc/mc port fails to build on FreeBSD 6.4 because of missed sys/param.h
Alexey Markov
redrat at mail.ru
Mon Apr 23 11:50:11 UTC 2012
>Number: 167225
>Category: ports
>Synopsis: misc/mc port fails to build on FreeBSD 6.4 because of missed sys/param.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 23 11:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Alexey Markov
>Release: FreeBSD 6.4-RELEASE-p11
>Organization:
JSC Complitex
>Environment:
FreeBSD port.jail 6.4-RELEASE-p11 FreeBSD 6.4-RELEASE-p11 #0: Mon Jan 3 14:13:2
9 MSK 2011 redrat at ns.complitex.ru:/arc/obj/arc/src/sys/NS i386
>Description:
Midnight Commander from ports fails to build on FreeBSD 6.4 because of missed sys/param.h in the src/filemanager/mountlist.c file. Attached patch fixes this problem.
I know 6.x branch reached EOL, but I filed this PR just in case if somebody got the same problem on still working 6.x system.
>How-To-Repeat:
portsnap fetch update
cd /usr/ports/misc/mc
make
>Fix:
Apply the attached quick-n-dirty patch.
Patch attached with submission follows:
--- src/filemanager/mountlist.c.orig 2012-03-19 20:26:29.000000000 +0400
+++ src/filemanager/mountlist.c 2012-04-23 15:35:32.000000000 +0400
@@ -104,6 +104,7 @@
#endif
#ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */
+#include <sys/param.h>
#include <sys/mount.h>
#endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list