components/r/patches/03-fix-studio-stdport.patch
changeset 5853 cf951496fb3a
parent 5852 243e80c77b4a
child 5854 a31f17a6ce08
--- a/components/r/patches/03-fix-studio-stdport.patch	Wed Apr 27 00:40:44 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-The /usr/lib/64/R/include/R_ext/Print.h makes the assumption that
-__SUNPRO_CC == stlport which is incorrect in the way we deliver R in
-the version that's in Solaris.
-
-This problem has been reported upstream at:
-https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16767
-
---- R-3.2.3/src/include/R_ext/Print.h.orig	2016-03-16 06:31:42.210416076 -0700
-+++ R-3.2.3/src/include/R_ext/Print.h	2016-03-16 06:52:39.625133958 -0700
-@@ -27,7 +27,7 @@
-    defined in namespace std. */
- # ifdef R_USE_C99_IN_CXX
- #  include <cstdarg>
--#  ifdef __SUNPRO_CC
-+#  if defined(__SUNPRO_CC) && defined(_STLP_VENDOR_CSTD)
- using _STLP_VENDOR_CSTD::va_list;
- #  endif
- # endif