1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../bash/compile.patch.dietlibc
5 # Copyright (C) 2016 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
15 # --- T2-COPYRIGHT-NOTE-END ---
18 The first is a real fix not relying on accidently include and the later
19 is a fix for cross buliding due f*cked up bash compiling.
21 - Rene Rebe <rene@exactcode.de>
23 --- bash-3.1/lib/sh/winsize.c.vanilla 2005-12-31 18:03:04.000000000 +0000
24 +++ bash-3.1/lib/sh/winsize.c 2005-12-31 18:03:53.000000000 +0000
28 #include <sys/ioctl.h>
31 #if !defined (STRUCT_WINSIZE_IN_SYS_IOCTL)
32 /* For struct winsize on SCO */
33 --- bash-3.1/config.h.in.vanilla 2005-12-31 18:01:08.000000000 +0000
34 +++ bash-3.1/config.h.in 2005-12-31 18:01:17.000000000 +0000
39 +#define __u_char_defined
41 /* Configuration feature settings controllable by autoconf. */
43 /* Define JOB_CONTROL if your operating system supports