~ruther/guix-local

ref: e7c097306dea32cece9b2001ffc9918e1076677f guix-local/gnu/packages/patches/r-fix-15899.patch -rw-r--r-- 502 bytes
e7c09730 — Ricardo Wurmus gnu: Add HTSlib. 10 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Without the "extern" keyword external applications linking against R (such as
Shogun, for example) might not be linkable.

See https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15899 for details
about this bug.

--- a/src/include/Rinterface.h	(revision 66251)
+++ b/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 */