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.

52 lines
1.6 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../checkpassword/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. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.orig 2005-02-23 14:39:41.260995576 -0300
  17. +++ ./Makefile 2005-02-23 14:40:11.397414144 -0300
  18. @@ -22,7 +22,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. @@ -91,7 +91,7 @@
  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. @@ -166,7 +166,7 @@
  34. warn-auto.sh conf-ld
  35. ( cat warn-auto.sh; \
  36. echo 'main="$$1"; shift'; \
  37. - echo exec "`head -1 conf-ld`" \
  38. + echo exec "`head -n 1 conf-ld`" \
  39. '-o "$$main" "$$main".o $${1+"$$@"}' \
  40. ) > load
  41. chmod 755 load
  42. --- ./print-cc.sh.orig 2005-02-23 14:39:48.629875336 -0300
  43. +++ ./print-cc.sh 2005-02-23 14:40:16.423650040 -0300
  44. @@ -1,4 +1,4 @@
  45. -cc="`head -1 conf-cc`"
  46. +cc="`head -n 1 conf-cc`"
  47. systype="`cat systype`"
  48. cat warn-auto.sh