diff options
author | Alexey Neyman <stilor@att.net> | 2017-08-19 19:43:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 19:43:51 (GMT) |
commit | 434c205e89f9d4e06d0210ae8504fb6a88a11d00 (patch) | |
tree | 5c381b037991f0ef5a46bf539e83122894c84887 /packages/gmp/4.3.0 | |
parent | 73e8b0b228e29f6cac1b186cbcb7e3d1a47711ac (diff) | |
parent | d26dc5d5f5509232e7bd162baa70697c86307079 (diff) |
Merge pull request #803 from stilor/upgrades
Various package upgrades
Diffstat (limited to 'packages/gmp/4.3.0')
-rw-r--r-- | packages/gmp/4.3.0/100-multiplicity-that-does-not-fit-an-int.patch | 33 | ||||
-rw-r--r-- | packages/gmp/4.3.0/110-unbounded-alloc.patch | 31 | ||||
-rw-r--r-- | packages/gmp/4.3.0/version.desc | 1 |
3 files changed, 0 insertions, 65 deletions
diff --git a/packages/gmp/4.3.0/100-multiplicity-that-does-not-fit-an-int.patch b/packages/gmp/4.3.0/100-multiplicity-that-does-not-fit-an-int.patch deleted file mode 100644 index f60e88f..0000000 --- a/packages/gmp/4.3.0/100-multiplicity-that-does-not-fit-an-int.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/mpz/remove.c b/mpz/remove.c ---- a/mpz/remove.c -+++ b/mpz/remove.c -@@ -23,7 +23,7 @@ - unsigned long int - mpz_remove (mpz_ptr dest, mpz_srcptr src, mpz_srcptr f) - { -- mpz_t fpow[40]; /* inexhaustible...until year 2020 or so */ -+ mpz_t fpow[GMP_LIMB_BITS]; /* Really MP_SIZE_T_BITS */ - mpz_t x, rem; - unsigned long int pwr; - int p; -@@ -69,7 +69,7 @@ - mpz_set (dest, x); - } - -- pwr = (1 << p) - 1; -+ pwr = (1L << p) - 1; - - mpz_clear (fpow[p]); - -diff --git a/mpz/remove.c b/mpz/remove.c ---- a/mpz/remove.c -+++ b/mpz/remove.c -@@ -80,7 +80,7 @@ - mpz_tdiv_qr (x, rem, dest, fpow[p]); - if (SIZ (rem) == 0) - { -- pwr += 1 << p; -+ pwr += 1L << p; - mpz_set (dest, x); - } - mpz_clear (fpow[p]); diff --git a/packages/gmp/4.3.0/110-unbounded-alloc.patch b/packages/gmp/4.3.0/110-unbounded-alloc.patch deleted file mode 100644 index 78e0588..0000000 --- a/packages/gmp/4.3.0/110-unbounded-alloc.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/mpn/generic/toom44_mul.c b/mpn/generic/toom44_mul.c ---- a/mpn/generic/toom44_mul.c -+++ b/mpn/generic/toom44_mul.c -@@ -116,17 +116,16 @@ - - TMP_MARK; - -- as1 = TMP_SALLOC_LIMBS (n + 1); -- asm1 = TMP_SALLOC_LIMBS (n + 1); -- as2 = TMP_SALLOC_LIMBS (n + 1); -- ash = TMP_SALLOC_LIMBS (n + 1); -- asmh = TMP_SALLOC_LIMBS (n + 1); -- -- bs1 = TMP_SALLOC_LIMBS (n + 1); -- bsm1 = TMP_SALLOC_LIMBS (n + 1); -- bs2 = TMP_SALLOC_LIMBS (n + 1); -- bsh = TMP_SALLOC_LIMBS (n + 1); -- bsmh = TMP_SALLOC_LIMBS (n + 1); -+ as1 = TMP_ALLOC_LIMBS (10 * n + 10); -+ asm1 = as1 + n + 1; -+ as2 = asm1 + n + 1; -+ ash = as2 + n + 1; -+ asmh = ash + n + 1; -+ bs1 = asmh + n + 1; -+ bsm1 = bs1 + n + 1; -+ bs2 = bsm1 + n + 1; -+ bsh = bs2 + n + 1; -+ bsmh = bsh + n + 1; - - gp = pp; - hp = pp + n + 1; diff --git a/packages/gmp/4.3.0/version.desc b/packages/gmp/4.3.0/version.desc deleted file mode 100644 index fcfe389..0000000 --- a/packages/gmp/4.3.0/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' |