mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 18:42:58 +02:00
eclib: update to 20250627.
This commit is contained in:
parent
990368c5d5
commit
58d8f90a18
2 changed files with 23 additions and 3 deletions
20
srcpkgs/eclib/patches/fix-test-i686.patch
Normal file
20
srcpkgs/eclib/patches/fix-test-i686.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/tests/tegros.cc
|
||||
+++ b/tests/tegros.cc
|
||||
@@ -45,7 +45,7 @@
|
||||
cout << "Q("<<S5<<", 6) has "<<Q_S5_6.size() << " elements (should be "<<2*pow(6,S5.size())<<")\n";
|
||||
cout<<endl;
|
||||
|
||||
- bigrational j(bigint(272223782641), bigint(164025));
|
||||
+ bigrational j(to_ZZ("272223782641"), bigint(164025));
|
||||
cout<<"Curves with good reduction outside "<<S5<<" and j = "<<j;
|
||||
if (is_j_possible(j,S5))
|
||||
cout <<" do exist"<<endl;
|
||||
@@ -66,7 +66,7 @@
|
||||
cout << "Elliptic curves with conductor a power of 11, from their known j-invariants" << endl;
|
||||
vector<bigrational> j11 = {
|
||||
bigrational(bigint(-122023936), bigint(161051)),
|
||||
- bigrational(bigint(-52893159101157376), bigint(11)),
|
||||
+ bigrational(to_ZZ("-52893159101157376"), bigint(11)),
|
||||
bigrational(bigint(-4096), bigint(11)),
|
||||
bigrational(bigint(-121)),
|
||||
bigrational(bigint(-32768)),
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'eclib'
|
||||
pkgname=eclib
|
||||
version=20250122
|
||||
revision=3
|
||||
version=20250627
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-flint --with-boost"
|
||||
makedepends="pari-devel ntl-devel flintlib-devel boost-devel-minimal
|
||||
|
@ -12,7 +12,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/${version}/eclib-${version}.tar.bz2"
|
||||
checksum=9f8c2b32e24a4f20d7cc2d336ea30c8ea03b5b0953c2d32adda0c496e7616899
|
||||
checksum=b88d4b52612e491c5415946d9e35f2062ca1015ee7fbbe0b61f158fa74cb4bc9
|
||||
|
||||
eclib-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ntl-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue