diff options
author | glebius <glebius@FreeBSD.org> | 2017-10-03 07:31:35 +0800 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2017-10-03 07:31:35 +0800 |
commit | fb776f78f1840f777b5287ef8f170ba56419f1e9 (patch) | |
tree | ead53101ec9eee5b0adc6b428000348f974fb7a4 /sysutils/lsof | |
parent | bcdf2efe44c19153676dd6b614fa148fa2aebf01 (diff) | |
download | freebsd-ports-gnome-fb776f78f1840f777b5287ef8f170ba56419f1e9.tar.gz freebsd-ports-gnome-fb776f78f1840f777b5287ef8f170ba56419f1e9.tar.zst freebsd-ports-gnome-fb776f78f1840f777b5287ef8f170ba56419f1e9.zip |
Fix lsof build after src r324225.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r-- | sysutils/lsof/Makefile | 1 | ||||
-rw-r--r-- | sysutils/lsof/files/patch-dlsof.h | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 29bd2c387504..131e6fcbd26d 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -4,6 +4,7 @@ PORTNAME= lsof 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/ \ diff --git a/sysutils/lsof/files/patch-dlsof.h b/sysutils/lsof/files/patch-dlsof.h new file mode 100644 index 000000000000..094a23ec350d --- /dev/null +++ b/sysutils/lsof/files/patch-dlsof.h @@ -0,0 +1,13 @@ +--- dialects/freebsd/dlsof.h.orig 2017-09-15 15:56:37.973983000 -0700 ++++ dialects/freebsd/dlsof.h 2017-09-15 15:57:27.970424000 -0700 +@@ -142,8 +142,10 @@ + #include <rpc/types.h> + #include <sys/protosw.h> + #include <sys/socket.h> ++#define _WANT_SOCKET /* for FreeBSD 12 and above */ + #include <sys/socketvar.h> + #include <sys/un.h> ++#define _WANT_UNPCB /* for FreeBSD 12 and above */ + #include <sys/unpcb.h> + + # if FREEBSDV>=3000 |