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.

42 lines
1.5 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../dietlibc/patches/pkg_bash.patch
  5. # Copyright (C) 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. The first is a real fix not relying on accidently include and the later
  17. is a fix for cross buliding due f*cked up bash compiling.
  18. - Rene Rebe <rene@exactcode.de>
  19. --- bash-3.1/lib/sh/winsize.c.vanilla 2005-12-31 18:03:04.000000000 +0000
  20. +++ bash-3.1/lib/sh/winsize.c 2005-12-31 18:03:53.000000000 +0000
  21. @@ -29,6 +29,7 @@
  22. #endif
  23. #include <sys/ioctl.h>
  24. +#include <termios.h>
  25. #if !defined (STRUCT_WINSIZE_IN_SYS_IOCTL)
  26. /* For struct winsize on SCO */
  27. --- bash-3.1/config.h.in.vanilla 2005-12-31 18:01:08.000000000 +0000
  28. +++ bash-3.1/config.h.in 2005-12-31 18:01:17.000000000 +0000
  29. @@ -21,6 +21,8 @@
  30. #ifndef _CONFIG_H_
  31. #define _CONFIG_H_
  32. +#define __u_char_defined
  33. +
  34. /* Configuration feature settings controllable by autoconf. */
  35. /* Define JOB_CONTROL if your operating system supports