Date: Mon, 27 Sep 2021 12:35:23 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0189e706132d - main - databases/libpbl: fix build on powerpc Message-ID: <202109271235.18RCZNoR061564@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0189e706132d6cef1903f4b8b45199aae09d6331 commit 0189e706132d6cef1903f4b8b45199aae09d6331 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-09-27 12:22:35 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> 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 );\ + }\ + + /*****************************************************************************/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109271235.18RCZNoR061564>