Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 12:41:36 +0300
From:      Esa Karkkainen <ekarkkai@pp.htv.fi>
To:        Victor Gregorio <victor@opsource.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LSOF Compile Problems From Ports
Message-ID:  <20040429094136.GA2440@pp.htv.fi>
In-Reply-To: <408EF0E3.3040004@opsource.net>
References:  <408EF0E3.3040004@opsource.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Apr 27, 2004 at 04:46:43PM -0700, Victor Gregorio wrote:
> Hello folks.  I'm wondering if anyone is getting the same error I get 
> when I try to make /usr/ports/sysutils/lsof.  I have a cvsup'd 
> /usr/ports tree on 5.2.1-RELEASE-p5.  Output and error below...

Yes, I have. The compilation problem can be fixed by replacing
file "ports/sysutils/lsof/files/patch-aa" with the attached file.

I don't have access to a computer running -CURRENT, so I don't know if
my patch breaks compilation in -CURRENT.

I'll submit a PR later this week.

-- 
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
        -- Douglas Adams 1952 - 2001

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-aa

--- dialects/freebsd/machine.h.orig	Sat Apr 17 00:25:24 2004
+++ dialects/freebsd/machine.h	Wed Apr 21 18:52:53 2004
@@ -41,9 +41,9 @@
 
 #include <sys/types.h>
 
-#if	FREEBSDV>=520
+#if	FREEBSDV>520
 /*
- * In FreeBSD >= 5.2 the cpumask_t typedef is only made in <sys/types.h> if
+ * In FreeBSD > 5.2 the cpumask_t typedef is only made in <sys/types.h> if
  * _KERNEL is predefined.  However, predefining _KERNEL before #include'ing
  * <sys/types.h> causes redefinition errors for boolean_t and vm_page_t when
  * <vm/vm.h> is #include'd with _KERNEL predefined.  Since lsof must have
@@ -405,7 +405,7 @@
  * (the one that its user logged on with) of the lsof process.
  */
 
-/* #define	HASSECURITY	1 */
+#define	HASSECURITY	1
 
 
 /*

--BOKacYhQ+x31HxR3--



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