summaryrefslogtreecommitdiffstats
path: root/academic/R/extern.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/R/extern.patch')
-rw-r--r--academic/R/extern.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/R/extern.patch b/academic/R/extern.patch
new file mode 100644
index 0000000000..e1c67945ad
--- /dev/null
+++ b/academic/R/extern.patch
@@ -0,0 +1,12 @@
+--- src/include/Rinterface.h (revision 66251)
++++ src/include/Rinterface.h (working copy)
+@@ -84,7 +84,7 @@
+ void fpu_setup(Rboolean);
+
+ /* in unix/system.c */
+-int R_running_as_main_program;
++extern int R_running_as_main_program;
+
+ #ifdef CSTACK_DEFNS
+ /* duplicating Defn.h */
+