commit: 8f04fc48bd3e51895a0211691cc38249dee272c3 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Jun 22 21:33:00 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sun Jun 22 22:22:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f04fc48
sci-libs/givaro: drop 4.2.0-r1 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-libs/givaro/Manifest | 1 - .../givaro/files/givaro-4.1.1-fix-pc-libdir.patch | 21 --------- .../givaro-4.2.0-configure.ac-fix-a-bashism.patch | 32 ------------- sci-libs/givaro/files/givaro-4.2.0-cstdint.patch | 46 ------------------ sci-libs/givaro/files/givaro-4.2.0-gcc14.patch | 31 ------------ sci-libs/givaro/files/givaro-4.2.0-gcc15.patch | 26 ---------- sci-libs/givaro/givaro-4.2.0-r1.ebuild | 55 ---------------------- 7 files changed, 212 deletions(-) diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest index f0f5a4c135d8..d1e5ffef66dd 100644 --- a/sci-libs/givaro/Manifest +++ b/sci-libs/givaro/Manifest @@ -1,2 +1 @@ -DIST givaro-4.2.0.tar.gz 969595 BLAKE2B 07c9f08269ee60c06b1589e56ccf61870df6c7cab93fb8ebf27791d9231b153a2da9aed296105fd6dcd52aaa7d27ea03eacd6f2066d29de267455c9ca3747995 SHA512 1a3280563181710d364b77e1efe8c8f52ce3119a08b35f329cfd98136a742431b7e9d102289448d337797f815439682d0cfce1567a5a88d5851b244673a84486 DIST givaro-4.2.1.tar.gz 1036238 BLAKE2B 875ce705a319e4c19b7662cd9e147313924315d49d53d4199d24fe7356859f735b22d73d2694a3a4958a9132493ad9deae60197c80b3249615c716c6212e8cc2 SHA512 120eaf61e820398bd9eb9df325a18241be4563cf654cf244f0a2b8b54347e8ea45da1d61979b0fc527e2f7f238d79ea493216a25c02d9d7e504f7443d05162d4 diff --git a/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch b/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch deleted file mode 100644 index 35a536c04ad8..000000000000 --- a/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch +++ /dev/null @@ -1,21 +0,0 @@ -From f5cbcebd7fcc2b68d6e1e9f1ba3aa53b9ed17b56 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <[email protected]> -Date: Sun, 7 Aug 2022 13:25:24 +1200 -Subject: [PATCH] Fix givaro.pc.in file for issue #200 - ---- - givaro.pc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/givaro.pc.in b/givaro.pc.in -index a4805555..9487ef8c 100644 ---- a/givaro.pc.in -+++ b/givaro.pc.in -@@ -1,6 +1,6 @@ - prefix=@prefix@ - exec_prefix=@prefix@ --libdir=@prefix@/lib -+libdir=@libdir@ - includedir=@prefix@/include - - Name: Givaro diff --git a/sci-libs/givaro/files/givaro-4.2.0-configure.ac-fix-a-bashism.patch b/sci-libs/givaro/files/givaro-4.2.0-configure.ac-fix-a-bashism.patch deleted file mode 100644 index f8d942191040..000000000000 --- a/sci-libs/givaro/files/givaro-4.2.0-configure.ac-fix-a-bashism.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 1132161483e756902c86c190855e260164c025fd Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <[email protected]> -Date: Fri, 9 Feb 2024 16:41:03 -0500 -Subject: [PATCH] configure.ac: fix a bashism - -There's one instance of VAR+=" value" in the configure script, but -that only works in bash. With dash, for example, it results in - - checking whether gmp version is at least 40000... yes - ./configure: 17953: REQUIRED_FLAGS+= : not found - -We change it to a VAR="${VAR} value" instead. ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index b03e5e4d..a94286ac 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -121,7 +121,7 @@ AS_ECHO([---------------------------------------]) - - # Look for GMP and add flags if necessary - GIV_CHECK_GMP(40000) --REQUIRED_FLAGS+=" ${GMP_CFLAGS}" -+REQUIRED_FLAGS="${REQUIRED_FLAGS} ${GMP_CFLAGS}" - - GIV_DOC - --- -2.43.0 - diff --git a/sci-libs/givaro/files/givaro-4.2.0-cstdint.patch b/sci-libs/givaro/files/givaro-4.2.0-cstdint.patch deleted file mode 100644 index 0fc532220da7..000000000000 --- a/sci-libs/givaro/files/givaro-4.2.0-cstdint.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a6b370873e406f9921a50359ed8ebf4714776411 Mon Sep 17 00:00:00 2001 -From: Jean-Guillaume Dumas <[email protected]> -Date: Wed, 11 Oct 2023 14:19:52 +0200 -Subject: [PATCH] cstdint required for uint64_t - ---- - src/kernel/system/givpower.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/kernel/system/givpower.h b/src/kernel/system/givpower.h -index 5644264d..080e114d 100644 ---- a/src/kernel/system/givpower.h -+++ b/src/kernel/system/givpower.h -@@ -16,6 +16,8 @@ - #ifndef __GIVARO_power_H - #define __GIVARO_power_H - -+#include <cstdint> -+ - namespace Givaro { - - // ------------------------------------------------------------- - -From c7744bb133496cd7ac04688f345646d505e1bf52 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" <[email protected]> -Date: Thu, 19 Jan 2023 09:12:22 -0500 -Subject: [PATCH] Add missing #include <cstdint> for (u)int64_t - -Fixes failure to compile on GCC 13. ---- - src/library/poly1/givdegree.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h -index 3753a425..eb85a0dd 100644 ---- a/src/library/poly1/givdegree.h -+++ b/src/library/poly1/givdegree.h -@@ -19,6 +19,8 @@ - #ifndef __GIVARO_poly1degree_H - #define __GIVARO_poly1degree_H - -+#include <cstdint> -+ - #include <iostream> - - namespace Givaro { diff --git a/sci-libs/givaro/files/givaro-4.2.0-gcc14.patch b/sci-libs/givaro/files/givaro-4.2.0-gcc14.patch deleted file mode 100644 index 83d7256abfd5..000000000000 --- a/sci-libs/givaro/files/givaro-4.2.0-gcc14.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 20caba1b549fe46b483f120f8eec6ec4e9f4572d Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" <[email protected]> -Date: Thu, 25 Jan 2024 08:29:17 -0500 -Subject: [PATCH] Temporary GCC 14 workaround -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes https://github.com/linbox-team/givaro/issues/226 “GCC 14: No match -for operator= for Givaro::ZRing<Givaro::Integer>” - -Recommended in -https://github.com/linbox-team/givaro/issues/226#issuecomment-1908853755 ---- - src/kernel/integer/random-integer.h | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/kernel/integer/random-integer.h b/src/kernel/integer/random-integer.h -index f9361d33..ea189a36 100644 ---- a/src/kernel/integer/random-integer.h -+++ b/src/kernel/integer/random-integer.h -@@ -87,7 +87,6 @@ namespace Givaro - if (this != &R) { - _bits = R._bits; - _integer = R._integer; -- const_cast<Integer_Domain&>(_ring)=R._ring; - } - return *this; - } --- -2.43.0 diff --git a/sci-libs/givaro/files/givaro-4.2.0-gcc15.patch b/sci-libs/givaro/files/givaro-4.2.0-gcc15.patch deleted file mode 100644 index ddceae7b22ab..000000000000 --- a/sci-libs/givaro/files/givaro-4.2.0-gcc15.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4d0712be1180f034ac698d944c1cefb3decf351a Mon Sep 17 00:00:00 2001 -From: Doug Torrance <[email protected]> -Date: Thu, 3 Oct 2024 13:26:16 -0400 -Subject: [PATCH] Fix build using GCC 15 - -max is an rint, which doesn't have a "Low" member. But max.Value, -which is an ruint, does. - -Closes: #232 ---- - src/kernel/recint/rfiddling.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/kernel/recint/rfiddling.h b/src/kernel/recint/rfiddling.h -index 3865eb3b..3ea16e91 100644 ---- a/src/kernel/recint/rfiddling.h -+++ b/src/kernel/recint/rfiddling.h -@@ -167,7 +167,7 @@ namespace RecInt - template <size_t K> - inline rint<K> rint<K>::maxFFLAS() { - rint<K> max; -- set_highest_bit(max.Low.Value); -+ set_highest_bit(max.Value.Low.Value); - return max; - } - diff --git a/sci-libs/givaro/givaro-4.2.0-r1.ebuild b/sci-libs/givaro/givaro-4.2.0-r1.ebuild deleted file mode 100644 index 735892f4dd4f..000000000000 --- a/sci-libs/givaro/givaro-4.2.0-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="C++ library for arithmetic and algebraic computations" -HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/" -SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="CeCILL-B" -SLOT="0/9" # soname major -KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - app-text/doxygen[dot] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) -" -DEPEND="dev-libs/gmp:0[cxx(+)]" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog README.md ) - -PATCHES=( - "${FILESDIR}/givaro-4.1.1-fix-pc-libdir.patch" - "${FILESDIR}/${P}-configure.ac-fix-a-bashism.patch" - "${FILESDIR}/${P}-cstdint.patch" - "${FILESDIR}/${P}-gcc14.patch" - "${FILESDIR}/${P}-gcc15.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --with-docdir="/usr/share/doc/${PF}/html" \ - $(use_enable doc) -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -}
