MFH: r515923

sysutils/lsof: fix build on (at least) stable/12

Submitted by:	mav
Approved by:	ler (maintainer)
This commit is contained in:
Antoine Brodin 2019-11-13 06:29:35 +00:00
parent 4f539c3f06
commit 0c8bf19c7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=517358
2 changed files with 11 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.93.2
PORTREVISION= 4
PORTREVISION= 5
PORTEPOCH= 8
CATEGORIES= sysutils

View File

@ -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>