diff --git a/srcpkgs/eclib/patches/fix-test-i686.patch b/srcpkgs/eclib/patches/fix-test-i686.patch new file mode 100644 index 00000000000..60b1fe0ce7d --- /dev/null +++ b/srcpkgs/eclib/patches/fix-test-i686.patch @@ -0,0 +1,20 @@ +--- a/tests/tegros.cc ++++ b/tests/tegros.cc +@@ -45,7 +45,7 @@ + cout << "Q("< 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)), diff --git a/srcpkgs/eclib/template b/srcpkgs/eclib/template index f5c2325d8c8..9273868f02c 100644 --- a/srcpkgs/eclib/template +++ b/srcpkgs/eclib/template @@ -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"