Sun Mar 8 16:07:28 2015 UTC ()
Remove "-Werror" for now to solve build problem until someone fix (or
update libthrift to newer version) the real problem.


(taca)
diff -r1.3 -r1.4 pkgsrc/devel/ruby-thrift/distinfo
diff -r0 -r1.1 pkgsrc/devel/ruby-thrift/patches/patch-ext_extconf.rb

cvs diff -r1.3 -r1.4 pkgsrc/devel/ruby-thrift/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ruby-thrift/distinfo 2011/09/12 16:04:49 1.3
+++ pkgsrc/devel/ruby-thrift/distinfo 2015/03/08 16:07:28 1.4
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.3 2011/09/12 16:04:49 taca Exp $ 1$NetBSD: distinfo,v 1.4 2015/03/08 16:07:28 taca Exp $
2 2
3SHA1 (thrift-0.7.0.gem) = ab49e578a3fd45f5f7c23a4ea0568a0e6bc31da7 3SHA1 (thrift-0.7.0.gem) = ab49e578a3fd45f5f7c23a4ea0568a0e6bc31da7
4RMD160 (thrift-0.7.0.gem) = 9ce2d8453b53725602d0447d1a9b7b18086c1750 4RMD160 (thrift-0.7.0.gem) = 9ce2d8453b53725602d0447d1a9b7b18086c1750
5Size (thrift-0.7.0.gem) = 173568 bytes 5Size (thrift-0.7.0.gem) = 173568 bytes
 6SHA1 (patch-ext_extconf.rb) = caedbdb98e3f241f2fb0010d560fb112643c74a2

File Added: pkgsrc/devel/ruby-thrift/patches/patch-ext_extconf.rb
$NetBSD: patch-ext_extconf.rb,v 1.1 2015/03/08 16:07:28 taca Exp $

* Don't treat warning as error.

--- ext/extconf.rb.orig	2015-01-18 12:03:28.000000000 +0000
+++ ext/extconf.rb
@@ -22,7 +22,7 @@ if defined?(RUBY_ENGINE) && RUBY_ENGINE 
 else
   require 'mkmf'
 
-  $CFLAGS = "-g -O2 -Wall -Werror"
+  $CFLAGS = "-g -O2 -Wall"
 
   have_func("strlcpy", "string.h")