svn commit: r436679 - head/sysutils/lsof/files
Gleb Smirnoff
glebius at FreeBSD.org
Wed Mar 22 07:15:19 UTC 2017
Author: glebius (src committer)
Date: Wed Mar 22 07:15:18 2017
New Revision: 436679
URL: https://svnweb.freebsd.org/changeset/ports/436679
Log:
Fix build on FreeBSD 12, where structs inpcb and tcpcb are no longer exported
to userland, unless explicitly asked for.
Don't bump PORTREVISION, since this particular port needs to be recompiled
basicly anytime base is upgraded. It has too much knowledge about kernel
structures.
Added:
head/sysutils/lsof/files/patch-dlsof.h (contents, props changed)
Added: head/sysutils/lsof/files/patch-dlsof.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/lsof/files/patch-dlsof.h Wed Mar 22 07:15:18 2017 (r436679)
@@ -0,0 +1,17 @@
+--- dialects/freebsd/dlsof.h.orig 2017-01-14 23:50:37.000000000 -0800
++++ dialects/freebsd/dlsof.h 2017-03-22 00:12:47.309579000 -0700
+@@ -154,12 +154,14 @@
+ #include <netinet/in_systm.h>
+ #include <netinet/ip.h>
+ #include <net/route.h>
++#define _WANT_INPCB
+ #include <netinet/in_pcb.h>
+ #include <netinet/ip_var.h>
+ #include <netinet/tcp.h>
+ #include <netinet/tcpip.h>
+ #include <netinet/tcp_fsm.h>
+ #include <netinet/tcp_timer.h>
++#define _WANT_TCPCB
+ #include <netinet/tcp_var.h>
+ #include <sys/ucred.h>
+ #include <sys/uio.h>
More information about the svn-ports-all
mailing list