svn commit: r493755 - head/devel/kore
Tobias Kortkamp
tobik at FreeBSD.org
Sun Feb 24 12:07:05 UTC 2019
Author: tobik
Date: Sun Feb 24 12:07:04 2019
New Revision: 493755
URL: https://svnweb.freebsd.org/changeset/ports/493755
Log:
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 at anongoth.pl
Modified:
head/devel/kore/Makefile
Modified: head/devel/kore/Makefile
==============================================================================
--- head/devel/kore/Makefile Sun Feb 24 11:33:32 2019 (r493754)
+++ head/devel/kore/Makefile Sun Feb 24 12:07:04 2019 (r493755)
@@ -12,12 +12,10 @@ COMMENT= Web application framework for writing web API
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
More information about the svn-ports-all
mailing list