diff --git a/320.patch b/320.patch new file mode 100644 index 0000000..5838476 --- /dev/null +++ b/320.patch @@ -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 diff --git a/R-Rmpfr.spec b/R-Rmpfr.spec index 1d91878..5f30110 100644 --- a/R-Rmpfr.spec +++ b/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 - 0.7.2-6 +- Backport fix for -fno-common change + * Tue Jan 28 2020 Fedora Release Engineering - 0.7.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild