bash: Split up and order the akaros-patches
[akaros.git] / tools / sys-apps / bash / akaros-patches / 4.3.30 / 0001-config-etc.patch
1 diff -ur bash-4.3.30.dist/configure bash-4.3.30/configure
2 --- bash-4.3.30.dist/configure  2014-02-11 10:38:00.000000000 -0500
3 +++ bash-4.3.30/configure       2016-05-16 23:04:59.481616025 -0400
4 @@ -2853,6 +2853,7 @@
5  sparc-linux*)  opt_bash_malloc=no ;;   # sparc running linux; requires ELF
6  #*-freebsd*-gnu)       opt_bash_malloc=no ;;   # there's some undetermined problem here
7  #*-freebsd*)   opt_bash_malloc=no ;;   # they claim it's better; I disagree
8 +*-akaros*)     opt_bash_malloc=no ;;   # they claim it needs eight-bit alignment
9  *-openbsd*)    opt_bash_malloc=no ;;   # they claim it needs eight-bit alignment
10  *-mirbsd*)     opt_bash_malloc=no ;;   # they claim it needs eight-bit alignment
11  *-aix*)                opt_bash_malloc=no ;;   # AIX machines
12 diff -ur bash-4.3.30.dist/support/config.guess bash-4.3.30/support/config.guess
13 --- bash-4.3.30.dist/support/config.guess       2013-12-16 16:02:33.000000000 -0500
14 +++ bash-4.3.30/support/config.guess    2016-05-16 23:04:12.844336864 -0400
15 @@ -219,6 +219,10 @@
16         UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
17         echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
18         exit ;;
19 +    *:Akaros:*:*)
20 +       UNAME_MACHINE_ARCH=x86_64
21 +       echo x86_64-ucb-akaros1.0
22 +       exit ;;
23      *:OpenBSD:*:*)
24         UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
25         echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
26 diff -ur bash-4.3.30.dist/support/config.sub bash-4.3.30/support/config.sub
27 --- bash-4.3.30.dist/support/config.sub 2013-12-17 10:49:47.000000000 -0500
28 +++ bash-4.3.30/support/config.sub      2016-05-16 23:05:28.906423063 -0400
29 @@ -1356,7 +1356,7 @@
30               | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
31               | -sym* | -kopensolaris* | -plan9* \
32               | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
33 -             | -aos* | -aros* \
34 +             | -akaros* | -aos* | -aros* \
35               | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
36               | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
37               | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \