[arch-commits] Commit in arb/trunk (PKGBUILD arb-flint-2.5.2.patch)
Antonio Rojas
arojas at archlinux.org
Mon Jul 10 19:49:44 UTC 2017
Date: Monday, July 10, 2017 @ 19:49:43
Author: arojas
Revision: 243783
Update to 2.11.1
Modified:
arb/trunk/PKGBUILD
Deleted:
arb/trunk/arb-flint-2.5.2.patch
-----------------------+
PKGBUILD | 15 ++++-----------
arb-flint-2.5.2.patch | 22 ----------------------
2 files changed, 4 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-10 19:45:13 UTC (rev 243782)
+++ PKGBUILD 2017-07-10 19:49:43 UTC (rev 243783)
@@ -2,23 +2,16 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=arb
-pkgver=2.11.0
-pkgrel=2
+pkgver=2.11.1
+pkgrel=1
pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
arch=(i686 x86_64)
url="http://fredrikj.net/arb/"
license=(GPL)
depends=(flint)
-source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz" arb-flint-2.5.2.patch)
-sha256sums=('1191c81074019ed1a8552fbb765709b863f62345d6d4bf204c1cf8a506506ba4'
- '9956c5340e4925c806c549f132edc04ccb466bd2336c3e6f86f14ec5d3b869a0')
+source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz")
+sha256sums=('de37f008fd154bd4b9c3fd7f5b0f13928cd109358d01959a98245fe33d08bf63')
-prepare() {
- cd $pkgname-$pkgver
-# Fix build with flind 2.5.2
- patch -p1 -i ../arb-flint-2.5.2.patch
-}
-
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
Deleted: arb-flint-2.5.2.patch
===================================================================
--- arb-flint-2.5.2.patch 2017-07-10 19:45:13 UTC (rev 243782)
+++ arb-flint-2.5.2.patch 2017-07-10 19:49:43 UTC (rev 243783)
@@ -1,22 +0,0 @@
-diff --git a/arb_fmpz_poly/gauss_period_minpoly.c b/arb_fmpz_poly/gauss_period_minpoly.c
-index 3ce304aa..2fba47ea 100644
---- a/arb_fmpz_poly/gauss_period_minpoly.c
-+++ b/arb_fmpz_poly/gauss_period_minpoly.c
-@@ -87,7 +87,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
- {
- for (e = 0; e < d / 2; e++)
- {
-- acb_dirichlet_root(t, zeta, n_mulmod2(gk, es[e], 2 * q), prec);
-+ acb_dirichlet_root(t, zeta, n_mulmod2_preinv(gk, es[e], 2 * q, n_preinvert_limb(2 * q)), prec);
- acb_mul_2exp_si(t, t, 1); /* compute conjugates */
- acb_add(u, u, t, prec);
- }
-@@ -98,7 +98,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
- {
- for (e = 0; e < d; e++)
- {
-- acb_dirichlet_root(t, zeta, n_mulmod2(gk, es[e], 2 * q), prec);
-+ acb_dirichlet_root(t, zeta, n_mulmod2_preinv(gk, es[e], 2 * q, n_preinvert_limb(2 * q)), prec);
- acb_add(u, u, t, prec);
- }
-
More information about the arch-commits
mailing list