Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2017 23:31:35 +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: r451103 - in head/sysutils/lsof: . files
Message-ID:  <201710022331.v92NVZth000439@repo.freebsd.org>

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



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