|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/tibit/dpkg/head1.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
--- ./config.guess 2001-04-15 22:37:33.000000000 +0200
|
|
+++ /tmp/tmp.kINzFP2545 2004-05-21 10:36:10.000000000 +0200
|
|
@@ -314,7 +314,7 @@
|
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
|
exit 0 ;;
|
|
sun*:*:4.2BSD:*)
|
|
- UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
|
+ UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
|
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
|
case "`/bin/arch`" in
|
|
sun3)
|
|
@@ -493,7 +493,7 @@
|
|
fi
|
|
exit 0 ;;
|
|
*:AIX:*:[45])
|
|
- IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
|
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'`
|
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
|
IBM_ARCH=rs6000
|
|
else
|
|
--- ./dselect/Makefile.in 2001-04-24 13:02:50.000000000 +0200
|
|
+++ /tmp/tmp.SHaCDd2558 2004-05-21 10:36:11.000000000 +0200
|
|
@@ -57,7 +57,7 @@
|
|
|
|
curkeys.h: keyoverride $(srcdir)/mkcurkeys.pl
|
|
cursesfile=`echo '#include <curses.h>' | \
|
|
- $(CC) -E - | grep 'curses.h' | head -1 | \
|
|
+ $(CC) -E - | grep 'curses.h' | head -n 1 | \
|
|
$(SED) -e 's/^[^"]*"//; s/".*$$//'`; \
|
|
if [ "$$cursesfile" = "" ]; then echo "can't find curses file"; exit 1; fi; \
|
|
perl $(srcdir)/mkcurkeys.pl $< $$cursesfile > $@
|
|
--- ./methods/disk.setup 2000-12-24 09:41:48.000000000 +0100
|
|
+++ /tmp/tmp.fKYzOF2566 2004-05-21 10:36:11.000000000 +0200
|
|
@@ -422,7 +422,7 @@
|
|
fi
|
|
|
|
if ! ( find "$mountpoint$2/" -follow -name '*.deb' -print \
|
|
- | head -1 ) 2>/dev/null | grep . >/dev/null
|
|
+ | head -n 1 ) 2>/dev/null | grep . >/dev/null
|
|
then
|
|
echo "\`$2' does not contain any *.deb packages. Hmmpf."
|
|
return
|