eclib: update to 20240408.

This commit is contained in:
Gonzalo Tornaría 2024-04-09 19:51:09 -03:00 committed by Andrew J. Hesford
parent 84bf875a8a
commit 7a03824b96
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- a/libsrc/interface.cc
+++ b/libsrc/interface.cc
@@ -103,7 +103,7 @@ void Compute_Euler(RR& y)
l = RR::precision();
- x = 1 + static_cast<long>((0.25 * (l - 3)) * (NTL_BITS_PER_LONG * LOG2));
+ x = 1 + static_cast<long>((0.25 * (l - 3)) * (64 * LOG2));
n = 1 + static_cast<long>(3.591 * x);
a=x;

View File

@ -1,7 +1,7 @@
# Template file for 'eclib'
pkgname=eclib
version=20231212
revision=2
version=20240408
revision=1
build_style=gnu-configure
configure_args="--with-flint --with-boost"
makedepends="pari-devel ntl-devel flintlib-devel boost-devel"
@ -11,7 +11,7 @@ license="GPL-2.0-or-later"
homepage="https://github.com/JohnCremona/eclib"
changelog="https://github.com/JohnCremona/eclib/releases"
distfiles="https://github.com/JohnCremona/eclib/releases/download/v${version}/eclib-${version}.tar.bz2"
checksum=32d116a3e359b0de4f6486c2bb6188bb8b553c8b833f618cc2596484e8b6145a
checksum=3ba908e2019de53fcba141449caa6fa82f03605bf83bf9da8092df538adabe7c
eclib-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ntl-devel"