devel/thrift: Actually disable -Werror and fix build
src/thrift/generate/t_py_generator.cc:1603:38: error: unused variable 'a_iter' [-Werror,-Wunused-variable] vector<t_field*>::const_iterator a_iter; ^ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501065_s347375/logs/errors/thrift-0.11.0_1,1.log PR: 230607
This commit is contained in:
parent
e1c7028c1e
commit
11f540665e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501237
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ PLIST_FILES= bin/thrift
|
|||
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/lib/rb/ext/extconf.rb
|
||||
@${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \
|
||||
${WRKSRC}/lib/rb/ext/extconf.rb
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am
|
||||
|
|
Loading…
Reference in a new issue