mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
sysutils/lsof: fix build on (at least) stable/12
Submitted by: mav Approved by: ler (maintainer)
This commit is contained in:
parent
e8a5ea6f20
commit
f1d8f85136
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515923
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lsof
|
||||
DISTVERSION= 4.93.2
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
PORTEPOCH= 8
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user