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.

75 lines
2.5 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/stefanp/ncp/head-tail.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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. The usual deprecated options ...
  20. - Rene Rebe <rene@rocklinux.org>
  21. --- ./Makefile.vanilla 2004-05-17 00:09:17.661888280 +0200
  22. +++ ./Makefile 2004-05-17 00:11:00.021327280 +0200
  23. @@ -99,14 +99,14 @@
  24. compile: \
  25. warn-auto.sh conf-cc
  26. ( cat warn-auto.sh; \
  27. - echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
  28. + echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \
  29. ) > compile
  30. chmod 755 compile
  31. preprocess: \
  32. warn-auto.sh conf-cc
  33. ( cat warn-auto.sh; \
  34. - echo exec "`head -1 conf-cc`" '-E $${1+"$$@"}' \
  35. + echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \
  36. ) > preprocess
  37. chmod 755 preprocess
  38. @@ -114,7 +114,7 @@
  39. warn-auto.sh conf-ld
  40. ( cat warn-auto.sh; \
  41. echo 'main="$$1"; shift'; \
  42. - echo exec "`head -1 conf-ld`" \
  43. + echo exec "`head -n 1 conf-ld`" \
  44. '-o "$$main" "$$main".o $${1+"$$@"}' \
  45. ) > load
  46. chmod 755 load
  47. @@ -131,11 +131,11 @@
  48. uint32.h: \
  49. preprocess tryulong.c uint32.h1 uint32.h2
  50. - if test `./preprocess tryulong.c | tail -1` = 32; then cat uint32.h2; else cat uint32.h1; fi > uint32.h
  51. + if test `./preprocess tryulong.c | tail -n 1` = 32; then cat uint32.h2; else cat uint32.h1; fi > uint32.h
  52. uint64.h: \
  53. preprocess tryulong.c uint64.h1 uint64.h2
  54. - if test `./preprocess tryulong.c | tail -1` = 64; then cat uint64.h2; else cat uint64.h1; fi > uint64.h
  55. + if test `./preprocess tryulong.c | tail -n 1` = 64; then cat uint64.h2; else cat uint64.h1; fi > uint64.h
  56. haveip6.h: \
  57. tryip6.c choose compile haveip6.h1 haveip6.h2
  58. @@ -182,7 +182,7 @@
  59. auto_home.c: \
  60. auto-str conf-home
  61. - ./auto-str auto_home `head -1 conf-home` > auto_home.c
  62. + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
  63. # automatically generated dependancies follow
  64. alloc.o: \