[DRE-commits] [SCM] ruby-sourcify.git branch, master, updated. debian/0.5.0-1
Gunnar Wolf
gwolf at debian.org
Sat May 19 20:17:16 UTC 2012
The following commit has been merged in the master branch:
commit 4df4bde6f56d4048e0cf3c329e6db835b16dba09
Author: Gunnar Wolf <gwolf at debian.org>
Date: Sat May 19 14:50:55 2012 -0500
Avoid the warnings at compile time due to redefined constants
diff --git a/debian/patches/omit_redefinition_warnings b/debian/patches/omit_redefinition_warnings
new file mode 100644
index 0000000..8b2bdbc
--- /dev/null
+++ b/debian/patches/omit_redefinition_warnings
@@ -0,0 +1,15 @@
+Index: ruby-sourcify/lib/sourcify.rb
+===================================================================
+--- ruby-sourcify.orig/lib/sourcify.rb 2012-05-19 14:48:27.000000000 -0500
++++ ruby-sourcify/lib/sourcify.rb 2012-05-19 14:49:37.000000000 -0500
+@@ -1,7 +1,10 @@
+ # require 'rubygems'
+ require 'ruby2ruby'
+ require 'sexp_processor'
++orig_verbose = $VERBOSE
++$VERBOSE = nil
+ require 'ruby_parser'
++$VERBOSE = orig_verbose
+ require 'file/tail'
+
+ begin
diff --git a/debian/patches/series b/debian/patches/series
index f728cce..61c7b4f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
dont_require_rubygems
+omit_redefinition_warnings
--
ruby-sourcify.git
More information about the Pkg-ruby-extras-commits
mailing list