Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 19:18:09 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: 4eb168e0e81e - main - sysutils/passwordsafe: fix build on powerpc
Message-ID:  <202107181918.16IJI929045115@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=4eb168e0e81e25e39611231ee2a4aafa828e1055

commit 4eb168e0e81e25e39611231ee2a4aafa828e1055
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-07-18 19:03:44 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-07-18 19:03:44 +0000

    sysutils/passwordsafe: fix build on powerpc
    
    ItemData.cpp:1942:23: error: variable-sized object may not be initialized
        unsigned char buf[len] = {0};
---
 sysutils/passwordsafe/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/passwordsafe/Makefile b/sysutils/passwordsafe/Makefile
index 21f050322696..901160657179 100644
--- a/sysutils/passwordsafe/Makefile
+++ b/sysutils/passwordsafe/Makefile
@@ -46,7 +46,7 @@ ALL_TARGET=	unicoderelease
 
 .include <bsd.port.options.mk>
 
-.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc
 USES+=		compiler:gcc-c++11-lib
 .else
 USES+=		compiler:c++11-lang



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