From owner-svn-ports-all@freebsd.org Mon Aug 27 17:13:44 2018 Return-Path: Delivered-To: svn-ports-all@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 46DD1109107E; Mon, 27 Aug 2018 17:13:44 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E07BC7AB40; Mon, 27 Aug 2018 17:13:43 +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 BD2B520980; Mon, 27 Aug 2018 17:13:43 +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 w7RHDh6Q014801; Mon, 27 Aug 2018 17:13:43 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7RHDh5j014800; Mon, 27 Aug 2018 17:13:43 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808271713.w7RHDh5j014800@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 27 Aug 2018 17:13:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478232 - head/textproc/randlm X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/textproc/randlm X-SVN-Commit-Revision: 478232 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 17:13:44 -0000 Author: tobik Date: Mon Aug 27 17:13:43 2018 New Revision: 478232 URL: https://svnweb.freebsd.org/changeset/ports/478232 Log: textproc/randlm: Fix build with Clang 6 In file included from RandLMBuilder.cpp:17: In file included from ./RandLMBuilder.h:21: In file included from ./RandLMPipelineTool.h:20: In file included from ./RandLMPipeline.h:20: In file included from ./RandLMPreproc.h:25: In file included from ./RandLM.h:23: ./RandLMQuantiser.h:41:24: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init] static const float kFloatErr = 0.00001f; ^ ~~~~~~~~ ./RandLMQuantiser.h:41:5: note: add 'constexpr' static const float kFloatErr = 0.00001f; ^ constexpr http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/randlm-0.2.5_13.log PR: 230892 Submitted by: tobik Approved by: demon (maintainer) Modified: head/textproc/randlm/Makefile Modified: head/textproc/randlm/Makefile ============================================================================== --- head/textproc/randlm/Makefile Mon Aug 27 17:10:21 2018 (r478231) +++ head/textproc/randlm/Makefile Mon Aug 27 17:13:43 2018 (r478232) @@ -19,6 +19,7 @@ BROKEN_armv6= fails to compile: invalid output constr BROKEN_powerpc64= fails to compile: 'itr' does not name a type GNU_CONFIGURE= yes +USE_CXXSTD= gnu++98 USE_PERL5= run USE_LDCONFIG= yes USES= autoreconf libtool compiler:c++11-lang