micropython: Add upstream patch to fix 64-bit builds
authorChris Packham <judge.packham@gmail.com>
Sun, 20 Sep 2015 08:44:35 +0000 (20:44 +1200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Sep 2015 12:26:03 +0000 (14:26 +0200)
commitbccecbe1e65fa8d63251175feea405d6c665ae57
treea8ec1d2ee19a3d0ede35a4cdae4cc7a2c0ed4e71
parent453e1904224591b44041608a48f717f6448fe959
micropython: Add upstream patch to fix 64-bit builds

Fixes the following error when building for a 64-bit target

  ../py/objint_mpz.c:54:5: error: right shift count >= width of type [-Werror]
       (MP_SSIZE_MAX >> MPZ_DIG_SIZE * 4) & DIG_MASK,
       ^
  ../py/objint_mpz.c:54:5: error: initializer element is not constant
  ../py/objint_mpz.c:54:5: error: (near initialization for 'maxsize_dig[4]')

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/micropython/micropython.mk