From a8cdcd8beb87ab371a693ce9c1e8615c2be4c8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 5 Mar 2024 17:07:50 -0300 Subject: [PATCH] givaro: patch for gcc 13 --- srcpkgs/givaro/patches/218.patch | 23 +++++++++++++++++++++++ srcpkgs/givaro/template | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/givaro/patches/218.patch diff --git a/srcpkgs/givaro/patches/218.patch b/srcpkgs/givaro/patches/218.patch new file mode 100644 index 00000000000..15178289ca8 --- /dev/null +++ b/srcpkgs/givaro/patches/218.patch @@ -0,0 +1,23 @@ +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 52457c02a1e..45f85891e64 100644 --- a/srcpkgs/givaro/template +++ b/srcpkgs/givaro/template @@ -1,7 +1,7 @@ # Template file for 'givaro' pkgname=givaro version=4.2.0 -revision=1 +revision=2 build_style=gnu-configure makedepends="gmpxx-devel" short_desc="C++ library for arithmetic and algebraic computations"