aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/R-cran-processx/files/patch-src_unix_processx.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/R-cran-processx/files/patch-src_unix_processx.c b/sysutils/R-cran-processx/files/patch-src_unix_processx.c
new file mode 100644
index 000000000000..8102eb1e5cd7
--- /dev/null
+++ b/sysutils/R-cran-processx/files/patch-src_unix_processx.c
@@ -0,0 +1,11 @@
+--- src/unix/processx.c.orig 2021-04-21 01:17:03 UTC
++++ src/unix/processx.c
+@@ -30,6 +30,8 @@ void processx__create_connections(processx_handle_t *h
+ #ifdef WORDS_BIGENDIAN
+ #if (defined(__sun) && defined(__SVR4))
+ #include <sys/byteorder.h>
++#elif defined(__FreeBSD__)
++#include <sys/endian.h>
+ #elif (defined(__APPLE__) && defined(__ppc__) || defined(__ppc64__))
+ #include <libkern/OSByteOrder.h>
+ #define BSWAP_32 OSSwapInt32