Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2022 16:28:51 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: 57a2b3ccb87a - main - devel/easy-profiler: fix build on powerpc64*
Message-ID:  <202207031628.263GSpNh074324@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=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.*
 



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