Source: xmms2
Version: 0.8+dfsg-12
Severity: important
Tags: patch

Dear Maintainer,

your package xmms2 FTBFS with ruby2.2 (which is available in
experimental for testing purposes).

The attached patch fixes the FTBFS (and stays compatible with 2.1).

Best,
Christian
Description: replace obsolete Config with RbConfig
Author: Christian Hofstaedtler <z...@debian.org>
Origin: vendor
---
The old 'Config' object has finally been removed in Ruby 2.2.

diff --git a/waflib/Tools/ruby.py b/waflib/Tools/ruby.py
index ff3811a..ee3b056 100644
--- a/waflib/Tools/ruby.py
+++ b/waflib/Tools/ruby.py
@@ -45,7 +45,7 @@ def check_ruby_ext_devel(self):
 	def read_out(cmd):
 		return Utils.to_list(self.cmd_and_log([self.env.RUBY,'-rrbconfig','-e',cmd]))
 	def read_config(key):
-		return read_out('puts Config::CONFIG[%r]'%key)
+		return read_out('puts RbConfig::CONFIG[%r]'%key)
 	ruby=self.env['RUBY']
 	archdir=read_config('archdir')
 	cpppath=archdir
--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms2.org
http://lists.xmms2.org/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to