svn commit: r502243 - in head/sysutils/lsof: . files
Larry Rosenman
ler at FreeBSD.org
Wed May 22 02:34:41 UTC 2019
Author: ler
Date: Wed May 22 02:34:39 2019
New Revision: 502243
URL: https://svnweb.freebsd.org/changeset/ports/502243
Log:
sysutils/lsof: fix build on -CURRENT.
sys/_lock.h is no longer implicitly included in such a way that the #ifdef
_KERNEL #error in lockmgr.h is bypassed after r347984. Fix lsof to explicitly
include _lock.h with _KERNEL defined on 13.
Submitted by: cem
Reported by: pkg-fallout
Differential Revision: https://reviews.freebsd.org/D20341
Added:
head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h (contents, props changed)
Modified:
head/sysutils/lsof/Makefile
Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile Wed May 22 02:33:44 2019 (r502242)
+++ head/sysutils/lsof/Makefile Wed May 22 02:34:39 2019 (r502243)
@@ -3,6 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.93.2
+PORTREVISION= 1
PORTEPOCH= 8
CATEGORIES= sysutils
Added: head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h Wed May 22 02:34:39 2019 (r502243)
@@ -0,0 +1,21 @@
+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
More information about the svn-ports-all
mailing list