22093091 r-project bindings for swig can prevent graphviz from building
authorShawn Walker <shawn.walker@oracle.com>
Wed, 04 Nov 2015 17:27:39 -0800
changeset 5067 f5a839ab21b9
parent 5066 7e7b4d607ab6
child 5068 04572323827e
22093091 r-project bindings for swig can prevent graphviz from building
components/swig/patches/01-rlang.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/swig/patches/01-rlang.patch	Wed Nov 04 17:27:39 2015 -0800
@@ -0,0 +1,15 @@
+Swig bindings for R call fprintf but fail to include stdio.h.
+
+Reported upstream as issue #555:
+  https://github.com/swig/swig/issues/555
+diff -ru swig-3.0.5/Lib/r/rrun.swg swig-3.0.5.new/Lib/r/rrun.swg
+--- swig-3.0.5/Lib/r/rrun.swg	2015-01-31 09:51:17.000000000 -0800
++++ swig-3.0.5/Lib/r/rrun.swg	2015-10-23 14:03:31.679583617 -0700
[email protected]@ -20,6 +20,7 @@
+ 
+ #include <Rdefines.h>
+ #include <Rversion.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <assert.h>
+