From owner-svn-ports-head@freebsd.org Thu Jun 25 14:11:42 2020 Return-Path: Delivered-To: svn-ports-head@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 2B13635B9F3; Thu, 25 Jun 2020 14:11:42 +0000 (UTC) (envelope-from vd@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49t24t0Lt1z474p; Thu, 25 Jun 2020 14:11:42 +0000 (UTC) (envelope-from vd@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 05A7A240B9; Thu, 25 Jun 2020 14:11:42 +0000 (UTC) (envelope-from vd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05PEBfw0076877; Thu, 25 Jun 2020 14:11:41 GMT (envelope-from vd@FreeBSD.org) Received: (from vd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05PEBfMo076876; Thu, 25 Jun 2020 14:11:41 GMT (envelope-from vd@FreeBSD.org) Message-Id: <202006251411.05PEBfMo076876@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vd set sender to vd@FreeBSD.org using -f From: Vasil Dimov Date: Thu, 25 Jun 2020 14:11:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540394 - head/net-p2p/c-lightning/files X-SVN-Group: ports-head X-SVN-Commit-Author: vd X-SVN-Commit-Paths: head/net-p2p/c-lightning/files X-SVN-Commit-Revision: 540394 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2020 14:11:42 -0000 Author: vd Date: Thu Jun 25 14:11:41 2020 New Revision: 540394 URL: https://svnweb.freebsd.org/changeset/ports/540394 Log: net-p2p/c-lightning: fix compilation on i386 Added: head/net-p2p/c-lightning/files/patch-plugins_keysend.c (contents, props changed) Added: head/net-p2p/c-lightning/files/patch-plugins_keysend.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/c-lightning/files/patch-plugins_keysend.c Thu Jun 25 14:11:41 2020 (r540394) @@ -0,0 +1,11 @@ +--- plugins/keysend.c.orig 2020-06-25 14:05:27 UTC ++++ plugins/keysend.c +@@ -133,7 +133,7 @@ static struct command_result *htlc_accepted_call(struc + + ki = tal(cmd, struct keysend_in); + memcpy(&ki->payment_preimage, preimage_field->value, 32); +- ki->label = tal_fmt(ki, "keysend-%lu.%09lu", now.ts.tv_sec, now.ts.tv_nsec); ++ ki->label = tal_fmt(ki, "keysend-%lu.%09lu", (unsigned long)now.ts.tv_sec, now.ts.tv_nsec); + ki->payload = tal_steal(ki, payload); + ki->preimage_field = preimage_field; +