freebsd-ports/math/rpy/files/patch-src-rpymodule.c
Brendan Fabeny e80e131996 Update math/R to 3.0.1-patched, and adjust dependent ports;
synchronize math/rpy with upstream repository

Reviewed by:	wen
Approved by:	wen, tota
2013-05-28 15:15:05 +00:00

13 lines
267 B
C

--- src/rpymodule.c
+++ src/rpymodule.c
@@ -1772,8 +1772,10 @@ start_events(void)
void r_finalize(void)
{
+#if (R_VERSION < R_Version(2,4,0))
unsigned char buf[1024];
char * tmpdir;
+#endif
R_dot_Last();
R_RunExitFinalizers();