Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2023 00:05:46 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: 400adba88be6 - main - benchmarks/polygraph: fix build on powerpc*
Message-ID:  <202303130005.32D05kQN080469@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=400adba88be6b5cd918bafc763f6d3a1679f1abe

commit 400adba88be6b5cd918bafc763f6d3a1679f1abe
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-03-13 00:02:49 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-03-13 00:02:49 +0000

    benchmarks/polygraph: fix build on powerpc*
    
    ../../src/xstd/Endian.h:34:17: error: 'uint64_t uint64_t(uint64_t)' redeclared as different kind of entity
       34 | inline uint64_t htobe64(uint64_t x) {
          |                 ^~~~~~~
    In file included from /usr/include/stdint.h:38,
                     from /usr/local/lib/gcc12/gcc/powerpc-portbld-freebsd13.2/12.2.0/include/stdint.h:9,
                     from ../../src/xstd/h/stdint.h:7,
                     from ../../src/base/polygraph.h:17:
    /usr/include/sys/_stdint.h:71:33: note: previous declaration 'typedef __uint64_t uint64_t'
       71 | typedef __uint64_t              uint64_t;
          |                                 ^~~~~~~~
---
 benchmarks/polygraph/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/benchmarks/polygraph/Makefile b/benchmarks/polygraph/Makefile
index e68c4881f749..6cdf104f0956 100644
--- a/benchmarks/polygraph/Makefile
+++ b/benchmarks/polygraph/Makefile
@@ -18,6 +18,7 @@ USES=		gmake ncurses shebangfix
 SHEBANG_FILES=	tools/*.pl
 USE_GCC=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	ac_cv_have_64bit_byte_order_conversion=yes
 
 # The port does not build with C++11 or later (bug 219275).
 USE_CXXSTD=	gnu++98



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303130005.32D05kQN080469>