]> git.draconx.ca Git - homepage.git/blob - content/archive/cdecl99/cdecl99-1.3-bash5-fix.patch
cdecl99-1.3 bash-5 hotfix
[homepage.git] / content / archive / cdecl99 / cdecl99-1.3-bash5-fix.patch
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3 NotDashEscaped: You need gpg to verify this message
4
5 The configure script included with the cdecl99-1.3 release fails on
6 bash-5 due to a parser bug in this shell.  On affected systems, a
7 message similar to the following may be seen when running configure:
8
9   ./configure: line 6631: syntax error near unexpected token `do'
10   ./configure: line 6631: `do'
11
12 You can work around the problem by setting the CONFIG_SHELL environment
13 variable to some other shell before running configure; otherwise you can
14 apply this patch file with a command such as:
15
16   % cd cdecl99-1.3
17   % patch -p1 <cdecl99-1.3-bash5-fix.patch
18
19 *** cdecl99-1.3.orig/configure
20 --- cdecl99-1.3/configure
21 ***************
22 *** 6626,6633 ****
23     $as_echo_n "(cached) " >&6
24   else
25     dx_cv_have_alignas=no
26 ! for _dx_alignas
27 ! in '_Alignas(X)' '__attribute__((__aligned__(X)))' '__declspec(align(X))'
28   do
29   if ac_fn_c_compute_int "$LINENO" "sizeof (struct { char a; char ALIGNAS_TEST(4) b; }) >= 8" "_dx_tmp"        "#include <stddef.h>
30   #define ALIGNAS_TEST(X) $_dx_alignas
31 --- 6626,6632 ----
32     $as_echo_n "(cached) " >&6
33   else
34     dx_cv_have_alignas=no
35 ! for _dx_alignas in '_Alignas(X)' '__attribute__((__aligned__(X)))' '__declspec(align(X))'
36   do
37   if ac_fn_c_compute_int "$LINENO" "sizeof (struct { char a; char ALIGNAS_TEST(4) b; }) >= 8" "_dx_tmp"        "#include <stddef.h>
38   #define ALIGNAS_TEST(X) $_dx_alignas
39 -----BEGIN PGP SIGNATURE-----
40
41 iQEzBAEBCAAdFiEEJagcgrvBtB9dtMuDW0XT0YW44fYFAmYfNBUACgkQW0XT0YW4
42 4famBQf9GhDZJGOvrkDB5dGWwieXqFCWXJBbATVbY8JmY5wJupke5MqvDEQJ3tBr
43 A2YIcQZ67+KjA2LwWTTQhQgKkveQs1HWFdTDrHnhTm4dF4jZdlxwVK3K3kHCcref
44 uW+vl/6C9YkKcVcbf8OeHT4JVgYv2h7XRKW69XIB6lchdMc6rGNeStuCHyuGKYWG
45 7n3WH9bA5OBPmPAd6yUPmU4urWBHjZwxyTaFBYBO7T+9R3Q4KvvyzCfxt1JxTUPS
46 SmiQC1B0gg16/N2XJzCmnBsaVXSHdsvt8UrZeIZyWipejqtb2UR1MVnVToz/83NO
47 gh5tyhxXnYiQgRqd2/uRg9z+GzziDw==
48 =/RXF
49 -----END PGP SIGNATURE-----