summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/rpy/files/rpy-1.0.2-rpymodule-R-2.7.patch')
-rw-r--r--dev-python/rpy/files/rpy-1.0.2-rpymodule-R-2.7.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/rpy/files/rpy-1.0.2-rpymodule-R-2.7.patch b/dev-python/rpy/files/rpy-1.0.2-rpymodule-R-2.7.patch
new file mode 100644
index 000000000000..e7ca42e6b1c0
--- /dev/null
+++ b/dev-python/rpy/files/rpy-1.0.2-rpymodule-R-2.7.patch
@@ -0,0 +1,14 @@
+--- rpy-1.0.2.orig/src/rpymodule.c 2008-04-10 18:49:04.000000000 +0200
++++ rpy-1.0.2/src/rpymodule.c 2008-05-02 14:28:42.000000000 +0200
+@@ -1778,7 +1778,11 @@
+ R_dot_Last();
+ R_RunExitFinalizers();
+ CleanEd();
++#if (R_VERSION >= R_Version(2,7,0))
++ Rf_KillAllDevices();
++#else
+ KillAllDevices();
++#endif
+
+ #if (R_VERSION >= R_Version(2,7,0))
+ R_CleanTempDir();