mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

128 lines
6.2 KiB

# --- 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/base/tetex/head-tail.patch
# ROCK Linux is Copyright (C) 1998 - 2006 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 ---
--- ./texk/tetex/texconfig.orig 2005-03-05 22:06:53.256397056 +0100
+++ ./texk/tetex/texconfig 2005-03-05 22:08:20.595119552 +0100
@@ -629,7 +629,7 @@
echoLocateBinary kpsewhich updmap fmtutil texconfig tex pdfetex mktexpk dvips dvipdfm
echo
echo '=========================== active config files =========================='
- echoLocateCfgfile texmf.cnf updmap.cfg fmtutil.cnf config.ps mktex.cnf XDvi pdftexconfig.tex config | sort +1
+ echoLocateCfgfile texmf.cnf updmap.cfg fmtutil.cnf config.ps mktex.cnf XDvi pdftexconfig.tex config | sort -k2
echo
echo '============================= font map files ============================='
for m in psfonts.map pdftex.map ps2pk.map dvipdfm.map; do
--- ./texk/web2c/etexdir/etex.mk.orig 2005-03-05 22:06:54.163259192 +0100
+++ ./texk/web2c/etexdir/etex.mk 2005-03-05 22:08:29.016839256 +0100
@@ -150,7 +150,7 @@
# Distfiles ...
@MAINT@triptrapdiffs: etexdir/etrip/etrip.diffs
@MAINT@etexdir/etrip/etrip.diffs: etex
-@MAINT@ $(MAKE) etrip | tail +1 >etexdir/etrip/etrip.diffs
+@MAINT@ $(MAKE) etrip | tail -n +1 >etexdir/etrip/etrip.diffs
# Dumps
--- ./texk/web2c/Makefile.in.orig 2005-03-05 22:06:54.745170728 +0100
+++ ./texk/web2c/Makefile.in 2005-03-05 22:08:44.040555304 +0100
@@ -1016,14 +1016,14 @@
@MAINT@
@MAINT@triptrapdiffs: triptrap/trip.diffs triptrap/mftrap.diffs triptrap/mptrap.diffs
@MAINT@triptrap/trip.diffs: tex
-@MAINT@ $(MAKE) trip | tail +1 >triptrap/trip.diffs
+@MAINT@ $(MAKE) trip | tail -n +1 >triptrap/trip.diffs
@MAINT@triptrap/mftrap.diffs: mf
-@MAINT@ $(MAKE) trap | tail +1 >triptrap/mftrap.diffs
+@MAINT@ $(MAKE) trap | tail -n +1 >triptrap/mftrap.diffs
@MAINT@triptrap/mptrap.diffs: mpost
-@MAINT@ $(MAKE) mptrap | tail +1 >triptrap/mptrap.diffs
+@MAINT@ $(MAKE) mptrap | tail -n +1 >triptrap/mptrap.diffs
@MAINT@
@MAINT@tests/check.log: $(programs) $(engines)
-@MAINT@ $(MAKE) check | tail +1 >tests/check.log
+@MAINT@ $(MAKE) check | tail -n +1 >tests/check.log
@MAINT@
@MAINT@dist_subdirs = doc lib mpware tests web2c window
@MAINT@pre-dist-$(distname): depend triptrapdiffs tests/check.log tangleboot.p
--- ./texk/xdvik/xdvizilla.orig 2005-03-05 22:06:55.166106736 +0100
+++ ./texk/xdvik/xdvizilla 2005-03-05 22:08:52.999193384 +0100
@@ -111,7 +111,7 @@
[ -z "$dangerous" ] || do_abort "Tar file contains files with absolute paths or \`../' components,
which may overwrite user files. Not unpacking it."
### also check for gzipped DVI files inside the archive ...
- out="$TMP_DIR"/`tar tf "$TMP_FILE" | egrep '\.(dvi|dvi.gz|dvi.Z)$' | head -1`
+ out="$TMP_DIR"/`tar tf "$TMP_FILE" | egrep '\.(dvi|dvi.gz|dvi.Z)$' | head -n -1`
if [ -z "$out" ]; then
do_abort "Tar file does not contain a dvi file."
else
--- ./texk/libtool.m4.orig 2005-03-05 22:06:55.562046544 +0100
+++ ./texk/libtool.m4 2005-03-05 22:09:21.778818216 +0100
@@ -3360,7 +3360,7 @@
lt_cv_file_magic_cmd='/usr/bin/file -L'
case "$host_os" in
rhapsody* | darwin1.[[012]])
- lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+ lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n -1`
;;
*) # Darwin 1.3 on
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
--- ./texk/configure.orig 2005-03-05 22:06:55.564046240 +0100
+++ ./texk/configure 2005-03-05 22:09:30.154544912 +0100
@@ -2852,7 +2852,7 @@
lt_cv_file_magic_cmd='/usr/bin/file -L'
case "$host_os" in
rhapsody* | darwin1.[012])
- lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+ lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n -1`
;;
*) # Darwin 1.3 on
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
--- ./texk/kpathsea/configure.orig 2005-03-05 22:06:56.009978448 +0100
+++ ./texk/kpathsea/configure 2005-03-05 22:09:36.920516328 +0100
@@ -1831,7 +1831,7 @@
lt_cv_file_magic_cmd='/usr/bin/file -L'
case "$host_os" in
rhapsody* | darwin1.[012])
- lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+ lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n -1`
;;
*) # Darwin 1.3 on
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
--- ./texk/kpathsea/mktexpk.orig 2005-03-05 22:06:56.510902296 +0100
+++ ./texk/kpathsea/mktexpk 2005-03-05 22:09:44.460370096 +0100
@@ -145,7 +145,7 @@
# rpplr (the original) or pplr0 (an interim step) or pplr8r (current).
: ${PSMAPFILE=`kpsewhich --format=map psfonts.map ps2pk.map`}
pattern="^$NAME"'([ ]|$)'
- psline=`egrep "$pattern" $PSMAPFILE | tail -1`
+ psline=`egrep "$pattern" $PSMAPFILE | tail -n -1`
if test -n "$psline"; then
set x `echo "$psline" | sed 's%[<["]%%g'`
shift; shift; shift;
--- ./texk/kpathsea/Makefile.in.orig 2005-03-05 22:06:56.998828120 +0100
+++ ./texk/kpathsea/Makefile.in 2005-03-05 22:09:54.853790056 +0100
@@ -244,7 +244,7 @@
ls -1 *.h \
| grep -v '\(acconfig\|config\|kpathsea\|win32lib\)\.h' \
| sed -e 's,^,#include <kpathsea/,' -e s',$$,>,' >>$@
- touch -r `ls -1t *.h | tail +2 | head -1` $@
+ touch -r `ls -1t *.h | tail -n +2 | head -n -1` $@
always:
.PHONY: always