svn commit: r451103 - in head/sysutils/lsof: . files

Gleb Smirnoff glebius at FreeBSD.org
Mon Oct 2 23:31:36 UTC 2017


Author: glebius (src committer)
Date: Mon Oct  2 23:31:35 2017
New Revision: 451103
URL: https://svnweb.freebsd.org/changeset/ports/451103

Log:
  Fix lsof build after src r324225.

Added:
  head/sysutils/lsof/files/patch-dlsof.h   (contents, props changed)
Modified:
  head/sysutils/lsof/Makefile

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Mon Oct  2 22:45:01 2017	(r451102)
+++ head/sysutils/lsof/Makefile	Mon Oct  2 23:31:35 2017	(r451103)
@@ -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/ \

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	Mon Oct  2 23:31:35 2017	(r451103)
@@ -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


More information about the svn-ports-head mailing list