Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2019 09:03:52 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501237 - head/devel/thrift
Message-ID:  <201905110903.x4B93qdA006112@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat May 11 09:03:51 2019
New Revision: 501237
URL: https://svnweb.freebsd.org/changeset/ports/501237

Log:
  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

Modified:
  head/devel/thrift/Makefile

Modified: head/devel/thrift/Makefile
==============================================================================
--- head/devel/thrift/Makefile	Sat May 11 09:01:34 2019	(r501236)
+++ head/devel/thrift/Makefile	Sat May 11 09:03:51 2019	(r501237)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905110903.x4B93qdA006112>