From owner-dev-commits-ports-all@freebsd.org Wed Apr 21 01:22:17 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34C8E5F05D3; Wed, 21 Apr 2021 01:22:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQ2pd0p2Wz4RPy; Wed, 21 Apr 2021 01:22:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E3701CEF3; Wed, 21 Apr 2021 01:22:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13L1MG3Q097703; Wed, 21 Apr 2021 01:22:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13L1MG0P097702; Wed, 21 Apr 2021 01:22:16 GMT (envelope-from git) Date: Wed, 21 Apr 2021 01:22:16 GMT Message-Id: <202104210122.13L1MG0P097702@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: d9db2548a52a - main - sysutils/R-cran-processx: fix build on big-endian MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d9db2548a52a00a1f296a1a3c33eb606b3fad68b Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2021 01:22:17 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9db2548a52a00a1f296a1a3c33eb606b3fad68b commit d9db2548a52a00a1f296a1a3c33eb606b3fad68b Author: Piotr Kubaj AuthorDate: 2021-04-21 01:22:15 +0000 Commit: Piotr Kubaj CommitDate: 2021-04-21 01:22:15 +0000 sysutils/R-cran-processx: fix build on big-endian 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 --- sysutils/R-cran-processx/files/patch-src_unix_processx.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 ++#elif defined(__FreeBSD__) ++#include + #elif (defined(__APPLE__) && defined(__ppc__) || defined(__ppc64__)) + #include + #define BSWAP_32 OSSwapInt32