mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -04:00
Correct build failure with rawhide gcc
This commit is contained in:
parent
516b64a30e
commit
a0139217a1
2 changed files with 19 additions and 0 deletions
14
sagemath-polybori.patch
Normal file
14
sagemath-polybori.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
diff -up src/sage/libs/polybori/decl.pxd.orig src/sage/libs/polybori/decl.pxd
|
||||||
|
--- src/sage/libs/polybori/decl.pxd.orig 2015-09-06 21:05:55.575916057 -0300
|
||||||
|
+++ src/sage/libs/polybori/decl.pxd 2015-09-06 21:05:57.745916140 -0300
|
||||||
|
@@ -12,8 +12,8 @@ cdef extern from "pb_wrap.h":
|
||||||
|
pbdp_asc "CTypes::dp_asc"
|
||||||
|
pbblock_dlex "CTypes::block_dlex"
|
||||||
|
pbblock_dp_asc "CTypes::block_dp_asc"
|
||||||
|
- pbdp "17"
|
||||||
|
- pbblock_dp "19"
|
||||||
|
+ pbdp "(polybori::COrderEnums::ordercodes)17"
|
||||||
|
+ pbblock_dp "(polybori::COrderEnums::ordercodes)19"
|
||||||
|
|
||||||
|
cdef enum comparecodes "CCompareEnums::comparecodes":
|
||||||
|
less_than "CTypes::less_than"
|
|
@ -158,6 +158,10 @@ Patch26: %{name}-ntl9.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1243590
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1243590
|
||||||
Patch27: %{name}-qepcad.patch
|
Patch27: %{name}-qepcad.patch
|
||||||
|
|
||||||
|
# Temporary correction for invalid conversion from
|
||||||
|
# 'int' to 'polybori::COrderEnums::ordercodes'
|
||||||
|
Patch28: %{name}-polybori.patch
|
||||||
|
|
||||||
BuildRequires: 4ti2
|
BuildRequires: 4ti2
|
||||||
BuildRequires: atlas-devel
|
BuildRequires: atlas-devel
|
||||||
BuildRequires: cddlib-tools
|
BuildRequires: cddlib-tools
|
||||||
|
@ -645,6 +649,7 @@ popd
|
||||||
%endif
|
%endif
|
||||||
%patch26
|
%patch26
|
||||||
%patch27
|
%patch27
|
||||||
|
%patch28
|
||||||
|
|
||||||
sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
|
sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
|
||||||
-e 's|@@SAGE_DOC@@|%{SAGE_DOC}|' \
|
-e 's|@@SAGE_DOC@@|%{SAGE_DOC}|' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue