games/rtb: Fix build with Clang 6
Structs.cc:50:5: error: constant expression evaluates to 255 which cannot be narrowed to type 'gchar' (aka 'char') [-Wc++11-narrowing] 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, ^~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/RealTimeBattle-1.0.8_11.log
This commit is contained in:
parent
7ec8ad352d
commit
7774e046ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478664
1 changed files with 3 additions and 1 deletions
|
@ -16,11 +16,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
|
||||
BUILD_DEPENDS= gsed:textproc/gsed
|
||||
|
||||
USES= gettext gmake perl5 pkgconfig python:2.7 tar:bzip2
|
||||
USES= compiler gettext gmake perl5 pkgconfig python:2.7 tar:bzip2
|
||||
USE_GNOME= gtk20
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-rtb-dir=${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||
CXXFLAGS_clang= -Wno-c++11-narrowing
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
|
|
Loading…
Reference in a new issue