lsof was broken in fallout from the namecache changes at f2k9.
this gets it building again by totally disabling the namecache;
anyone interested in fixing it better?

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/lsof/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- Makefile    21 Jun 2009 13:24:02 -0000      1.66
+++ Makefile    1 Sep 2009 23:54:36 -0000
@@ -4,7 +4,7 @@ COMMENT=        list information about open fil
 
 VERSION=       4.82
 DISTNAME=      lsof_${VERSION}
-PKGNAME=       ${DISTNAME:S/_/-/}
+PKGNAME=       ${DISTNAME:S/_/-/}p0
 CATEGORIES=    sysutils
 MASTER_SITES=  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
                ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ \
Index: patches/patch-dialects_n+obsd_machine_h
===================================================================
RCS file: patches/patch-dialects_n+obsd_machine_h
diff -N patches/patch-dialects_n+obsd_machine_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-dialects_n+obsd_machine_h     1 Sep 2009 23:54:36 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dialects/n+obsd/machine.h.orig     Tue Sep  1 23:51:08 2009
++++ dialects/n+obsd/machine.h  Tue Sep  1 23:52:07 2009
+@@ -262,7 +262,7 @@
+  * NCACHELDSFX is a set of C commands to execute after calling ncache_load().
+  */
+ 
+-#define       HASNCACHE       1
++/* #define    HASNCACHE       1 */
+ /* #define    NCACHELDPFX     ??? */
+ /* #define    NCACHELDSFX     ??? */
+ 

Reply via email to