summaryrefslogtreecommitdiffstats
path: root/academic/R/extern.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-17 15:58:14 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-17 15:58:14 +0700
commit45e97bb0e4ab838a33ab8460b4f5c1b439c03eb6 (patch)
tree75e5c4c5888f5fee5f73c67b0acf84aff726366c /academic/R/extern.patch
parent8757e30fa6033da9fc8a225abcbbc0db15bf2dcc (diff)
downloadslackbuilds-45e97bb0e4ab838a33ab8460b4f5c1b439c03eb6.tar.gz
slackbuilds-45e97bb0e4ab838a33ab8460b4f5c1b439c03eb6.tar.xz
academic/R: Add patch.
This will enable rstudio-desktop to be built. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-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 */
+