devel/kore: Fix build on powerpc/powerpc64

For some reason index(3) is not hidden when building with gcc 4.2.
Use a newer compiler to work around this.

src/config.c: In function 'configure_filemap_index':
src/config.c:812: warning: declaration of 'index' shadows a global declaration
/usr/include/strings.h:62: warning: shadowed declaration is here

PR:		235979
Reported by:	pkubaj@anongoth.pl
This commit is contained in:
Tobias Kortkamp 2019-02-24 12:07:04 +00:00
parent 9c6511d652
commit 09510dee4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493755

View file

@ -12,12 +12,10 @@ COMMENT= Web application framework for writing web APIs in C
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= fails to compile: cc1: error: -Werror=c11-extensions: No option -Wc11-extensions
FLAVORS= default notls
notls_PKGNAMESUFFIX= -notls
USES= compiler gmake ssl
USES= compiler:c11 gmake ssl
CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} -I${OPENSSLINC}
CFLAGS_clang= -Wno-error=c11-extensions # 12.0 + -pedantic