Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 18:03:06 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515923 - in head/sysutils/lsof: . files
Message-ID:  <201910281803.x9SI36K1083666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Oct 28 18:03:06 2019
New Revision: 515923
URL: https://svnweb.freebsd.org/changeset/ports/515923

Log:
  sysutils/lsof: fix build on (at least) stable/12
  
  Submitted by:	mav
  Approved by:	ler (maintainer)

Modified:
  head/sysutils/lsof/Makefile
  head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Mon Oct 28 17:41:27 2019	(r515922)
+++ head/sysutils/lsof/Makefile	Mon Oct 28 18:03:06 2019	(r515923)
@@ -3,7 +3,7 @@
 
 PORTNAME=	lsof
 DISTVERSION=	4.93.2
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	8
 CATEGORIES=	sysutils
 

Modified: head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h
==============================================================================
--- head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h	Mon Oct 28 17:41:27 2019	(r515922)
+++ head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h	Mon Oct 28 18:03:06 2019	(r515923)
@@ -1,6 +1,14 @@
 --- dialects/freebsd/dlsof.h.orig	2019-05-08 07:32:25 UTC
 +++ dialects/freebsd/dlsof.h
-@@ -45,6 +45,12 @@
+@@ -38,6 +38,7 @@
+ #if	!defined(FREEBSD_LSOF_H)
+ #define	FREEBSD_LSOF_H	1
+ 
++#include <stddef.h>
+ #include <stdlib.h>
+ #include <dirent.h>
+ #include <nlist.h>
+@@ -45,6 +46,12 @@
  #include <signal.h>
  #include <unistd.h>
  
@@ -13,7 +21,7 @@
  # if	FREEBSDV>=4000
  #  if	FREEBSDV>=5000
  #   if	FREEBSDV<6020
-@@ -104,6 +110,12 @@ typedef	struct device	*device_t;
+@@ -104,6 +111,12 @@ typedef	struct device	*device_t;
  
  
  #include <sys/conf.h>



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