diff --git a/0001-Add-missing-include-cstdint-for-u-int64_t.patch b/0001-Add-missing-include-cstdint-for-u-int64_t.patch new file mode 100644 index 0000000..ba73164 --- /dev/null +++ b/0001-Add-missing-include-cstdint-for-u-int64_t.patch @@ -0,0 +1,26 @@ +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 { +-- +2.40.0 + diff --git a/givaro.changes b/givaro.changes index e398da9..da817e3 100644 --- a/givaro.changes +++ b/givaro.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 28 08:47:39 UTC 2023 - Jan Engelhardt + +- Add 0001-Add-missing-include-cstdint-for-u-int64_t.patch + ------------------------------------------------------------------- Tue Dec 14 10:39:12 UTC 2021 - Jan Engelhardt diff --git a/givaro.spec b/givaro.spec index 959c4cd..f011d56 100644 --- a/givaro.spec +++ b/givaro.spec @@ -1,7 +1,7 @@ # # spec file for package givaro # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ URL: https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/ #Git-Clone: https://github.com/linbox-team/givaro Source: https://github.com/linbox-team/givaro/releases/download/v%version/%name-%version.tar.gz Patch1: givaro-doc-no-build-time.patch +Patch2: 0001-Add-missing-include-cstdint-for-u-int64_t.patch # Old doxygen does not properly handle symlink recursion BuildRequires: doxygen >= 1.5.7.1 BuildRequires: fdupes