Subject: pkg/36742: sysutils/lsof build broken on NetBSD-current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <gary@duzan.org>
List: pkgsrc-bugs
Date: 08/07/2007 02:50:00
>Number:         36742
>Category:       pkg
>Synopsis:       sysutils/lsof build broken on NetBSD-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 07 02:50:00 +0000 2007
>Originator:     Gary Duzan
>Release:        NetBSD 4.99.26
>Organization:
	Not a lot
>Environment:
System: NetBSD capo 4.99.26 NetBSD 4.99.26 (CAPO64) #45: Sun Aug 5 15:16:47 EDT 2007 gary@capo:/usr/obj/sys/arch/amd64/compile.amd64/CAPO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
	lsof fails to compile on NetBSD-current since MFSNAMELEN was removed.
>How-To-Repeat:
	Try building lsof on NetBSD current.
>Fix:

Use VFS_NAMELEN on recent NetBSD. Updated package with some pkglint
suggested changes follows.

begin 644 lsof-478-nbcur.tar.gz
M'XL(`-7:MT8``^U;>W?;-K+OO^*G0!V?QB_Q_9#D=3:*)#LZD26M**?IZ?9R
M^0!E'E.DEJ3LN(GN9[\S(/6T['1[O=Z>KL:.20(#8#`8_&:&8-+[=)H%82J$
M:>P+W_U;2`0R-(U=@3:O[%X2=4TS-%76@4^2-4W_CFC_'G'6:9IF=D+(=TD<
M9T_QW5U3&KZ$0"]+Z=KZ3^S,O:;I,]O!;UQ_65)%195D6']5THS=^K\$;5]_
M=BW;]O.,@0NLJ^ICZR^I,JZ_9"BR*.F2!.NO:9KZ'1&?9_BGZ;]\_?>[-'MG
M-FMDON0GMT3B98W(HJ@)HB1(!I'4FJ;61(G8&?Z0UN<)V>>XMD\Z9N_<NNP-
M6I;9:EP-6B1(211'Y5]I$I\0-QY/@I`2-"UR%V37)*7N-`FR^Q-B1QX71^$]
M"6E&IM$D"6Z!=40]<H`=X&H<DFE*DY3<!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