summaryrefslogtreecommitdiff
path: root/math/py-rpy/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-rpy/patches/patch-aa')
-rw-r--r--math/py-rpy/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/py-rpy/patches/patch-aa b/math/py-rpy/patches/patch-aa
new file mode 100644
index 00000000000..f536b904897
--- /dev/null
+++ b/math/py-rpy/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2006/06/20 19:54:14 joerg Exp $
+
+--- rpy_tools.py.orig 2006-06-20 19:22:37.000000000 +0000
++++ rpy_tools.py
+@@ -93,7 +93,7 @@ def get_R_VERSION(RHOME=None, force_exec
+ if stat or len(output)<=0:
+ raise RuntimeError("Couldn't execute the R interpreter" +
+ " `%s'.\n" % rexec )
+- version = re.search("R +([0-9]\.[0-9]\.[0-9])", output)
++ version = re.search("R version +([0-9]\.[0-9]\.[0-9])", output)
+ if not version:
+ raise RuntimeError("Couldn't obtain version number from output\n"
+ "of `R --version'.\n")