OpenSDE Packages Database (without history before r20070)
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.

81 lines
2.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../djbdns/head_n.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.orig 2004-11-23 00:29:39.000000000 -0300
  17. +++ ./Makefile 2004-11-23 00:31:09.000000000 -0300
  18. @@ -31,7 +31,7 @@
  19. auto_home.c: \
  20. auto-str conf-home
  21. - ./auto-str auto_home `head -1 conf-home` > auto_home.c
  22. + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
  23. auto_home.o: \
  24. compile auto_home.c
  25. @@ -205,14 +205,14 @@
  26. choose: \
  27. warn-auto.sh choose.sh conf-home
  28. cat warn-auto.sh choose.sh \
  29. - | sed s}HOME}"`head -1 conf-home`"}g \
  30. + | sed s}HOME}"`head -n 1 conf-home`"}g \
  31. > choose
  32. chmod 755 choose
  33. compile: \
  34. warn-auto.sh conf-cc
  35. ( cat warn-auto.sh; \
  36. - echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
  37. + echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \
  38. ) > compile
  39. chmod 755 compile
  40. @@ -445,7 +445,7 @@
  41. dnstracesort: \
  42. warn-auto.sh dnstracesort.sh conf-home
  43. cat warn-auto.sh dnstracesort.sh \
  44. - | sed s}HOME}"`head -1 conf-home`"}g \
  45. + | sed s}HOME}"`head -n 1 conf-home`"}g \
  46. > dnstracesort
  47. chmod 755 dnstracesort
  48. @@ -566,7 +566,7 @@
  49. warn-auto.sh conf-ld
  50. ( cat warn-auto.sh; \
  51. echo 'main="$$1"; shift'; \
  52. - echo exec "`head -1 conf-ld`" \
  53. + echo exec "`head -n 1 conf-ld`" \
  54. '-o "$$main" "$$main".o $${1+"$$@"}' \
  55. ) > load
  56. chmod 755 load
  57. @@ -754,7 +754,7 @@
  58. rts: \
  59. warn-auto.sh rts.sh conf-home
  60. cat warn-auto.sh rts.sh \
  61. - | sed s}HOME}"`head -1 conf-home`"}g \
  62. + | sed s}HOME}"`head -n 1 conf-home`"}g \
  63. > rts
  64. chmod 755 rts
  65. @@ -897,8 +897,8 @@
  66. systype: \
  67. find-systype.sh conf-cc conf-ld trycpp.c x86cpuid.c
  68. ( cat warn-auto.sh; \
  69. - echo CC=\'`head -1 conf-cc`\'; \
  70. - echo LD=\'`head -1 conf-ld`\'; \
  71. + echo CC=\'`head -n 1 conf-cc`\'; \
  72. + echo LD=\'`head -n 1 conf-ld`\'; \
  73. cat find-systype.sh; \
  74. ) | sh > systype