From e4002206720eaf202f71cdca87d8021ed9c8c0f3 Mon Sep 17 00:00:00 2001 From: Larry Rosenman Date: Wed, 22 May 2019 14:38:58 +0000 Subject: sysutils/lsof: fix patchfile from previous commit --- sysutils/lsof/files/patch-dialects-freebsd-dlsof.h | 36 +++++++++------------- 1 file changed, 15 insertions(+), 21 deletions(-) (limited to 'sysutils/lsof/files/patch-dialects-freebsd-dlsof.h') diff --git a/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h b/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h index fb79749196fa..8bf6ea00adeb 100644 --- a/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h +++ b/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h @@ -1,21 +1,15 @@ -Index: sysutils/lsof/files/patch-dialects-freebsd-dlsof.h -=================================================================== ---- /dev/null -+++ sysutils/lsof/files/patch-dialects-freebsd-dlsof.h -@@ -0,0 +1,16 @@ -+--- dialects/freebsd/dlsof.h.orig 2019-05-08 07:32:25 UTC -++++ dialects/freebsd/dlsof.h -+@@ -45,6 +45,13 @@ -+ #include -+ #include -+ -++#if FREEBSDV>=13000 -++/* This header is a huge mess. Please don't support EOL FreeBSD releases. */ -++#define _KERNEL 1 -++#include -++#undef _KERNEL -++#endif /* FREEBSDV>=13000 */ -++ -+ # if FREEBSDV>=4000 -+ # if FREEBSDV>=5000 -+ # if FREEBSDV<6020 +--- dialects/freebsd/dlsof.h.orig 2019-05-22 14:37:20 UTC ++++ dialects/freebsd/dlsof.h +@@ -45,6 +45,12 @@ + #include + #include + ++#if FREEBSDV>=13000 ++/* This header is a huge mess. Please don't support EOL FreeBSD releases. */ ++#define _KERNEL 1 ++#include ++#undef _KERNEL ++#endif /* FREEBSDV>=13000 */ + # if FREEBSDV>=4000 + # if FREEBSDV>=5000 + # if FREEBSDV<6020 -- cgit v1.2.3