From 4ebaaf6562d0b351b7926832fd9e406d7dceb5d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 11 Feb 2025 09:50:58 -0300 Subject: [PATCH] givaro: update to 4.2.1. --- srcpkgs/givaro/patches/197.patch | 28 ---------------------------- srcpkgs/givaro/patches/218.patch | 23 ----------------------- srcpkgs/givaro/template | 8 ++++---- 3 files changed, 4 insertions(+), 55 deletions(-) delete mode 100644 srcpkgs/givaro/patches/197.patch delete mode 100644 srcpkgs/givaro/patches/218.patch diff --git a/srcpkgs/givaro/patches/197.patch b/srcpkgs/givaro/patches/197.patch deleted file mode 100644 index bafaff3efbd..00000000000 --- a/srcpkgs/givaro/patches/197.patch +++ /dev/null @@ -1,28 +0,0 @@ -From ab3d332508c21daff41fb64a8658cdc7cc74fc47 Mon Sep 17 00:00:00 2001 -From: Cyril Bouvier -Date: Thu, 16 Dec 2021 17:12:25 +0100 -Subject: [PATCH] dom_power argument is now an uint64_t to avoid problem with - 32bit machine - ---- - src/kernel/system/givpower.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/kernel/system/givpower.h b/src/kernel/system/givpower.h -index eb784872..5644264d 100644 ---- a/src/kernel/system/givpower.h -+++ b/src/kernel/system/givpower.h -@@ -71,11 +71,11 @@ namespace Givaro { - - //! dom_power - template -- TT& dom_power(TT& res, const TT& n, long l, const D& F) -+ TT& dom_power(TT& res, const TT& n, uint64_t l, const D& F) - { - if (l == 0) return F.assign(res,F.one) ; - -- unsigned long p = (unsigned long) l ; -+ uint64_t p = l; - bool is_assg = false ; - - TT puiss; F.init(puiss); F.assign(puiss,n) ; diff --git a/srcpkgs/givaro/patches/218.patch b/srcpkgs/givaro/patches/218.patch deleted file mode 100644 index 15178289ca8..00000000000 --- a/srcpkgs/givaro/patches/218.patch +++ /dev/null @@ -1,23 +0,0 @@ -From c7744bb133496cd7ac04688f345646d505e1bf52 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Thu, 19 Jan 2023 09:12:22 -0500 -Subject: [PATCH] Add missing #include 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 -+ - #include - - namespace Givaro { diff --git a/srcpkgs/givaro/template b/srcpkgs/givaro/template index 45f85891e64..5ec3ae47aa9 100644 --- a/srcpkgs/givaro/template +++ b/srcpkgs/givaro/template @@ -1,16 +1,16 @@ # Template file for 'givaro' pkgname=givaro -version=4.2.0 -revision=2 +version=4.2.1 +revision=1 build_style=gnu-configure makedepends="gmpxx-devel" short_desc="C++ library for arithmetic and algebraic computations" maintainer="Gonzalo TornarĂ­a " license="CECILL-B" homepage="https://github.com/linbox-team/givaro" -changelog="https://github.com/linbox-team/givaro/raw/master/ChangeLog" +changelog="https://github.com/linbox-team/givaro/releases" distfiles="https://github.com/linbox-team/givaro/releases/download/v${version}/givaro-${version}.tar.gz" -checksum=865e228812feca971dfb6e776a7bc7ac959cf63ebd52b4f05492730a46e1f189 +checksum=feefb7445842ceb756f8bb13900d975b530551e488a2ae174bda7b636251de43 nocross=yes build_options="native_build"