git: 57a2b3ccb87a - main - devel/easy-profiler: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 16:28:51 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=57a2b3ccb87a626a48b2d0ac0da0586dfa5bc123
commit 57a2b3ccb87a626a48b2d0ac0da0586dfa5bc123
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-07-03 16:28:34 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-07-03 16:28:34 +0000
devel/easy-profiler: fix build on powerpc64*
It's possible other architectures are also broken.
/wrkdirs/usr/ports/devel/easy-profiler/work/easy_profiler-2.1.0-41-g3104dd4/easy_profiler_core/current_time.h:110:27: error: unknown type name 'int64'
tbl &= -static_cast<int64>(tbu0 == tbu1);
^
1 warning and 1 error generated.
---
devel/easy-profiler/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/easy-profiler/Makefile b/devel/easy-profiler/Makefile
index fbacd4520e06..3f1adee09e24 100644
--- a/devel/easy-profiler/Makefile
+++ b/devel/easy-profiler/Makefile
@@ -21,6 +21,8 @@ USE_GITHUB= yes
GH_ACCOUNT= yse
GH_PROJECT= easy_profiler
+CXXFLAGS+= -Dint64=int64_t
+
post-install:
@${RM} ${STAGEDIR}${PREFIX}/LICENSE.*