Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2017 07:15:18 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436679 - head/sysutils/lsof/files
Message-ID:  <201703220715.v2M7FI7J070479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703220715.v2M7FI7J070479>