aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-11-13 06:29:35 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-11-13 06:29:35 +0000
commit0c8bf19c7c28bcd2f0dcc968efe34a50f312935c (patch)
treeff85b4396db4401ed2c742ac9a519f6f3cba0d69 /sysutils
parent4f539c3f0659fbedd08483eab0d413c358ea80ff (diff)
downloadports-0c8bf19c7c28bcd2f0dcc968efe34a50f312935c.tar.gz
ports-0c8bf19c7c28bcd2f0dcc968efe34a50f312935c.zip
MFH: r515923
sysutils/lsof: fix build on (at least) stable/12 Submitted by: mav Approved by: ler (maintainer)
Notes
Notes: svn path=/branches/2019Q4/; revision=517358
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile2
-rw-r--r--sysutils/lsof/files/patch-dialects-freebsd-dlsof.h12
2 files changed, 11 insertions, 3 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 6b93358b9b3a..5be41f537960 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.93.2
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 8
CATEGORIES= sysutils
diff --git a/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h b/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h
index f7bb13fdc057..ec64911fbfb3 100644
--- a/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h
+++ b/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h
@@ -1,6 +1,14 @@
--- dialects/freebsd/dlsof.h.orig 2019-05-08 07:32:25 UTC
+++ dialects/freebsd/dlsof.h
-@@ -45,6 +45,12 @@
+@@ -38,6 +38,7 @@
+ #if !defined(FREEBSD_LSOF_H)
+ #define FREEBSD_LSOF_H 1
+
++#include <stddef.h>
+ #include <stdlib.h>
+ #include <dirent.h>
+ #include <nlist.h>
+@@ -45,6 +46,12 @@
#include <signal.h>
#include <unistd.h>
@@ -13,7 +21,7 @@
# if FREEBSDV>=4000
# if FREEBSDV>=5000
# if FREEBSDV<6020
-@@ -104,6 +110,12 @@ typedef struct device *device_t;
+@@ -104,6 +111,12 @@ typedef struct device *device_t;
#include <sys/conf.h>