Subject: core-updates: r-rcpp fails to build with GCC 5

From: Leo Famulari <[email-masked]>
Date: Wed, 22 Mar 2017 17:20:33 -0400

Is this an appropriate solution?
From 216000bc2d05799f3d68ae1806bb4b2ce6ab0782 Mon Sep 17 00:00:00 2001
From: Leo Famulari <[email-masked]>
Date: Wed, 22 Mar 2017 17:16:58 -0400
Subject: [PATCH] gnu: r-rcpp: Fix build failure with GCC-5.

* gnu/packages/statistics.scm (r-rcpp)[native-inputs]: Add gcc-4.9.
---
 gnu/packages/statistics.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index a90ac2f42..a40633f24 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -822,6 +822,9 @@ Munsell colour system.")
        (sha256
         (base32 "0is1vql1q82g7yakad4skx707ip0fx3rgdwv9a8mi8259gly2qji"))))
     (build-system r-build-system)
+    ;; Fixes 'version `GLIBCXX_3.4.21' not found' build error.
+    (native-inputs
+     `(("gcc-4" ,gcc-4.9)))
     (home-page "http://www.rcpp.org")
     (synopsis "Seamless R and C++ Integration")
     (description
-- 
2.12.0