aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-18 19:03:44 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-18 19:03:44 +0000
commit4eb168e0e81e25e39611231ee2a4aafa828e1055 (patch)
treec892538511d2cf2f3325ecbf81e5e0037d965ca3
parent9ad2512ae3b0ae19bd338e63d5419044ea012514 (diff)
downloadports-4eb168e0e81e25e39611231ee2a4aafa828e1055.tar.gz
ports-4eb168e0e81e25e39611231ee2a4aafa828e1055.zip
sysutils/passwordsafe: fix build on powerpc
ItemData.cpp:1942:23: error: variable-sized object may not be initialized unsigned char buf[len] = {0};
-rw-r--r--sysutils/passwordsafe/Makefile2
1 files changed, 1 insertions, 1 deletions
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