[DRE-commits] [SCM] ruby-graphviz.git branch, master, updated. 3202b861dc9607f114923ecc53e619c972d37de6
Praveen Arimbrathodiyil
praveen at debian.org
Fri Oct 26 20:15:08 UTC 2012
The following commit has been merged in the master branch:
commit 3202b861dc9607f114923ecc53e619c972d37de6
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Oct 27 01:44:27 2012 +0530
fix for ruby2gv by Cedric
diff --git a/debian/patches/fix-ruby2gv.patch b/debian/patches/fix-ruby2gv.patch
new file mode 100644
index 0000000..3e31d44
--- /dev/null
+++ b/debian/patches/fix-ruby2gv.patch
@@ -0,0 +1,20 @@
+From: Cédric Boutillier https://github.com/boutil
+Subject: Fix for ruby2gv failure
+
+line 119 of bin/ruby2gv, replace each by each_line.
+
+Origin: upstream, https://github.com/glejeune/Ruby-Graphviz/issues/56#issuecomment-9819218
+Bug: https://github.com/glejeune/Ruby-Graphviz/issues/56
+Bug-Debian: http://bugs.debian.org/676393
+
+--- a/bin/ruby2gv
++++ b/bin/ruby2gv
+@@ -116,7 +116,7 @@
+ xData = fp.read()
+ fp.close
+
+- xData.each do |xLine|
++ xData.each_line do |xLine|
+ if lxLineMatch = REQUIRE.match( xLine )
+ xRequiredLib = lxLineMatch[2].gsub( /\.(rb|so)$/, "" )
+
--
ruby-graphviz.git
More information about the Pkg-ruby-extras-commits
mailing list