Backport fix for -fno-common change in gcc 10.
This commit is contained in:
parent
3e6faf7de4
commit
c581618081
|
@ -0,0 +1,41 @@
|
|||
--- pkg/src/convert.c 2019/11/20 08:14:53 319
|
||||
+++ pkg/src/convert.c 2019/12/05 15:40:47 320
|
||||
@@ -6,7 +6,8 @@
|
||||
/* for imax2() */
|
||||
|
||||
#include "Rmpfr_utils.h"
|
||||
+extern
|
||||
#include "Syms.h"
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
--- pkg/src/Ops.c 2019/11/20 08:14:53 319
|
||||
+++ pkg/src/Ops.c 2019/12/05 15:40:47 320
|
||||
@@ -10,6 +10,7 @@
|
||||
/* imax2() */
|
||||
|
||||
#include "Rmpfr_utils.h"
|
||||
+extern
|
||||
#include "Syms.h"
|
||||
|
||||
|
||||
--- pkg/src/Summary.c 2019/11/20 08:14:53 319
|
||||
+++ pkg/src/Summary.c 2019/12/05 15:40:47 320
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
|
||||
#include "Rmpfr_utils.h"
|
||||
+extern
|
||||
#include "Syms.h"
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
--- pkg/src/utils.c 2019/11/20 08:14:53 319
|
||||
+++ pkg/src/utils.c 2019/12/05 15:40:47 320
|
||||
@@ -6,6 +6,7 @@
|
||||
/* imax2() */
|
||||
|
||||
#include "Rmpfr_utils.h"
|
||||
+extern
|
||||
#include "Syms.h"
|
||||
|
||||
//Dbg: #define DEBUG_Rmpfr
|
11
R-Rmpfr.spec
11
R-Rmpfr.spec
|
@ -7,12 +7,14 @@
|
|||
|
||||
Name: R-%{packname}
|
||||
Version: 0.7.2
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: R MPFR - Multiple Precision Floating-Point Reliable
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://CRAN.R-project.org/package=%{packname}
|
||||
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz
|
||||
# https://r-forge.r-project.org/scm/viewvc.php?view=rev&root=rmpfr&revision=320
|
||||
Patch0001: 320.patch
|
||||
|
||||
# Here's the R view of the dependencies world:
|
||||
# Depends: R-gmp >= 0.5-8
|
||||
|
@ -50,6 +52,10 @@ Precision Floating-Point Reliable) Library which itself is based on the
|
|||
%prep
|
||||
%setup -q -c -n %{packname}
|
||||
|
||||
pushd %{packname}
|
||||
%patch0001 -p1
|
||||
popd
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
@ -87,6 +93,9 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Feb 01 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.2-6
|
||||
- Backport fix for -fno-common change
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue