mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
eclib: update to 20240408.
This commit is contained in:
parent
84bf875a8a
commit
7a03824b96
2 changed files with 14 additions and 3 deletions
11
srcpkgs/eclib/patches/fix-32bit-Euler.patch
Normal file
11
srcpkgs/eclib/patches/fix-32bit-Euler.patch
Normal 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;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'eclib'
|
# Template file for 'eclib'
|
||||||
pkgname=eclib
|
pkgname=eclib
|
||||||
version=20231212
|
version=20240408
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-flint --with-boost"
|
configure_args="--with-flint --with-boost"
|
||||||
makedepends="pari-devel ntl-devel flintlib-devel boost-devel"
|
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"
|
homepage="https://github.com/JohnCremona/eclib"
|
||||||
changelog="https://github.com/JohnCremona/eclib/releases"
|
changelog="https://github.com/JohnCremona/eclib/releases"
|
||||||
distfiles="https://github.com/JohnCremona/eclib/releases/download/v${version}/eclib-${version}.tar.bz2"
|
distfiles="https://github.com/JohnCremona/eclib/releases/download/v${version}/eclib-${version}.tar.bz2"
|
||||||
checksum=32d116a3e359b0de4f6486c2bb6188bb8b553c8b833f618cc2596484e8b6145a
|
checksum=3ba908e2019de53fcba141449caa6fa82f03605bf83bf9da8092df538adabe7c
|
||||||
|
|
||||||
eclib-devel_package() {
|
eclib-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} ntl-devel"
|
depends="${sourcepkg}>=${version}_${revision} ntl-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue