mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
eclib: update to 20241112.
This commit is contained in:
parent
229a20ff03
commit
1aaf66c827
4 changed files with 18 additions and 14 deletions
|
@ -4208,7 +4208,7 @@ libxcvt.so.0 libxcvt-0.1.1_1
|
||||||
libgf2x.so.3 gf2x-1.3.0_1
|
libgf2x.so.3 gf2x-1.3.0_1
|
||||||
libntl.so.44 ntl-11.5.1_1
|
libntl.so.44 ntl-11.5.1_1
|
||||||
libflint.so.19 flintlib-3.1.0_1
|
libflint.so.19 flintlib-3.1.0_1
|
||||||
libec.so.10 eclib-20220621_1
|
libec.so.14 eclib-20241112_1
|
||||||
libsymmetrica.so.2 symmetrica-3.0.1_1
|
libsymmetrica.so.2 symmetrica-3.0.1_1
|
||||||
libLfunction.so.1 lcalc-2.0.4_1
|
libLfunction.so.1 lcalc-2.0.4_1
|
||||||
liblrcalc.so.2 lrcalc-2.1_1
|
liblrcalc.so.2 lrcalc-2.1_1
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- 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;
|
|
15
srcpkgs/eclib/patches/fix-32bit-modrat.patch
Normal file
15
srcpkgs/eclib/patches/fix-32bit-modrat.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
new_modrat is broken on 32 bit, revert to old_modrat
|
||||||
|
|
||||||
|
--- a/libsrc/arith.cc
|
||||||
|
+++ b/libsrc/arith.cc
|
||||||
|
@@ -429,8 +430,8 @@ int new_modrat(long n, long m, long& a, long& b);
|
||||||
|
|
||||||
|
int modrat(long n, long m, long& a, long& b)
|
||||||
|
{
|
||||||
|
- // return old_modrat(n, m, a, b);
|
||||||
|
- return new_modrat(n, m, a, b);
|
||||||
|
+ return old_modrat(n, m, a, b);
|
||||||
|
+ //return new_modrat(n, m, a, b);
|
||||||
|
}
|
||||||
|
|
||||||
|
int old_modrat(long n, long m, long& a, long& b)
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'eclib'
|
# Template file for 'eclib'
|
||||||
pkgname=eclib
|
pkgname=eclib
|
||||||
version=20240408
|
version=20241112
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-flint --with-boost"
|
configure_args="--with-flint --with-boost"
|
||||||
|
@ -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=3ba908e2019de53fcba141449caa6fa82f03605bf83bf9da8092df538adabe7c
|
checksum=30765c27ca1420141f83517897119d0185fea9b31132392170ddae40b060e46f
|
||||||
|
|
||||||
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