Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2019 10:11:25 +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: r501244 - head/devel/thrift-c_glib
Message-ID:  <201905111011.x4BABPLd039800@repo.freebsd.org>

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

Log:
  devel/thrift-c_glib: 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-c_glib-0.11.0,1.log
  
  PR:		230607

Modified:
  head/devel/thrift-c_glib/Makefile

Modified: head/devel/thrift-c_glib/Makefile
==============================================================================
--- head/devel/thrift-c_glib/Makefile	Sat May 11 09:55:40 2019	(r501243)
+++ head/devel/thrift-c_glib/Makefile	Sat May 11 10:11:25 2019	(r501244)
@@ -43,4 +43,8 @@ CONFIGURE_ARGS+=        \
 		--without-ruby \
 		--without-go
 
+post-patch:
+	@${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \
+		${WRKSRC}/lib/rb/ext/extconf.rb
+
 .include <bsd.port.mk>



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