bash.patch 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. This patch documents two implemented and classical command
  2. line options "-v" and "-x". It is derived from Debian GNU/Linux.
  3. Index: doc/bash.1
  4. --- doc/bash.1.orig 2006-10-03 14:54:26 +0200
  5. +++ doc/bash.1 2008-03-28 15:28:44 +0100
  6. @@ -116,6 +116,12 @@
  7. This option allows the positional parameters to be set
  8. when invoking an interactive shell.
  9. .TP
  10. +.B \-v
  11. +Print shell input lines as they are read.
  12. +.TP
  13. +.B \-x
  14. +Print commands and their arguments as they are executed.
  15. +.TP
  16. .B \-D
  17. A list of all double-quoted strings preceded by \fB$\fP
  18. is printed on the standard output.
  19. -----------------------------------------------------------------------------
  20. Port to HP-UX 11i and similar less smart platforms.
  21. Index: configure
  22. --- configure.orig 2006-09-26 17:06:01 +0200
  23. +++ configure 2008-03-28 15:28:44 +0100
  24. @@ -1517,6 +1517,7 @@
  25. *-beos*) opt_bash_malloc=no ;; # they say it's suitable
  26. *-cygwin*) opt_bash_malloc=no ;; # Cygnus's CYGWIN environment
  27. *-opennt*|*-interix*) opt_bash_malloc=no ;; # Interix, now owned by Microsoft
  28. +*-hpux*) opt_bash_malloc=no ;; # HP HP-UX
  29. esac
  30. # memory scrambling on free()
  31. @@ -1662,7 +1663,7 @@
  32. else
  33. MALLOC_LIB=
  34. - MALLOC_LIBRARY=
  35. + MALLOC_LIBRARY=dummy
  36. MALLOC_LDFLAGS=
  37. MALLOC_DEP=
  38. fi
  39. Index: syntax.h
  40. --- syntax.h.orig 2006-06-22 19:45:22 +0200
  41. +++ syntax.h 2008-03-28 15:28:44 +0100
  42. @@ -21,6 +21,8 @@
  43. #ifndef _SYNTAX_H_
  44. #define _SYNTAX_H_
  45. +#include "config.h"
  46. +
  47. /* Defines for use by mksyntax.c */
  48. #define slashify_in_quotes "\\`$\"\n"
  49. -----------------------------------------------------------------------------
  50. This adds the OpenPKG packaging brand.
  51. Index: version.c
  52. --- version.c.orig 2005-05-16 17:58:34 +0200
  53. +++ version.c 2008-03-28 15:28:44 +0100
  54. @@ -77,7 +77,7 @@
  55. show_shell_version (extended)
  56. int extended;
  57. {
  58. - printf ("GNU bash, version %s (%s)\n", shell_version_string (), MACHTYPE);
  59. + printf ("GNU bash, version %s (%s) [@l_openpkg_release@]\n", shell_version_string (), MACHTYPE);
  60. if (extended)
  61. printf (_("Copyright (C) 2005 Free Software Foundation, Inc.\n"));
  62. }
  63. -----------------------------------------------------------------------------
  64. Ensure that Autoconf and friends are not run.
  65. Index: Makefile.in
  66. --- Makefile.in.orig 2006-08-17 20:03:35 +0200
  67. +++ Makefile.in 2008-03-28 15:28:44 +0100
  68. @@ -687,7 +687,6 @@
  69. # comment out for distribution
  70. $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
  71. - cd $(srcdir) && autoconf
  72. # for chet
  73. reconfig: force