git: 400adba88be6 - main - benchmarks/polygraph: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Mar 2023 00:05:46 UTC
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