Date: Sun, 24 Feb 2019 12:07:04 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493755 - head/devel/kore Message-ID: <201902241207.x1OC74C9053775@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902241207.x1OC74C9053775>