diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..a2b3b62 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1724102463 +commit: c0009e685bb3b4638ef28b4bb4d9639b44ad0e59ca41a4eb167376d30c9697e4 +url: https://src.opensuse.org/jengelh/givaro +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..85af6fa --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +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