From f06db753dc3963cfcac357a9155ae07585ce9a9f2705e6c769fb24bd12a183c2 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 19 Aug 2024 21:16:34 +0000 Subject: [PATCH] [info=c0009e685bb3b4638ef28b4bb4d9639b44ad0e59ca41a4eb167376d30c9697e4] OBS-URL: https://build.opensuse.org/package/show/science/givaro?expand=0&rev=29 --- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- gcc14.patch | 20 ++++++++++++++++++++ givaro.changes | 5 +++++ givaro.spec | 1 + 5 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 gcc14.patch diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index ef0b9dd..a2b3b62 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1680018713 -commit: 70ce1eebb3b1cfd803ac75831f6015615436b0fffd220113f7fb78fc7c4d0107 +mtime: 1724102463 +commit: c0009e685bb3b4638ef28b4bb4d9639b44ad0e59ca41a4eb167376d30c9697e4 url: https://src.opensuse.org/jengelh/givaro revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 0292344..85af6fa 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ecb97d430bf487499f9ebb5747bb2113e53dabbd8fba52a11d91cbbb001134b +oid sha256:a6d7e40b79f3eafa698ed969435029c7ccc2b4e885cae2f3681421d630ec5627 size 256 diff --git a/gcc14.patch b/gcc14.patch new file mode 100644 index 0000000..9c93879 --- /dev/null +++ b/gcc14.patch @@ -0,0 +1,20 @@ +References: https://github.com/linbox-team/givaro/issues/226 + +The reference to a singleton element should not be copied. + +--- + src/kernel/integer/random-integer.h | 1 - + 1 file changed, 1 deletion(-) + +Index: givaro-4.2.0/src/kernel/integer/random-integer.h +=================================================================== +--- givaro-4.2.0.orig/src/kernel/integer/random-integer.h ++++ givaro-4.2.0/src/kernel/integer/random-integer.h +@@ -91,7 +91,6 @@ namespace Givaro + if (this != &R) { + _bits = R._bits; + _integer = R._integer; +- const_cast(_ring)=R._ring; + } + return *this; + } diff --git a/givaro.changes b/givaro.changes index da817e3..0e7be42 100644 --- a/givaro.changes +++ b/givaro.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 19 21:14:59 UTC 2024 - Jan Engelhardt + +- Add gcc14.patch + ------------------------------------------------------------------- Tue Mar 28 08:47:39 UTC 2023 - Jan Engelhardt diff --git a/givaro.spec b/givaro.spec index f011d56..1a63970 100644 --- a/givaro.spec +++ b/givaro.spec @@ -29,6 +29,7 @@ URL: https://casys.gricad-pages.univ-grenoble-alpes.fr/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 +Patch3: gcc14.patch # Old doxygen does not properly handle symlink recursion BuildRequires: doxygen >= 1.5.7.1 BuildRequires: fdupes