summaryrefslogtreecommitdiff
path: root/math/rpy/files/patch-src-RPy.h
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2013-05-28 15:15:05 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2013-05-28 15:15:05 +0000
commite80e13199698384004812ef82084507a63c6db49 (patch)
tree415589d9c68c0b0770aa00cfd4495ce30df83a29 /math/rpy/files/patch-src-RPy.h
parent- Try again to fix the UPDATING entry for ruby. Thanks to bdrewery for the help. (diff)
Update math/R to 3.0.1-patched, and adjust dependent ports;
synchronize math/rpy with upstream repository Reviewed by: wen Approved by: wen, tota
Notes
Notes: svn path=/head/; revision=319316
Diffstat (limited to 'math/rpy/files/patch-src-RPy.h')
-rw-r--r--math/rpy/files/patch-src-RPy.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/math/rpy/files/patch-src-RPy.h b/math/rpy/files/patch-src-RPy.h
index 333d43f91776..a795ee3d31c1 100644
--- a/math/rpy/files/patch-src-RPy.h
+++ b/math/rpy/files/patch-src-RPy.h
@@ -1,6 +1,20 @@
---- src/RPy.h.orig 2008-12-17 16:53:19.000000000 +0800
-+++ src/RPy.h 2008-12-17 16:53:35.000000000 +0800
-@@ -74,7 +74,7 @@
+--- src/RPy.h
++++ src/RPy.h
+@@ -52,6 +52,13 @@
+ #include <Rdefines.h>
+ #include <Rinternals.h>
+ #include <Rversion.h>
++
++#if (R_VERSION >= R_Version(2,4,0))
++#include <Rembedded.h>
++#endif
++
++
++
+ #undef _POSIX_C_SOURCE
+ #include <Python.h>
+ #include <R_ext/Rdynload.h>
+@@ -74,7 +81,7 @@
# endif
#endif /* _WIN32 */
@@ -9,3 +23,5 @@
/* Missing definitions from Rinterface.h or RStartup.h */
+diff --git src/io.c src/io.c
+index 6c7c31d..cb10259 100644