Skip to content

Commit

Permalink
sysutils/passwordsafe: fix build on powerpc
Browse files Browse the repository at this point in the history
ItemData.cpp:1942:23: error: variable-sized object may not be initialized
    unsigned char buf[len] = {0};
  • Loading branch information
pkubaj committed Jul 18, 2021
1 parent 9ad2512 commit 4eb168e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysutils/passwordsafe/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 4eb168e

Please sign in to comment.