From d9c20878f5b138442bf14b04d42eb3b303c213b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Balagu=C3=A9=20Guardia?= Date: Wed, 9 May 2018 16:13:22 -0400 Subject: [PATCH] Create R-3.4.2_connections.patch --- R/R-3.4.2_connections.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 R/R-3.4.2_connections.patch diff --git a/R/R-3.4.2_connections.patch b/R/R-3.4.2_connections.patch new file mode 100644 index 0000000..6e9eaba --- /dev/null +++ b/R/R-3.4.2_connections.patch @@ -0,0 +1,13 @@ +--- ../R-3.4.2/src/main/connections.c 2017-09-07 18:15:02.000000000 -0400 ++++ ../R-3.4.2-patched/src/main/connections.c 2017-10-20 16:52:48.397536000 -0400 +@@ -120,7 +120,9 @@ + # include + #endif + +-#define NCONNECTIONS 128 /* snow needs one per slave node */ ++#ifndef NCONNECTIONS ++# define NCONNECTIONS 128 /* snow needs one per slave node */ ++#endif + #define NSINKS 21 + + static Rconnection Connections[NCONNECTIONS];