Accepting request 1220180 from science

- Add gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1220180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/givaro?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2024-11-02 15:12:18 +00:00 committed by Git OBS Bridge
commit 594d6b982c
5 changed files with 33 additions and 0 deletions

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1724102463
commit: c0009e685bb3b4638ef28b4bb4d9639b44ad0e59ca41a4eb167376d30c9697e4
url: https://src.opensuse.org/jengelh/givaro
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6d7e40b79f3eafa698ed969435029c7ccc2b4e885cae2f3681421d630ec5627
size 256

20
gcc14.patch Normal file
View File

@ -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<Integer_Domain&>(_ring)=R._ring;
}
return *this;
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 19 21:14:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add gcc14.patch
-------------------------------------------------------------------
Tue Mar 28 08:47:39 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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