OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 04-Jun-2004 13:34:58
Branch: HEAD Handle: 2004060412345700
Added files:
openpkg-src/lsof lsof.patch
Modified files:
openpkg-src/lsof lsof.spec
Log:
fix build on FreeBSD 5.2 by appending missing typedef
Summary:
Revision Changes Path
1.4 +14 -0 openpkg-src/lsof/lsof.patch
1.44 +3 -1 openpkg-src/lsof/lsof.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lsof/lsof.patch
============================================================================
$ cvs diff -u -r0 -r1.4 lsof.patch
--- /dev/null 2004-06-04 13:34:57.000000000 +0200
+++ lsof.patch 2004-06-04 13:34:58.000000000 +0200
@@ -0,0 +1,14 @@
+Index: dialects/freebsd/dlsof.h
+--- dialects/freebsd/dlsof.h.orig 2004-06-04 13:19:33.000000000 +0200
++++ dialects/freebsd/dlsof.h 2004-06-04 13:21:23.000000000 +0200
+@@ -64,6 +64,10 @@
+ u_int32_t pc_current_asngen /* ASN rollover check */
+ # endif /* defined(__alpha__) */
+ #define _KERNEL 1
++/* fix build on FreeBSD 5.2 by appending missing typedef from
++ sys/types.h which was omitted by a previous include with
++ _KERNEL undefined */
++typedef __cpumask_t cpumask_t;
+ # endif /* FREEBSDV>=500 */
+ #include <sys/conf.h>
+ # if FREEBSDV>=500
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lsof/lsof.spec
============================================================================
$ cvs diff -u -r1.43 -r1.44 lsof.spec
--- openpkg-src/lsof/lsof.spec 24 May 2004 14:38:01 -0000 1.43
+++ openpkg-src/lsof/lsof.spec 4 Jun 2004 11:34:57 -0000 1.44
@@ -34,10 +34,11 @@
Group: Filesystem
License: BSD
Version: 4.71
-Release: 20040524
+Release: 20040604
# list of sources
Source0: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
+Patch0: lsof.patch
# build information
Prefix: %{l_prefix}
@@ -61,6 +62,7 @@
%prep
%setup -q -n lsof_%{version}
%{l_tar} xf lsof_%{version}_src.tar
+ %patch -p0 -d lsof_%{version}_src
%build
cd lsof_%{version}_src
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]