From owner-svn-ports-all@freebsd.org Sun Jul 29 12:07:02 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 2CF831055619; Sun, 29 Jul 2018 12:07:02 +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 CD0C67E497; Sun, 29 Jul 2018 12:07:01 +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 AAC63158F0; Sun, 29 Jul 2018 12:07:01 +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 w6TC71cI016104; Sun, 29 Jul 2018 12:07:01 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6TC71GR016103; Sun, 29 Jul 2018 12:07:01 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807291207.w6TC71GR016103@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:07:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475651 - head/textproc/mifluz X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/textproc/mifluz X-SVN-Commit-Revision: 475651 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:07:02 -0000 Author: tobik Date: Sun Jul 29 12:07:01 2018 New Revision: 475651 URL: https://svnweb.freebsd.org/changeset/ports/475651 Log: textproc/mifluz: Fix build with Clang 6 WordTree.cc:530:10: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing] case NOTOK: ^ ./mifluz/lib.h:38:16: note: expanded from macro 'NOTOK' #define NOTOK (-1) ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p475044_s336572/logs/mifluz-0.26.0.log Modified: head/textproc/mifluz/Makefile Modified: head/textproc/mifluz/Makefile ============================================================================== --- head/textproc/mifluz/Makefile Sun Jul 29 12:01:13 2018 (r475650) +++ head/textproc/mifluz/Makefile Sun Jul 29 12:07:01 2018 (r475651) @@ -11,7 +11,7 @@ COMMENT= C++ library to build and query a full text in LICENSE= GPLv3 -USES= bison iconv libtool makeinfo pathfix +USES= bison compiler iconv libtool makeinfo pathfix GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-posixmutexes \ --localstatedir="${PREFIX}/var" \ @@ -19,6 +19,8 @@ CONFIGURE_ARGS= --enable-posixmutexes \ INSTALL_TARGET= install-strip USE_LDCONFIG= yes +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib