svn commit: r478045 - head/textproc/soothsayer
Tobias Kortkamp
tobik at FreeBSD.org
Sat Aug 25 14:28:29 UTC 2018
Author: tobik
Date: Sat Aug 25 14:28:28 2018
New Revision: 478045
URL: https://svnweb.freebsd.org/changeset/ports/478045
Log:
textproc/soothsayer: Fix build with Clang 6
../../../src/lib/core/charsets.h:108:5: error: constant expression evaluates to 192 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
Agrave ,
^~~~~~
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/soothsayer-0.6.3_3.log
Modified:
head/textproc/soothsayer/Makefile
Modified: head/textproc/soothsayer/Makefile
==============================================================================
--- head/textproc/soothsayer/Makefile Sat Aug 25 14:26:37 2018 (r478044)
+++ head/textproc/soothsayer/Makefile Sat Aug 25 14:28:28 2018 (r478045)
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
BUILD_DEPENDS= help2man:misc/help2man
-USES= libtool localbase ncurses pkgconfig sqlite
+USES= compiler libtool localbase ncurses pkgconfig sqlite
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_CPPUNIT_CONFIG=no \
ac_cv_path_PYTHON=no \
@@ -22,6 +22,8 @@ CONFIGURE_ENV= ac_cv_path_CPPUNIT_CONFIG=no \
ac_cv_prog_HAVE_DOT=no \
ac_cv_prog_HAVE_DOXYGEN=no
CONFIGURE_ARGS= --disable-python-binding --localstatedir="${PREFIX}/var"
+CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang= -Wno-c++11-narrowing
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
More information about the svn-ports-all
mailing list