OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Torsten Homeyer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 04-Jun-2004 10:18:21
Branch: HEAD Handle: 2004060409182000
Added files:
openpkg-src/findutils findutils.patch
Modified files:
openpkg-src/findutils findutils.spec
Log:
how to get fstypename on NetBSD
Summary:
Revision Changes Path
1.1 +12 -0 openpkg-src/findutils/findutils.patch
1.41 +3 -1 openpkg-src/findutils/findutils.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/findutils/findutils.patch
============================================================================
$ cvs diff -u -r0 -r1.1 findutils.patch
--- /dev/null 2004-06-04 10:18:20.000000000 +0200
+++ findutils.patch 2004-06-04 10:18:20.000000000 +0200
@@ -0,0 +1,12 @@
+Index: find/fstype.c
+--- find/fstype.c.orig 2004-06-03 17:18:01.000000000 +0200
++++ find/fstype.c 2004-06-04 09:52:45.000000000 +0200
+@@ -343,7 +343,7 @@
+ }
+ else
+ {
+-#ifdef HAVE_F_FSTYPENAME_IN_STATFS
++#if defined (HAVE_F_FSTYPENAME_IN_STATFS) || defined (__NetBSD__)
+ type = xstrdup (fss.f_fstypename);
+ #else
+ type = fstype_to_string (fss.f_type);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/findutils/findutils.spec
============================================================================
$ cvs diff -u -r1.40 -r1.41 findutils.spec
--- openpkg-src/findutils/findutils.spec 7 Feb 2004 17:54:50 -0000 1.40
+++ openpkg-src/findutils/findutils.spec 4 Jun 2004 08:18:20 -0000 1.41
@@ -34,11 +34,12 @@
Group: Utility
License: GPL
Version: 4.1.20
-Release: 20040207
+Release: 20040604
# list of sources
Source0: ftp://alpha.gnu.org/gnu/findutils/findutils-%{version}.tar.gz
Source1: rc.findutils
+Patch0: findutils.patch
# build information
Prefix: %{l_prefix}
@@ -63,6 +64,7 @@
%{l_shtool} subst \
-e 's;| sort ;| %{l_prefix}/bin/gsort -T `%{l_prefix}/etc/rc --query
findutils_tmpdir` ;g' \
locate/updatedb.sh
+ %patch -p0
%build
CC="%{l_cc}"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]