[package] rtorrent: update to 0.9.3-git
[openwrt/svn-archive/archive.git] / utils / mksh / patches / 000-debian_build_fix.patch
1 This patch is a backport of the fix proposed at:
2 https://bugs.launchpad.net/ubuntu/+source/mksh/+bug/1058035
3
4 diff -urN mksh/Build.sh mksh.new/Build.sh
5 --- mksh/Build.sh 2012-12-11 14:28:56.632807230 +0100
6 +++ mksh.new/Build.sh 2012-12-11 14:35:23.704817141 +0100
7 @@ -1530,9 +1530,11 @@
8 /* but the next three are; we REQUIRE signed integer wraparound */
9 cta(ari_is_signed, (mksh_ari_t)-1 < (mksh_ari_t)0);
10 cta(ari_has_31_bit, 0 < (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1));
11 +#if !defined(MKSH_GCC565048)
12 cta(ari_sign_32_bit_and_wrap,
13 (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1) >
14 (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 2));
15 +#endif
16 /* the next assertion is probably not really needed */
17 cta(uari_is_4_char, sizeof(mksh_uari_t) == 4);
18 /* but the next four are; we REQUIRE unsigned integer wraparound */