From owner-svn-ports-all@freebsd.org Tue Jan 21 10:50:00 2020 Return-Path: Delivered-To: svn-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 4C5241F1295; Tue, 21 Jan 2020 10:50:00 +0000 (UTC) (envelope-from pkubaj@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4825081LY7z4RlM; Tue, 21 Jan 2020 10:50:00 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28E4EB5FD; Tue, 21 Jan 2020 10:50:00 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LAnxVK023669; Tue, 21 Jan 2020 10:49:59 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00LAnxPE023668; Tue, 21 Jan 2020 10:49:59 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202001211049.00LAnxPE023668@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 21 Jan 2020 10:49:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r523713 - in branches/2020Q1/net-p2p/c-lightning: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in branches/2020Q1/net-p2p/c-lightning: . files X-SVN-Commit-Revision: 523713 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 10:50:00 -0000 Author: pkubaj Date: Tue Jan 21 10:49:59 2020 New Revision: 523713 URL: https://svnweb.freebsd.org/changeset/ports/523713 Log: MFH: r523712 net-p2p/c-lightning: fix build on GCC architectures Needs C11 compiler: cc1: error: unrecognized command line option "-std=gnu11" Needs include sys/types.h in fdpass.c: ccan/ccan/fdpass/fdpass.c: In function 'fdpass_send': ccan/ccan/fdpass/fdpass.c:16:12: error: 'register_t' undeclared (first use in this function) 16 | char buf[CMSG_SPACE(sizeof(fd))]; | ^~~~~~~~~~ PR: 243481 Approved by: vd (maintainer) Approved by: portmgr (fix build blanket) Added: branches/2020Q1/net-p2p/c-lightning/files/patch-ccan_ccan_fdpass_fdpass.c - copied unchanged from r523712, head/net-p2p/c-lightning/files/patch-ccan_ccan_fdpass_fdpass.c Modified: branches/2020Q1/net-p2p/c-lightning/Makefile Directory Properties: branches/2020Q1/ (props changed) Modified: branches/2020Q1/net-p2p/c-lightning/Makefile ============================================================================== --- branches/2020Q1/net-p2p/c-lightning/Makefile Tue Jan 21 10:48:58 2020 (r523712) +++ branches/2020Q1/net-p2p/c-lightning/Makefile Tue Jan 21 10:49:59 2020 (r523713) @@ -22,7 +22,8 @@ LIB_DEPENDS= libgmp.so:math/gmp \ libsqlite3.so:databases/sqlite3 RUN_DEPENDS= bitcoin-cli:net-p2p/bitcoin-utils -USES= autoreconf:build gettext gmake libtool python:3.5+,build +USES= autoreconf:build compiler:c11 gettext gmake libtool \ + python:3.5+,build BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD} ALL_TARGET= default Copied: branches/2020Q1/net-p2p/c-lightning/files/patch-ccan_ccan_fdpass_fdpass.c (from r523712, head/net-p2p/c-lightning/files/patch-ccan_ccan_fdpass_fdpass.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q1/net-p2p/c-lightning/files/patch-ccan_ccan_fdpass_fdpass.c Tue Jan 21 10:49:59 2020 (r523713, copy of r523712, head/net-p2p/c-lightning/files/patch-ccan_ccan_fdpass_fdpass.c) @@ -0,0 +1,10 @@ +--- ccan/ccan/fdpass/fdpass.c.orig 2020-01-20 22:03:36 UTC ++++ ccan/ccan/fdpass/fdpass.c +@@ -1,6 +1,7 @@ + /* CC0 license (public domain) - see LICENSE file for details */ + #include + #include ++#include + #include + #include +