# HG changeset patch # User "Yann E. MORIN" # Date 1270591446 -7200 # Node ID b4ce08060b6fe5db0b41eb6601f110bd0e4d2a63 # Parent 2c577664a23d30aec01beefd9a3d13e3a94516a2 complibs/gmp: fix patch against 5.0.1 diff -r 2c577664a23d -r b4ce08060b6f patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch --- a/patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch Thu Apr 01 19:52:54 2010 +0200 +++ b/patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch Wed Apr 07 00:04:06 2010 +0200 @@ -1,3 +1,7 @@ +From: http://gmplib.org:8000/gmp-5.0/raw-rev/794410151f5f + +Tweaked to remove the hunk in the Changelog, as it did not apply cleanly +( and who needs Changelogs? ;-) ) # HG changeset patch # User Torbjorn Granlund @@ -6,18 +10,6 @@ # Parent 948660e2e56d9cfaae035082b8fd473985505fb6 Fix a test case to work for long long limbs. -diff -r 948660e2e56d -r 794410151f5f ChangeLog ---- a/ChangeLog Thu Feb 25 16:08:21 2010 +0100 -+++ b/ChangeLog Thu Feb 25 19:28:52 2010 +0100 -@@ -1,5 +1,8 @@ - 2010-02-25 Torbjorn Granlund - -+ * tests/mpz/t-perfpow.c (check_random): Use mp_limb_t type for limb -+ variables. -+ - * tests/mpn/t-div.c: Cast a switch index to placate HP's cc. - * tests/mpn/t-bdiv.c: Likewise. - diff -r 948660e2e56d -r 794410151f5f tests/mpz/t-perfpow.c --- a/tests/mpz/t-perfpow.c Thu Feb 25 16:08:21 2010 +0100 +++ b/tests/mpz/t-perfpow.c Thu Feb 25 19:28:52 2010 +0100