From owner-dev-commits-ports-all@freebsd.org Mon Sep 27 12:35:24 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 1069D6B51C0; Mon, 27 Sep 2021 12:35:24 +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 4HJ2Cv6wzPz3DT0; Mon, 27 Sep 2021 12:35:23 +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 CF44C10FD4; Mon, 27 Sep 2021 12:35:23 +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 18RCZN3A061565; Mon, 27 Sep 2021 12:35:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18RCZNoR061564; Mon, 27 Sep 2021 12:35:23 GMT (envelope-from git) Date: Mon, 27 Sep 2021 12:35:23 GMT Message-Id: <202109271235.18RCZNoR061564@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: 0189e706132d - main - databases/libpbl: fix build on powerpc 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: 0189e706132d6cef1903f4b8b45199aae09d6331 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: Mon, 27 Sep 2021 12:35:24 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0189e706132d6cef1903f4b8b45199aae09d6331 commit 0189e706132d6cef1903f4b8b45199aae09d6331 Author: Piotr Kubaj AuthorDate: 2021-09-27 12:22:35 +0000 Commit: Piotr Kubaj CommitDate: 2021-09-27 12:22:35 +0000 databases/libpbl: fix build on powerpc powerpc has 64-bit time_t. Tested for no breakage on amd64, i386 and powerpc64. --- databases/libpbl/files/patch-pblPerform.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/databases/libpbl/files/patch-pblPerform.c b/databases/libpbl/files/patch-pblPerform.c new file mode 100644 index 000000000000..151d8a0ed7c5 --- /dev/null +++ b/databases/libpbl/files/patch-pblPerform.c @@ -0,0 +1,11 @@ +--- pblPerform.c.orig 2021-09-26 20:04:50 UTC ++++ pblPerform.c +@@ -85,7 +85,7 @@ if( end.tv_usec < start.tv_usec )\ + start.tv_sec++;\ + }\ + \ +-printf( "%s took %ld.%.6ld\n", tag, (long)end.tv_sec - start.tv_sec, (long)end.tv_usec );\ ++printf( "%s took %lld.%.6lld\n", tag, (long long)end.tv_sec - start.tv_sec, (long long)end.tv_usec );\ + }\ + + /*****************************************************************************/