mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
cc -I"/usr/local/lib/R/include" -DNDEBUG -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -fPIC -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c unix/processx.c -o unix/processx.o unix/processx.c:36:10: fatal error: 'libkern/OSByteOrder.h' file not found
11 lines
430 B
C
11 lines
430 B
C
--- 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
|