aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2019-05-22 22:38:58 +0800
committerLarry Rosenman <ler@FreeBSD.org>2019-05-22 22:38:58 +0800
commite4002206720eaf202f71cdca87d8021ed9c8c0f3 (patch)
treeef1f797cef9fc398e1c6609a4c0c5eaf18f2d2f1 /sysutils/lsof
parent078637478b03854c12ecb106b1e7695096f9093e (diff)
downloadfreebsd-ports-gnome-e4002206720eaf202f71cdca87d8021ed9c8c0f3.tar.gz
freebsd-ports-gnome-e4002206720eaf202f71cdca87d8021ed9c8c0f3.tar.zst
freebsd-ports-gnome-e4002206720eaf202f71cdca87d8021ed9c8c0f3.zip
sysutils/lsof: fix patchfile from previous commit
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/files/patch-dialects-freebsd-dlsof.h36
1 files changed, 15 insertions, 21 deletions
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 <signal.h>
-+ #include <unistd.h>
-+
-++#if FREEBSDV>=13000
-++/* This header is a huge mess. Please don't support EOL FreeBSD releases. */
-++#define _KERNEL 1
-++#include <sys/_lock.h>
-++#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 <signal.h>
+ #include <unistd.h>
+
++#if FREEBSDV>=13000
++/* This header is a huge mess. Please don't support EOL FreeBSD releases. */
++#define _KERNEL 1
++#include <sys/_lock.h>
++#undef _KERNEL
++#endif /* FREEBSDV>=13000 */
+ # if FREEBSDV>=4000
+ # if FREEBSDV>=5000
+ # if FREEBSDV<6020