From owner-svn-ports-all@freebsd.org Sun Jul 29 12:15:11 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 B38EA105586A; Sun, 29 Jul 2018 12:15:11 +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 5F7A57E89B; Sun, 29 Jul 2018 12:15:11 +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 37C4B15A95; Sun, 29 Jul 2018 12:15:11 +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 w6TCFBrb020960; Sun, 29 Jul 2018 12:15:11 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6TCFBoP020959; Sun, 29 Jul 2018 12:15:11 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807291215.w6TCFBoP020959@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 29 Jul 2018 12:15:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475652 - head/audio/epos-devel X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/audio/epos-devel X-SVN-Commit-Revision: 475652 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: Sun, 29 Jul 2018 12:15:11 -0000 Author: tobik Date: Sun Jul 29 12:15:10 2018 New Revision: 475652 URL: https://svnweb.freebsd.org/changeset/ports/475652 Log: audio/epos-devel: Fix build with Clang 6 ./options.lst:506:1: error: non-constant-expression cannot be narrowed from type 'long' to 'int' in initializer list [-Wc++11-narrowing] VOICE_OPTION (name, STR, NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./options.lst:128:41: note: expanded from macro 'VOICE_OPTION' #define VOICE_OPTION(name,type,default) OPTION(name,type,default) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./options.lst:122:109: note: expanded from macro 'OPTION' #define OPTION(name,type,default) {"C:" stringify(name) + 2, type, OS_CFG, A_PUBLIC, A_PUBLIC, true, false, (long int)&((configuration *)NULL)->name}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./options.lst:506:1: note: insert an explicit cast to silence this issue VOICE_OPTION (name, STR, NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./options.lst:128:41: note: expanded from macro 'VOICE_OPTION' #define VOICE_OPTION(name,type,default) OPTION(name,type,default) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./options.lst:122:109: note: expanded from macro 'OPTION' #define OPTION(name,type,default) {"C:" stringify(name) + 2, type, OS_CFG, A_PUBLIC, A_PUBLIC, true, false, (long int)&((configuration *)NULL)->name}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/epos-2.5.37_1.log client.cc:197:33: error: assigning to 'int' from incompatible type 'nullptr_t' partbuff_sizes[n_partbuffs] = NULL; ^~~~ Modified: head/audio/epos-devel/Makefile Modified: head/audio/epos-devel/Makefile ============================================================================== --- head/audio/epos-devel/Makefile Sun Jul 29 12:07:01 2018 (r475651) +++ head/audio/epos-devel/Makefile Sun Jul 29 12:15:10 2018 (r475652) @@ -14,6 +14,7 @@ LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi USES= gmake +USE_CXXSTD= gnu++98 GNU_CONFIGURE= yes CONFIGURE_ENV= YACC="${YACC}"