Date: Wed, 22 May 2019 14:38:58 +0000 (UTC) From: Larry Rosenman <ler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502271 - head/sysutils/lsof/files Message-ID: <201905221438.x4MEcwEa082339@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ler Date: Wed May 22 14:38:58 2019 New Revision: 502271 URL: https://svnweb.freebsd.org/changeset/ports/502271 Log: sysutils/lsof: fix patchfile from previous commit Modified: head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h Modified: head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h ============================================================================== --- head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h Wed May 22 13:49:42 2019 (r502270) +++ head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h Wed May 22 14:38:58 2019 (r502271) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905221438.x4MEcwEa082339>