summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-16 07:19:54 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-16 07:19:54 +0000
commitb1e45ef5f1e61faca51d6e8fa53d69dd596d08dd (patch)
tree739b9444c5897b6d2ce244c7682f928da04c56b9 /sci-mathematics
parent12c3c12b381ac14ce11e9db42e5a655a162a12fe (diff)
downloadbaldeagleos-repo-b1e45ef5f1e61faca51d6e8fa53d69dd596d08dd.tar.gz
baldeagleos-repo-b1e45ef5f1e61faca51d6e8fa53d69dd596d08dd.tar.xz
baldeagleos-repo-b1e45ef5f1e61faca51d6e8fa53d69dd596d08dd.zip
Adding metadata
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/eclib/eclib-20250627.ebuild11
-rw-r--r--sci-mathematics/eclib/files/eclib-20250627-boost-1.89.patch60
2 files changed, 70 insertions, 1 deletions
diff --git a/sci-mathematics/eclib/eclib-20250627.ebuild b/sci-mathematics/eclib/eclib-20250627.ebuild
index f1f46ce9609a..a0afac15047f 100644
--- a/sci-mathematics/eclib/eclib-20250627.ebuild
+++ b/sci-mathematics/eclib/eclib-20250627.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+inherit autotools
+
DESCRIPTION="Programs for elliptic curves defined over the rational numbers"
HOMEPAGE="https://github.com/JohnCremona/eclib"
SRC_URI="https://github.com/JohnCremona/${PN}/releases/download/${PV}/${P}.tar.bz2"
@@ -22,6 +24,13 @@ RDEPEND="sci-mathematics/pari:=
flint? ( sci-mathematics/flint:= )"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/${P}-boost-1.89.patch" ) # bug 964383
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
$(usex minimal --disable-allprogs "" "" "") \
diff --git a/sci-mathematics/eclib/files/eclib-20250627-boost-1.89.patch b/sci-mathematics/eclib/files/eclib-20250627-boost-1.89.patch
new file mode 100644
index 000000000000..d0e5a94ddf2d
--- /dev/null
+++ b/sci-mathematics/eclib/files/eclib-20250627-boost-1.89.patch
@@ -0,0 +1,60 @@
+From 26a999f39b21f644c6a458cfa51a4786596e760f Mon Sep 17 00:00:00 2001
+From: John Cremona <john.cremona@gmail.com>
+Date: Wed, 22 Oct 2025 14:42:50 +0100
+Subject: [PATCH] Fix build w/ boost-1.89
+
+asturm 2026-01-14:
+This is a combination of upstream git master commits, disregarding changes
+in .gitignore and removal of then unused m4/ax_boost_system.m4:
+
+updated boost configuration
+5918854e6a2d7ad9abfa671034b0ea0ebf7515f0
+
+updated boost configuration again
+0f44970b8cee023ad8f53663c97660e0c3b039ef
+
+updated boost configuration again
+31cb6092cde97a18c9517e5b65ff96ebdf942543
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ configure.ac | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 5b77908..20dd090 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -67,13 +67,17 @@ AX_CXX_COMPILE_STDCXX([17],,mandatory)
+ #
+ # Boost 1.35.0+ required for Asio (1.25.0 for Thread)
+ AX_BOOST_BASE([1.35.0], [
+-AX_BOOST_SYSTEM
++#AX_BOOST_SYSTEM
+ AX_BOOST_ASIO
+ AX_BOOST_THREAD
+ ])
+
+-if [test "$ax_cv_boost_system" = "yes"] &&
+- [test "$ax_cv_boost_asio" = "yes"] &&
++#BOOST_REQUIRE([1.35.0])
++
++#if [test "$boost" = "yes"]; then
++# AC_DEFINE([ECLIB_MULTITHREAD],[1],[Define if multithreading available and requested])
++#fi
++if [test "$ax_cv_boost_asio" = "yes"] &&
+ [test "$ax_cv_boost_thread" = "yes"]; then
+ AC_DEFINE([ECLIB_MULTITHREAD],[1],[Define if multithreading available and requested])
+ fi
+@@ -81,7 +85,7 @@ fi
+ AX_PTHREAD
+
+ # Check for libraries
+-# The following AC_ARG_WITH section were written by Volker Braun
++# The following AC_ARG_WITH section were originally written by Volker Braun
+
+ dnl Find PARI
+ AC_ARG_WITH(pari,
+--
+2.52.0
+