security/openssh-portable@gssapi: fix build on GCC architectures
gss-genr.c: In function 'ssh_gssapi_kex_mechs': gss-genr.c:175:9: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 175 | cp = strncpy(s, kex, strlen(kex)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
This commit is contained in:
parent
d977dcdc14
commit
abcb0e7a59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557337
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ RC_SCRIPT_NAME= openssh
|
|||
VERSION_ADDENDUM_DEFAULT?= ${OPSYS}-${PKGNAME}
|
||||
|
||||
CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||
CFLAGS_gcc= -Wno-stringop-truncation
|
||||
CFLAGS_gcc= -Wno-stringop-truncation -Wno-stringop-overflow
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
|
|
Loading…
Reference in a new issue