pkgsrc/sysutils/lsof/patches/patch-aa
sbd b184cf518d Move lsof from using the LSOF_MORE_SECURE and LSOF_LESS_SECURE_SOCKETS to
using pkg options lsof-more-secure and lsof-less-secure-sockets.

Also change the way the option are applied, the same way that the Customize
script does and it works on all supported dialects.
2010-04-30 06:53:06 +00:00

15 lines
357 B
Text

$NetBSD: patch-aa,v 1.28 2010/04/30 06:53:07 sbd Exp $
--- dialects/n+obsd/machine.h.orig 2006-03-28 16:54:17.000000000 -0500
+++ dialects/n+obsd/machine.h 2008-05-17 18:53:29.000000000 -0400
@@ -41,6 +41,10 @@
#include <sys/types.h>
#include <sys/param.h>
+#include <stdbool.h>
+#if __NetBSD_Version__ >= 499006200
+#define HASCWDINFO
+#endif
/*