From owner-svn-ports-head@freebsd.org Wed May 22 02:34:41 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4AAD1597DF5; Wed, 22 May 2019 02:34:40 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74ADB8C59B; Wed, 22 May 2019 02:34:40 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 63077EFF9; Wed, 22 May 2019 02:34:40 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4M2YeaC003590; Wed, 22 May 2019 02:34:40 GMT (envelope-from ler@FreeBSD.org) Received: (from ler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4M2Yelq003589; Wed, 22 May 2019 02:34:40 GMT (envelope-from ler@FreeBSD.org) Message-Id: <201905220234.x4M2Yelq003589@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ler set sender to ler@FreeBSD.org using -f From: Larry Rosenman Date: Wed, 22 May 2019 02:34:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502243 - in head/sysutils/lsof: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ler X-SVN-Commit-Paths: in head/sysutils/lsof: . files X-SVN-Commit-Revision: 502243 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 74ADB8C59B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 02:34:41 -0000 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 ++ #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