pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36680: sysutils/lsof: fails to build with sys/mount.h,v 1.162
>Number: 36680
>Category: pkg
>Synopsis: sysutils/lsof: fails to build with sys/mount.h,v 1.162
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 23 09:45:01 +0000 2007
>Originator: Yakovetsky Vladimir
>Release: NetBSD 4.99.24
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.24 NetBSD 4.99.24 (lrou-1.838) #0: Fri Jul 20
12:19:05 EEST 2007 yx%lrou.x.ua@localhost:/sys/arch/i386/compile/lrou i386
Architecture: i386
Machine: i386
>Description:
sysutils/lsof fails to build with sys/mount.h,v 1.162
>How-To-Repeat:
% cd /usr/pkgsrc/sysutils/lsof
% make
...
cc -O2 -march=pentium4 -finline-functions -fomit-frame-pointer -ffast-math
-DNETBSDV=1006000 -DHASGETBOOTFILE -DHASKVMGETPROC2 -DHASNFSPROTO -DHASIPv6
-DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHASPROCFS_PFSROOT
-DHASBUFQ_H -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASKERNFS -DHASKERNFS_KFS_KT
-DHASI_FFS1 -DHASEFFNLINK=i_ffs_effnlink -DHASEXT2FS -DHASI_E2FS_PTR -DHASLFS
-DHASPTYFS -DHASNFSVATTRP -DHAS_ADVLOCK_ARGS -DHAS_LWP_H -DHASCWDINFO
-DHAS_SYS_PIPEH -DHASSTATVFS -DUVM
-I/usr/obj/sysutils/lsof/work/lsof_4.78/lsof_4.78_src/dialects/n+obsd/include
-DHAS_UVM_INCL -DLSOF_VSTR="4.99.24" -O -DLSOF_MORE_SECURE=0
-DLSOF_LESS_SECURE_SOCKETS=0 -c dvch.c
In file included from ../lsof.h:191,
from dvch.c:43:
../dlsof.h:492: error: 'MFSNAMELEN' undeclared here (not in a function)
*** Error code 1
>Fix:
:r /usr/pkgsrc/sysutils/lsof/patches/patch-ag
--- dialects/n+obsd/dlsof.h~ 2007-07-23 11:55:02.000000000 +0300
+++ dialects/n+obsd/dlsof.h 2007-07-23 11:58:01.000000000 +0300
@@ -97,6 +97,14 @@
#include <sys/mount.h>
+#ifndef MFSNAMELEN
+#ifdef VFS_NAMELEN
+#define MFSNAMELEN VFS_NAMELEN
+#else
+#define MFSNAMELEN 16
+#endif
+#endif
+
# if (defined(OPENBSDV) && OPENBSDV>=3030) \
|| (defined(NETBSDV) && __NetBSD_Version__>=106060000)
#undef _KERNEL
Home |
Main Index |
Thread Index |
Old Index