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

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/tetex/head-tail.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./texk/tetex/texconfig.orig 2005-03-05 22:06:53.256397056 +0100
  20. +++ ./texk/tetex/texconfig 2005-03-05 22:08:20.595119552 +0100
  21. @@ -629,7 +629,7 @@
  22. echoLocateBinary kpsewhich updmap fmtutil texconfig tex pdfetex mktexpk dvips dvipdfm
  23. echo
  24. echo '=========================== active config files =========================='
  25. - echoLocateCfgfile texmf.cnf updmap.cfg fmtutil.cnf config.ps mktex.cnf XDvi pdftexconfig.tex config | sort +1
  26. + echoLocateCfgfile texmf.cnf updmap.cfg fmtutil.cnf config.ps mktex.cnf XDvi pdftexconfig.tex config | sort -k2
  27. echo
  28. echo '============================= font map files ============================='
  29. for m in psfonts.map pdftex.map ps2pk.map dvipdfm.map; do
  30. --- ./texk/web2c/etexdir/etex.mk.orig 2005-03-05 22:06:54.163259192 +0100
  31. +++ ./texk/web2c/etexdir/etex.mk 2005-03-05 22:08:29.016839256 +0100
  32. @@ -150,7 +150,7 @@
  33. # Distfiles ...
  34. @MAINT@triptrapdiffs: etexdir/etrip/etrip.diffs
  35. @MAINT@etexdir/etrip/etrip.diffs: etex
  36. -@MAINT@ $(MAKE) etrip | tail +1 >etexdir/etrip/etrip.diffs
  37. +@MAINT@ $(MAKE) etrip | tail -n +1 >etexdir/etrip/etrip.diffs
  38. # Dumps
  39. --- ./texk/web2c/Makefile.in.orig 2005-03-05 22:06:54.745170728 +0100
  40. +++ ./texk/web2c/Makefile.in 2005-03-05 22:08:44.040555304 +0100
  41. @@ -1016,14 +1016,14 @@
  42. @MAINT@
  43. @MAINT@triptrapdiffs: triptrap/trip.diffs triptrap/mftrap.diffs triptrap/mptrap.diffs
  44. @MAINT@triptrap/trip.diffs: tex
  45. -@MAINT@ $(MAKE) trip | tail +1 >triptrap/trip.diffs
  46. +@MAINT@ $(MAKE) trip | tail -n +1 >triptrap/trip.diffs
  47. @MAINT@triptrap/mftrap.diffs: mf
  48. -@MAINT@ $(MAKE) trap | tail +1 >triptrap/mftrap.diffs
  49. +@MAINT@ $(MAKE) trap | tail -n +1 >triptrap/mftrap.diffs
  50. @MAINT@triptrap/mptrap.diffs: mpost
  51. -@MAINT@ $(MAKE) mptrap | tail +1 >triptrap/mptrap.diffs
  52. +@MAINT@ $(MAKE) mptrap | tail -n +1 >triptrap/mptrap.diffs
  53. @MAINT@
  54. @MAINT@tests/check.log: $(programs) $(engines)
  55. -@MAINT@ $(MAKE) check | tail +1 >tests/check.log
  56. +@MAINT@ $(MAKE) check | tail -n +1 >tests/check.log
  57. @MAINT@
  58. @MAINT@dist_subdirs = doc lib mpware tests web2c window
  59. @MAINT@pre-dist-$(distname): depend triptrapdiffs tests/check.log tangleboot.p
  60. --- ./texk/xdvik/xdvizilla.orig 2005-03-05 22:06:55.166106736 +0100
  61. +++ ./texk/xdvik/xdvizilla 2005-03-05 22:08:52.999193384 +0100
  62. @@ -111,7 +111,7 @@
  63. [ -z "$dangerous" ] || do_abort "Tar file contains files with absolute paths or \`../' components,
  64. which may overwrite user files. Not unpacking it."
  65. ### also check for gzipped DVI files inside the archive ...
  66. - out="$TMP_DIR"/`tar tf "$TMP_FILE" | egrep '\.(dvi|dvi.gz|dvi.Z)$' | head -1`
  67. + out="$TMP_DIR"/`tar tf "$TMP_FILE" | egrep '\.(dvi|dvi.gz|dvi.Z)$' | head -n -1`
  68. if [ -z "$out" ]; then
  69. do_abort "Tar file does not contain a dvi file."
  70. else
  71. --- ./texk/libtool.m4.orig 2005-03-05 22:06:55.562046544 +0100
  72. +++ ./texk/libtool.m4 2005-03-05 22:09:21.778818216 +0100
  73. @@ -3360,7 +3360,7 @@
  74. lt_cv_file_magic_cmd='/usr/bin/file -L'
  75. case "$host_os" in
  76. rhapsody* | darwin1.[[012]])
  77. - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  78. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n -1`
  79. ;;
  80. *) # Darwin 1.3 on
  81. lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  82. --- ./texk/configure.orig 2005-03-05 22:06:55.564046240 +0100
  83. +++ ./texk/configure 2005-03-05 22:09:30.154544912 +0100
  84. @@ -2852,7 +2852,7 @@
  85. lt_cv_file_magic_cmd='/usr/bin/file -L'
  86. case "$host_os" in
  87. rhapsody* | darwin1.[012])
  88. - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  89. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n -1`
  90. ;;
  91. *) # Darwin 1.3 on
  92. lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  93. --- ./texk/kpathsea/configure.orig 2005-03-05 22:06:56.009978448 +0100
  94. +++ ./texk/kpathsea/configure 2005-03-05 22:09:36.920516328 +0100
  95. @@ -1831,7 +1831,7 @@
  96. lt_cv_file_magic_cmd='/usr/bin/file -L'
  97. case "$host_os" in
  98. rhapsody* | darwin1.[012])
  99. - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  100. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n -1`
  101. ;;
  102. *) # Darwin 1.3 on
  103. lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  104. --- ./texk/kpathsea/mktexpk.orig 2005-03-05 22:06:56.510902296 +0100
  105. +++ ./texk/kpathsea/mktexpk 2005-03-05 22:09:44.460370096 +0100
  106. @@ -145,7 +145,7 @@
  107. # rpplr (the original) or pplr0 (an interim step) or pplr8r (current).
  108. : ${PSMAPFILE=`kpsewhich --format=map psfonts.map ps2pk.map`}
  109. pattern="^$NAME"'([ ]|$)'
  110. - psline=`egrep "$pattern" $PSMAPFILE | tail -1`
  111. + psline=`egrep "$pattern" $PSMAPFILE | tail -n -1`
  112. if test -n "$psline"; then
  113. set x `echo "$psline" | sed 's%[<["]%%g'`
  114. shift; shift; shift;
  115. --- ./texk/kpathsea/Makefile.in.orig 2005-03-05 22:06:56.998828120 +0100
  116. +++ ./texk/kpathsea/Makefile.in 2005-03-05 22:09:54.853790056 +0100
  117. @@ -244,7 +244,7 @@
  118. ls -1 *.h \
  119. | grep -v '\(acconfig\|config\|kpathsea\|win32lib\)\.h' \
  120. | sed -e 's,^,#include <kpathsea/,' -e s',$$,>,' >>$@
  121. - touch -r `ls -1t *.h | tail +2 | head -1` $@
  122. + touch -r `ls -1t *.h | tail -n +2 | head -n -1` $@
  123. always:
  124. .PHONY: always