From owner-svn-ports-head@freebsd.org Sun Feb 24 12:07:05 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B0B4151CBB6; Sun, 24 Feb 2019 12:07:05 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E8BB6ADC8; Sun, 24 Feb 2019 12:07:05 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EEB2B4EE2; Sun, 24 Feb 2019 12:07:04 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OC74jP053776; Sun, 24 Feb 2019 12:07:04 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1OC74C9053775; Sun, 24 Feb 2019 12:07:04 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201902241207.x1OC74C9053775@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 24 Feb 2019 12:07:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493755 - head/devel/kore X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/kore X-SVN-Commit-Revision: 493755 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0E8BB6ADC8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 12:07:05 -0000 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