forked from pool/givaro
Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
c0009e685b |
20
gcc14.patch
Normal file
20
gcc14.patch
Normal 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;
|
||||
}
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user