21561982 parfait dies in R
authorRich Burridge <rich.burridge@oracle.com>
Tue, 18 Aug 2015 13:30:09 -0700
changeset 4792 969312f27025
parent 4791 fb9a6b5ef98f
child 4793 24053a14d972
21561982 parfait dies in R
components/r/Makefile
components/r/patches/02-fix-parfait.patch
--- a/components/r/Makefile	Tue Aug 18 12:04:09 2015 -0600
+++ b/components/r/Makefile	Tue Aug 18 13:30:09 2015 -0700
@@ -23,9 +23,6 @@
 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
-# we can't quite run parfait yet (21561982)
-export PARFAIT_BUILD=no
-
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		R
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/r/patches/02-fix-parfait.patch	Tue Aug 18 13:30:09 2015 -0700
@@ -0,0 +1,15 @@
+This problem is still present in the latest version of R and has been
+reported upstream:
+
+  https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16512
+
+--- R-3.2.0/src/library/stats/src/Makefile.in.orig	2015-08-17 13:40:12.041006229 -0700
++++ R-3.2.0/src/library/stats/src/Makefile.in	2015-08-17 13:40:42.269423314 -0700
+@@ -12,6 +12,7 @@
+ R_HOME = $(top_builddir)
+ ## for $(R_HOME)/etc${R_ARCH}/Makeconf
+ R_SHARE_DIR = $(R_HOME)/share
++R_INCLUDE_DIR = $(R_HOME)/include
+ 
+ SOURCES_C = init.c kmeans.c \
+   ansari.c bandwidths.c chisqsim.c d2x2xk.c fexact.c kendall.c ks.c \