qtools-0.56-head.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. diff -ur qtools-0.56/Makefile ../../qtools-0.56.patched/Makefile
  2. --- qtools-0.56/Makefile 2001-11-08 14:07:57.000000000 +0100
  3. +++ ../../qtools-0.56.patched/Makefile 2005-06-29 00:44:05.000000000 +0200
  4. @@ -13,7 +13,7 @@
  5. load: warn-auto.sh conf-ld
  6. ( cat warn-auto.sh; \
  7. echo 'main="$$1"; shift'; \
  8. - echo exec "`head -1 conf-ld`" \
  9. + echo exec "`head -n 1 conf-ld`" \
  10. '-o "$$main" "$$main".o $${1+"$$@"}' \
  11. ) > load
  12. chmod 755 load
  13. @@ -27,7 +27,7 @@
  14. compile: warn-auto.sh conf-cc
  15. ( cat warn-auto.sh; \
  16. - echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
  17. + echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \
  18. ) > compile
  19. chmod 755 compile
  20. @@ -57,8 +57,8 @@
  21. systype: find-systype.sh conf-cc conf-ld trycpp.c x86cpuid.c
  22. ( cat warn-auto.sh; \
  23. - echo CC=\'`head -1 conf-cc`\'; \
  24. - echo LD=\'`head -1 conf-ld`\'; \
  25. + echo CC=\'`head -n 1 conf-cc`\'; \
  26. + echo LD=\'`head -n 1 conf-ld`\'; \
  27. cat find-systype.sh; \
  28. ) | sh > systype
  29. @@ -379,7 +379,7 @@
  30. choose: warn-auto.sh choose.sh conf-home
  31. cat warn-auto.sh choose.sh \
  32. - | sed s}HOME}"`head -1 conf-home`"}g \
  33. + | sed s}HOME}"`head -n 1 conf-home`"}g \
  34. > choose
  35. chmod 755 choose
  36. @@ -529,7 +529,7 @@
  37. ./compile checkdomain.c
  38. auto_qmail.c: auto-str conf-qmail
  39. - ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
  40. + ./auto-str auto_qmail `head -n 1 conf-qmail` > auto_qmail.c
  41. filterto.o: compile \
  42. filterto.c \
  43. @@ -660,7 +660,7 @@
  44. rts: warn-auto.sh rts.sh conf-home
  45. cat warn-auto.sh rts.sh \
  46. - | sed s}HOME}"`head -1 conf-home`"}g \
  47. + | sed s}HOME}"`head -n 1 conf-home`"}g \
  48. > rts
  49. chmod 755 rts
  50. @@ -715,14 +715,14 @@
  51. ./compile auto_ezmlm.c
  52. auto_ezmlm.c: auto-str conf-ezmlm
  53. - ./auto-str auto_ezmlm `head -1 conf-ezmlm` > auto_ezmlm.c
  54. + ./auto-str auto_ezmlm `head -n 1 conf-ezmlm` > auto_ezmlm.c
  55. auto_home.o: compile \
  56. auto_home.c
  57. ./compile auto_home.c
  58. auto_home.c: auto-str conf-home
  59. - ./auto-str auto_home `head -1 conf-home` > auto_home.c
  60. + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
  61. install: load install.o hier.o auto_home.o stralloc.a alloc.a strerr.a \
  62. buffer.a open.a error.a str.a