Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/utils
In directory usw-pr-cvs1:/tmp/cvs-serv3166

Added Files:
        cdrtools-1.11a27-1.info cdrtools-1.11a27-1.patch 
        cpio-2.4.2-3.info cpio-2.4.2-3.patch di-3.4-1.info 
        di-3.4-1.patch dialog-0.9b-20020519-1.info 
        efax-0.9a-001114-1.info efax-0.9a-001114-1.patch 
        eject-1.0-1.info ent-19981020-2.info fhist-1.10-1.info 
        fhist-1.10-1.patch hexcurse-1.54-2.info iozone-3.94-1.info 
        iozone-3.94-1.patch less-376-1.info 
Log Message:
10.2 ok stuff


--- NEW FILE: cdrtools-1.11a27-1.info ---
Package: cdrtools
Version: 1.11a27
Revision: 1
Source: ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/%n-%v.tar.gz
SourceDirectory: %n-1.11
Patch: %f.patch
CompileScript: make
InstallScript: <<
cd cdda2wav; make INS_BASE=%i MANDIR=share/man install
cd cdrecord; make INS_BASE=%i MANDIR=share/man install
cd mkisofs; make INS_BASE=%i MANDIR=share/man install
cd readcd; make INS_BASE=%i MANDIR=share/man install
chmod a+s %i/bin/cdrecord
<<
Description: Various tools for mastering CD-Rs
DescPort: <<
This version of cdrecord includes a patch by Constantine Sapuntzakis 
<[EMAIL PROTECTED]> for Darwin/MacOSX IOKit compatibility. See the
README.macosX file for more information on how to use it with 
Darwin/MacOSX. If you own a SCSI CD-R, try El Gato's Mac OS X SCSI CD-RW
Helper at http://www.elgato.com/SCSIHelper/index.html. After installing
that, you can use Toast and even cdrecord by specifying 
IOCompactDiscServices/x as your device where x is the device number.
The cdrecord binary is setuid root so that it can load renice itself to 
-20.
<<
License: GPL
DocFiles: AN* INSTALL README* ABOUT COPYING ChangeLog START PORTING COMPILE BUILD
Maintainer: Adam Lebsack <[EMAIL PROTECTED]>
Homepage: 
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html

--- NEW FILE: cdrtools-1.11a27-1.patch ---
diff -uNr cdrtools-1.11/DEFAULTS/Defaults.darwin 
cdrtools-1.11-adam/DEFAULTS/Defaults.darwin
--- cdrtools-1.11/DEFAULTS/Defaults.darwin      Thu Feb 15 12:56:32 2001
+++ cdrtools-1.11-adam/DEFAULTS/Defaults.darwin Wed Nov 14 20:21:12 2001
@@ -34,5 +34,5 @@
 #
 DEFINSMODEF=   444
 DEFINSMODEX=   755
-DEFINSUSR=     bin
-DEFINSGRP=     bin
+DEFINSUSR=     root
+DEFINSGRP=     wheel

--- NEW FILE: cpio-2.4.2-3.info ---
Package: cpio
Version: 2.4.2
Revision: 3
Source: gnu
Source-MD5: e651ca1e1ac53aaebfa7ad256b0fe4fc
UpdateConfigGuess: true
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --libexecdir=%p/lib/cpio
Patch: %f.patch
InstallScript: make install prefix=%i infodir=%i/share/info mandir=%i/share/man/man1 
libexecdir=%i/lib/cpio
DocFiles: README COPYING COPYING.LIB NEWS
InfoDocs: cpio.info
#
Description: Archiver to copy and back up files
DescPort: Uses autoconf. Checks the hosttype - the usual fix.
DescPackaging: <<
cpio's copy of rmt is stowed away in a separate directory so it
doesn't conflict with tar's copy.

Previous revisions by David Ross.
<<
License: GPL/LGPL
Maintainer: Max Horn <[EMAIL PROTECTED]>

--- NEW FILE: cpio-2.4.2-3.patch ---
diff -Naur cpio-2.4.2/rmt.old.c cpio-2.4.2/rmt.c
--- cpio-2.4.2/rmt.c    Wed Dec 20 11:29:07 1995
+++ cpio-2.4.2/rmt.c    Sat May  5 15:34:58 2001
@@ -75,7 +75,7 @@
 char count[SSIZE], mode[SSIZE], pos[SSIZE], op[SSIZE];
 
 extern errno;
-extern char *sys_errlist[];
+/*extern char *sys_errlist[];*/
 char resp[BUFSIZ];
 
 FILE *debug;


--- NEW FILE: di-3.4-1.info ---
Package: di
Version: 3.4
Revision: 1
Source: http://www.gentoo.com/%n/%n-%v.tar.gz
SourceDirectory: %n-%v
Patch: %f.patch
CompileScript: ./Build
InstallScript: <<
prefix=%i ./Build install-po
<<
DocFiles: MANIFEST README 
Description: Disk Information Utility
DescDetail: <<
Di is a disk information utility, displaying everything that df does
and more. It features the ability to display your disk usage in
whatever format you desire/prefer/are used to.
<<
License: BSD
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Homepage: http://www.gnu.org/directory/shellutils.html

--- NEW FILE: di-3.4-1.patch ---
diff -ruN di-3.4.orig/Makefile.iffe di-3.4/Makefile.iffe
--- di-3.4.orig/Makefile.iffe   Sat Apr 20 15:54:57 2002
+++ di-3.4/Makefile.iffe        Thu Jun  6 20:05:03 2002
@@ -20,7 +20,7 @@
 # additional flags/libraries
 #
 OTHERFLAGS = -DPROG=\"$(PROG)\" -DMPROG=\"$(MPROG)\" \
-       -DDI_LOCALE_DIR=\"$(prefix)/lib/di/locale\"
+       -DDI_LOCALE_DIR=\"$(prefix)/share/locale\"
 
 #
 # installation options
@@ -44,7 +44,7 @@
 #
 # simple man page installation
 #
-MANPATH = $(prefix)/man
+MANPATH = $(prefix)/share/man
 MANDIR = $(MANPATH)/man1
 MANTARGET = "$(PROG).1"
 MANPERM = 644
@@ -62,7 +62,7 @@
 CHMOD = chmod
 TOUCH = touch
 MSGFMT = msgfmt
-MKDIR = mkdir
+MKDIR = mkdir -p
 SED = sed
 
 ###
@@ -128,17 +128,16 @@
 install:       install-prog install-man
 
 install-po:    install-prog install-man
-       -$(TEST) -d $(prefix)/lib || $(MKDIR) $(prefix)/lib
-       -$(TEST) -d $(prefix)/lib/di || $(MKDIR) $(prefix)/lib/di
-       -$(TEST) -d $(prefix)/lib/di/locale || $(MKDIR) $(prefix)/lib/di/locale
-       -$(TEST) -d $(prefix)/lib/di/locale || $(MKDIR) $(prefix)/lib/di/locale
+       -$(TEST) -d $(prefix)/share || $(MKDIR) $(prefix)/share
+       -$(TEST) -d $(prefix)/share/locale || $(MKDIR) $(prefix)/share/locale
+       -$(TEST) -d $(prefix)/share/locale || $(MKDIR) $(prefix)/share/locale
        -(cd po;for i in *.po; do \
                j=`echo $$i | $(SED) 's,\\.po$$,,'`; \
-               $(TEST) -d $(prefix)/lib/di/locale/$$j || \
-                       $(MKDIR) $(prefix)/lib/di/locale/$$j; \
-               $(TEST) -d $(prefix)/lib/di/locale/$$j/LC_MESSAGES || \
-                       $(MKDIR) $(prefix)/lib/di/locale/$$j/LC_MESSAGES; \
-               $(MSGFMT) -o $(prefix)/lib/di/locale/$$j/LC_MESSAGES/di.mo $$i;\
+               $(TEST) -d $(prefix)/share/locale/$$j || \
+                       $(MKDIR) $(prefix)/share/locale/$$j; \
+               $(TEST) -d $(prefix)/share/locale/$$j/LC_MESSAGES || \
+                       $(MKDIR) $(prefix)/share/locale/$$j/LC_MESSAGES; \
+               $(MSGFMT) -o $(prefix)/share/locale/$$j/LC_MESSAGES/di.mo $$i;\
        done)
 
 install-prog:  $(PROG)$(EXE_EXT)

--- NEW FILE: dialog-0.9b-20020519-1.info ---
Package: dialog
Version: 0.9b-20020519
Revision: 1
Source: ftp://ftp.us.debian.org/debian/pool/main/d/dialog/%n_%v.orig.tar.gz
SourceDirectory: %n-%v
Conflicts: tetex-base
ConfigureParams: --mandir='$(prefix)/share/man'
Source-MD5: 3d9ce1a0354a1f5c9a11fa95649b4351
SourceRename: %n-%v.tar.gz
SetLDFlags: -undefined suppress -flat_namespace
DocFiles: CHANGES COPYING README VERSION
Description: Displays dialog boxes from shell scripts
DescDetail: <<
Lets you to present a variety of questions or display messages
using dialog boxes from a shell script (or any scripting language).
These types of dialog boxes are implemented: yes/no box, menu box,
input box, message box, text box, info box, guage box, checklist box, 
fileselection box, and radiolist box.
<<
License: GPL
Homepage: http://freshmeat.net/projects/dialog/
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>

--- NEW FILE: efax-0.9a-001114-1.info ---
Package: efax
Version: 0.9a-001114
Revision: 1
Source: http://www.cce.com/efax/download/%n-%v.tar.gz
Patch: %f.patch
CompileScript: <<
make all CC=cc
<<
InstallScript: <<
mkdir -p %i/bin
mkdir -p %i/share/man/man1
make install BINDIR=%i/bin MANDIR=%i/share/man
<<
DocFiles: README COPYING
Description: Simple FAX utility
DescUsage: <<
See available setup options in "man fax" and the /bin/fax script.
Set options in ~/.efaxrc. A Cocoa wrapper for eFax is available at
http://www.macadvocacy.com/cocoaefax.htm
<<
DescPackaging: <<
Patchfile sets default options in script for Darwin systems, 
but is not strictly needed to compile and run. 
<<
License: GPL
Maintainer: Ben Hines <[EMAIL PROTECTED]>
Homepage: http://www.cce.com/efax/

--- NEW FILE: efax-0.9a-001114-1.patch ---
diff -u efax-0.9a-001114/fax efax-0.9a-001114-patched/fax
--- efax-0.9a-001114/fax        Mon Oct  2 07:06:08 2000
+++ efax-0.9a-001114-patched/fax        Sun Mar 24 01:02:48 2002
@@ -28,7 +28,7 @@
 # /dev/modem is a link to /dev/cua1, then getty, uucp, kermit,
 # pppd, dip, etc. must *all* use either /dev/modem or /dev/cua1.
 
-DEV=cua1
+DEV=cu.modem
 
 # Your fax number in international format, 20 characters maximum.
 # Use only digits, spaces, and the "+" character.
@@ -81,12 +81,12 @@
 # conventions. Protect with single quotes for delayed evaluation.
 # Add a leading '#' to the file name to use binary format.
 
-LOCK='-x /var/lock/LCK..$DEV'                  # modern systems
+#LOCK='-x /var/lock/LCK..$DEV'                         # modern systems
 # LOCK='-x /usr/spool/uucp/LCK..$DEV'          # older systems
 # LOCK='-x /var/lock/LCK..$DEV -x /var/spool/uucp/LCK..$DEV' # both
 # LOCK='-x #/usr/spool/uucp/LCK..$DEV'         # binary format
 # LOCK='-x /usr/spool/locks/LK.047.040.011'    # SysV style names
-# LOCK=''                                      # no lock file
+LOCK=''                                        # no lock file
 
 # Uncomment one of the following lines to force xon/xoff flow
 # control only if you have one of the types of modems listed.
@@ -277,7 +277,7 @@
 # (e.g. because the current user isn't privileged).  Comment this
 # out if it causes problems.
 
-NICE="nice -n -10"
+#NICE="nice -n -10"
 
 # Standard versions of commands that are often aliased.
 

--- NEW FILE: eject-1.0-1.info ---
Package: eject
Version: 1.0
Revision: 1
Type: nosource
License: Public Domain
Maintainer: Matthias Neeracher <[EMAIL PROTECTED]>
NoSourceDirectory: true
Patch: %f.patch
Description: Eject removable media
CompileScript:<<
<<
InstallScript:<<
mkdir -p %i/bin
/usr/bin/install eject %i/bin
<<
DocFiles: README

--- NEW FILE: ent-19981020-2.info ---
Package: ent
Version: 19981020
Revision: 2
#
Source: http://www.fourmilab.ch/random/random.zip
SourceDirectory: .
Source-MD5: ccaa3fffd4d84d46e9b712d0c88f008c
#
PatchScript: <<
perl -pi.old -e 's#^ent#./ent#' entest.bat
rm -f entest.bat.old
<<
CompileScript: <<
echo "No configuration required"
make
make test
<<
InstallScript: <<
mkdir -p %i/bin
cp ent %i/bin
chmod a+rx %i/bin/ent
<<
#
DocFiles: ent.html
#
Description: Checks the randomness of the input
DescDetail: <<
Ent (written by John Walker) checks the randomness of the input data with
the following tests: entropy, chi-square test, arithmetic mean, Monte Carlo
value for Pi, and serial correlation coefficient.
<<
#
DescPort: <<
This program's zip file doesn't unzip into any specific folder, leading to
the awkward choice of `.' for SourceDirectory.  Also, This package had no
version number, so I just used the latest revision date.
<<
License: Public Domain
Maintainer: Benjamin Esham <[EMAIL PROTECTED]>


--- NEW FILE: fhist-1.10-1.info ---
Package: fhist
Version: 1.10
Revision: 1
Source: http://www.pcug.org.au/~millerp/%n-%v.tar.gz
Source-MD5: 56ef902903a21d8a1b3f88db13bc0571
SetCFLAGS: -I%p/include
Patch: %f.patch
ConfigureParams: --mandir=%p/share/man
InstallScript: <<
 make RPM_BUILD_ROOT=%d install docdir=%p/share/doc/%n
<<
DocFiles: README* BUILDING LICENSE MANIFEST
#
Description: Minimal file history tool
DescDetail: <<
The FHist package contains 3 utilities, a file history tool ``fhist'',
a file comparison tool ``fcomp'', and a file merging tool ``fmerge''. 
All three are bundled together, because they all use the same
minimal-difference algorithm.

For more details, see http://www.pcug.org.au/~millerp/fhist.html
<<
DescPort: <<
Explicitly set CFLAGS because the configure script was not finding
libintl.h in /sw/include

The build depends on groff, but works with either the fink groff
package or the Apple supplied /usr/bin/groff.
<<
Homepage: http://www.pcug.org.au/~millerp/fhist.html
License: GPL
Maintainer: David Bacher <[EMAIL PROTECTED]>

--- NEW FILE: fhist-1.10-1.patch ---
diff -bur fhist-1.8/ fhist-1.8-patched/
--- fhist-1.8/Makefile.in       Tue Oct 16 05:26:19 2001
+++ fhist-1.8-patched/Makefile.in       Sat Jun  1 17:39:09 2002
@@ -77,6 +77,11 @@
 mandir = $(RPM_BUILD_ROOT)@mandir@
 
 #
+# where to put the locale-specific messages
+#
+localedir = $(RPM_BUILD_ROOT)@localedir@
+
+#
 # Which yacc to use
 #
 YACC = @YACC@
@@ -821,8 +826,8 @@
        $(MSGFMT) -o lib/en/LC_MESSAGES/fcomp.mo \
                lib/en/LC_MESSAGES/fcomp.po lib/en/LC_MESSAGES/common.po
 
-$(libdir)/en/LC_MESSAGES/fcomp.mo: lib/en/LC_MESSAGES/fcomp.mo \
-               lib/en/LC_MESSAGES/.libdir
+$(localedir)/en/LC_MESSAGES/fcomp.mo: lib/en/LC_MESSAGES/fcomp.mo \
+               lib/en/LC_MESSAGES/.localedir
        $(INSTALL_DATA) lib/en/LC_MESSAGES/fcomp.mo $@
 
 lib/en/LC_MESSAGES/fhist.mo: lib/en/LC_MESSAGES/fhist.po \
@@ -830,8 +835,8 @@
        $(MSGFMT) -o lib/en/LC_MESSAGES/fhist.mo \
                lib/en/LC_MESSAGES/fhist.po lib/en/LC_MESSAGES/common.po
 
-$(libdir)/en/LC_MESSAGES/fhist.mo: lib/en/LC_MESSAGES/fhist.mo \
-               lib/en/LC_MESSAGES/.libdir
+$(localedir)/en/LC_MESSAGES/fhist.mo: lib/en/LC_MESSAGES/fhist.mo \
+               lib/en/LC_MESSAGES/.localedir
        $(INSTALL_DATA) lib/en/LC_MESSAGES/fhist.mo $@
 
 lib/en/LC_MESSAGES/fmerge.mo: lib/en/LC_MESSAGES/fmerge.po \
@@ -840,8 +845,8 @@
                lib/en/LC_MESSAGES/fmerge.po \
                lib/en/LC_MESSAGES/common.po
 
-$(libdir)/en/LC_MESSAGES/fmerge.mo: lib/en/LC_MESSAGES/fmerge.mo \
-               lib/en/LC_MESSAGES/.libdir
+$(localedir)/en/LC_MESSAGES/fmerge.mo: lib/en/LC_MESSAGES/fmerge.mo \
+               lib/en/LC_MESSAGES/.localedir
        $(INSTALL_DATA) lib/en/LC_MESSAGES/fmerge.mo $@
 
 lib/en/building.ps: lib/en/building/main.man
@@ -1034,19 +1039,19 @@
        $(SH) test/00/t0024a.sh
 
 
-lib/en/LC_MESSAGES/.libdir: lib/en/.libdir
-       -$(INSTALL) -m 0755 -d $(libdir)/en/LC_MESSAGES
-       @-test -d $(libdir)/en/LC_MESSAGES && touch $@
+lib/en/LC_MESSAGES/.localedir: lib/en/.localedir
+       -$(INSTALL) -m 0755 -d $(localedir)/en/LC_MESSAGES
+       @-test -d $(localedir)/en/LC_MESSAGES && touch $@
        @sleep 1
 
-lib/en/.libdir: lib/.libdir
-       -$(INSTALL) -m 0755 -d $(libdir)/en
-       @-test -d $(libdir)/en && touch $@
+lib/en/.localedir: lib/.localedir
+       -$(INSTALL) -m 0755 -d $(localedir)/en
+       @-test -d $(localedir)/en && touch $@
        @sleep 1
 
-lib/.libdir:
-       -$(INSTALL) -m 0755 -d $(libdir)
-       @-test -d $(libdir) && touch $@
+lib/.localedir:
+       -$(INSTALL) -m 0755 -d $(localedir)
+       @-test -d $(localedir) && touch $@
        @sleep 1
 
 lib/en/man1/.mandir: lib/en/.mandir
@@ -1137,9 +1142,9 @@
 
 install-po: install-po-$(HAVE_I18N)
 
-install-po-yes: $(libdir)/en/LC_MESSAGES/fcomp.mo \
-               $(libdir)/en/LC_MESSAGES/fhist.mo \
-               $(libdir)/en/LC_MESSAGES/fmerge.mo
+install-po-yes: $(localedir)/en/LC_MESSAGES/fcomp.mo \
+               $(localedir)/en/LC_MESSAGES/fhist.mo \
+               $(localedir)/en/LC_MESSAGES/fmerge.mo
 
 install-po-no:
 
@@ -1242,8 +1247,8 @@
        rm -f fhist/modlin.$(OBJEXT) fhist/name.$(OBJEXT)
        rm -f fhist/prune.$(OBJEXT) fhist/subroutine.$(OBJEXT)
        rm -f fhist/update.$(OBJEXT) fmerge/main.$(OBJEXT)
-       rm -f fmerge/work.$(OBJEXT) lib/en/LC_MESSAGES/.libdir
-       rm -f lib/en/.libdir lib/.libdir lib/en/building.ps
+       rm -f fmerge/work.$(OBJEXT) lib/en/LC_MESSAGES/.localedir
+       rm -f lib/en/.localedir lib/.localedir lib/en/building.ps
        rm -f lib/en/building.dvi lib/en/building.txt
        rm -f lib/en/man1/.mandir lib/en/.mandir lib/en/man1/.datadir
        rm -f lib/en/.datadir lib/.datadir lib/en/readme.ps
--- fhist-1.8/configure Tue Oct 16 05:26:19 2001
+++ fhist-1.8-patched/configure Sat Jun  1 17:38:06 2002
@@ -45,6 +45,7 @@
 oldincludedir='/usr/include'
 infodir='${prefix}/info'
 mandir='${prefix}/man'
+localedir='${prefix}/share/locale'
 
 # Initialize some other variables.
 subdirs=
@@ -2444,6 +2445,7 @@
 s%@oldincludedir@%$oldincludedir%g
 s%@infodir@%$infodir%g
 s%@mandir@%$mandir%g
+s%@localedir@%$localedir%g
 s%@CC@%$CC%g
 s%@CPP@%$CPP%g
 s%@EXEEXT@%$EXEEXT%g

--- NEW FILE: hexcurse-1.54-2.info ---
Package: hexcurse
Version: 1.54
Revision: 2
Source: http://jewfish.net/download.php?file=%n.tar.gz
SourceDirectory: %n-%v
SourceRename: %n-%v.tar.gz
Source-MD5: 1709176196c5384aa9c6454b2bf9ada0
ConfigureParams: --mandir=%p/share/man
InstallScript: make install-strip DESTDIR=%d
GCC: 3.1
DocFiles: AUTHORS COPYING INSTALL NEWS README
Description: Terminal-based hex editor 
DescDetail: <<
Curses-based hex editing utility that can open, edit, and
save files, editing both the hexadecimal and decimal values.
<<
DescUsage: <<
"man hexcurse" for usage notes.
<<
DescPackaging: <<
The SourceRename forces fink to realize that the tarball name 
is %n-%v.tar.gz, and use that (with wget) OR with curl, it actually 
renames the source to %n-%v.tar.gz
<<
License: GPL
Homepage: http://jewfish.net/description.php?title=HexCurse
Maintainer: Ben Hines <[EMAIL PROTECTED]>

--- NEW FILE: iozone-3.94-1.info ---
Package: iozone
Version: 3.94
Revision: 1
Maintainer: Sylvain Cuaz <[EMAIL PROTECTED]>
#
Source: http://www.iozone.org/src/current/iozone3_94.tar
SourceDirectory: src/current
Patch: %f.patch
CompileScript: make darwin
InstallScript: <<
 mkdir -p %i/bin
 install -m 755 iozone %i/bin

 mkdir -p %i/share/man/man1
 install -m 644 ../../docs/iozone.1 %i/share/man/man1
 rm -f ../../docs/iozone.1

 mkdir -p %i/share/doc
 cp -R ../../docs %i/share/doc/%n
<<
DocFiles: Changes.txt
Homepage: http://www.iozone.org/
Description: Filesystem benchmark tool.
DescDetail: <<
 Iozone is useful for performing a broad filesystem analysis of a vendor�s computer
 platform. The benchmark tests file I/O performance for the following operations:

 Read, write, re-read, re-write, read backwards, read strided, fread, fwrite,
 random read, pread, mmap, aio_read, aio_write
<<
DescPort: <<
 make generic don't work so create the darwin target
 patch iozone.c to add defined(__APPLE__) everywhere FreeBSD is
 put #include <sys/times.h> before time.h otherwise darwin complains about incomplete 
types
<<
DescPackaging: no install rule in the makefile
DescUsage: type iozone -Ra
License: Public Domain
--- NEW FILE: iozone-3.94-1.patch ---
diff -ruN current/iozone.c current-patched/iozone.c
--- current/iozone.c    Fri May  3 17:06:41 2002
+++ current-patched/iozone.c    Tue May 14 09:37:49 2002
@@ -216,11 +216,11 @@
   #define __USE_GNU
 #endif
 #include <fcntl.h>
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__)
 #include <malloc.h>
 #endif
 
-#if defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__)
+#if defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || 
+defined(__APPLE__)
 #ifndef O_SYNC
 #define O_SYNC O_FSYNC
 #endif
@@ -262,6 +262,10 @@
 #include <sys/fs/vx_ioctl.h>
 #endif
 
+#ifdef __APPLE__
+#include <sys/time.h>
+#endif
+
 #ifdef unix
 #include <sys/times.h>
 #include <sys/file.h>
@@ -281,7 +285,9 @@
 #define VOLATILE 
 #endif
 
+#ifndef __APPLE__
 #include <sys/time.h>
+#endif
 
 #ifdef SHARED_MEM
 #include <sys/shm.h>
diff -ruN current/makefile current-patched/makefile
--- current/makefile    Fri May  3 17:06:42 2002
+++ current-patched/makefile    Tue May 14 09:35:44 2002
@@ -16,6 +16,7 @@
        @echo "        ->   AIX                  (32bit)   <-"
        @echo "        ->   bsdi                 (32bit)   <-" 
        @echo "        ->   convex               (32bit)   <-" 
+       @echo "        ->   darwin               (32bit)   <-"
        @echo "        ->   freebsd              (32bit)   <-"
        @echo "        ->   generic              (32bit)   <-"
        @echo "        ->   ghpux                (32bit)   <-"
@@ -265,6 +266,13 @@
        cc -O -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
                iozone_freebsd.o libbif.o -o iozone
 #
+# Darwin build with no threads, no largefiles, no async I/O
+#
+
+darwin: iozone_darwin.o libbif.o
+       cc -O -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
+               iozone_darwin.o libbif.o -o iozone
+#
 # GNU C compiler OpenBSD build with no threads, no largefiles, no async I/O
 #
 
@@ -623,6 +631,15 @@
        @echo ""
        cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
                -DSHARED_MEM iozone.c -o iozone_freebsd.o
+       cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+               -DSHARED_MEM libbif.c -o libbif.o
+
+iozone_darwin.o: iozone.c libbif.c
+       @echo ""
+       @echo "Build iozone for darwin"
+       @echo ""
+       cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+               -DSHARED_MEM iozone.c -o iozone_darwin.o
        cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
                -DSHARED_MEM libbif.c -o libbif.o
 

--- NEW FILE: less-376-1.info ---
Package: less
Version: 376
Revision: 1
#Source: gnu
Source: http://www.greenwoodsoftware.com/less/%n-%v.tar.gz
Source-MD5: 10ea49ecf3c35fe122002f2b8f1bf1ba
InstallScript: make install-strip prefix=%i mandir=%i/share/man
DocFiles: README COPYING LICENSE NEWS
#
Description: Featureful text pager
DescDetail: <<
GNU less is a featureful replacement for the more command. It reads
text from a file or a pipe and displays it inside the terminal. It
allows you to scroll forwards and backwards, search the text and do
other nifty things with it.
<<
License: GPL
Maintainer: Max Horn <[EMAIL PROTECTED]>



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to