1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

sysutils/lsof: upgrade to 4.90P, which fixes the test suite for 64-bit dev_t, and

the bzero fix.
This commit is contained in:
Larry Rosenman 2017-09-10 23:27:11 +00:00
parent 1f7bec2322
commit ecfff1aeb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449597
3 changed files with 4 additions and 21 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= lsof
DISTVERSION= 4.90M
DISTVERSION= 4.90P
PORTEPOCH= 8
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1497206529
SHA256 (lsof_4.90M.freebsd.tar.bz2) = 629c4652e94ca1fff1eeb2a5c6c42126efab6a75978daf07f69af569ae4376eb
SIZE (lsof_4.90M.freebsd.tar.bz2) = 488695
TIMESTAMP = 1505085809
SHA256 (lsof_4.90P.freebsd.tar.bz2) = 5a8f70036c3059b1c403d675d5e2641e8493cc4bf77f61893bde6e0fd3ada3b6
SIZE (lsof_4.90P.freebsd.tar.bz2) = 488892

View File

@ -1,16 +0,0 @@
--- dialects/freebsd/dlsof.h.orig 2017-09-10 14:02:39 UTC
+++ dialects/freebsd/dlsof.h
@@ -486,6 +486,13 @@ struct vop_advlock_args { int dummy; }; /* to pacify l
# endif /* FREEBSDV<5000 */
# endif /* FREEBSDV>=2020 */
+/*
+ * Inclusion of kernel headers with _KERNEL specified causes a conflict with
+ * userspace. bzero is a macro, but is redefined to be a function in string.h
+ * Work around by just undefing.
+ */
+#undef bzero
+
#include <string.h>