components/swig/patches/01-rlang.patch
changeset 5067 f5a839ab21b9
equal deleted inserted replaced
5066:7e7b4d607ab6 5067:f5a839ab21b9
       
     1 Swig bindings for R call fprintf but fail to include stdio.h.
       
     2 
       
     3 Reported upstream as issue #555:
       
     4   https://github.com/swig/swig/issues/555
       
     5 diff -ru swig-3.0.5/Lib/r/rrun.swg swig-3.0.5.new/Lib/r/rrun.swg
       
     6 --- swig-3.0.5/Lib/r/rrun.swg	2015-01-31 09:51:17.000000000 -0800
       
     7 +++ swig-3.0.5/Lib/r/rrun.swg	2015-10-23 14:03:31.679583617 -0700
       
     8 @@ -20,6 +20,7 @@
       
     9  
       
    10  #include <Rdefines.h>
       
    11  #include <Rversion.h>
       
    12 +#include <stdio.h>
       
    13  #include <stdlib.h>
       
    14  #include <assert.h>
       
    15