summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/fromcvs/files/0001-Fix-379271-require-rubygems-before-other-deps.patch')
-rw-r--r--dev-vcs/fromcvs/files/0001-Fix-379271-require-rubygems-before-other-deps.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-vcs/fromcvs/files/0001-Fix-379271-require-rubygems-before-other-deps.patch b/dev-vcs/fromcvs/files/0001-Fix-379271-require-rubygems-before-other-deps.patch
new file mode 100644
index 000000000000..7ae7ac67ceab
--- /dev/null
+++ b/dev-vcs/fromcvs/files/0001-Fix-379271-require-rubygems-before-other-deps.patch
@@ -0,0 +1,50 @@
+From b8b5074b0b80769d14d8f5d0839a1d63173e51ab Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky@redhat.com>
+Date: Tue, 14 Feb 2012 23:43:43 +0100
+Subject: [PATCH] Fix #379271 - require rubygems before other deps
+
+---
+ todb.rb | 1 +
+ togit.rb | 1 +
+ tohg.rb | 1 +
+ 3 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/todb.rb b/todb.rb
+index 73f10a2..f753477 100644
+--- a/todb.rb
++++ b/todb.rb
+@@ -14,6 +14,7 @@
+ # along with fromcvs. If not, see <http://www.gnu.org/licenses/>.
+ #
+
++require 'rubygems'
+ require 'fromcvs'
+ require 'sqlite3'
+
+diff --git a/togit.rb b/togit.rb
+index d3feb24..46fa44c 100644
+--- a/togit.rb
++++ b/togit.rb
+@@ -14,6 +14,7 @@
+ # along with fromcvs. If not, see <http://www.gnu.org/licenses/>.
+ #
+
++require 'rubygems'
+ require 'fromcvs'
+
+ require 'enumerator'
+diff --git a/tohg.rb b/tohg.rb
+index 99043cb..db3337a 100644
+--- a/tohg.rb
++++ b/tohg.rb
+@@ -14,6 +14,7 @@
+ # along with fromcvs. If not, see <http://www.gnu.org/licenses/>.
+ #
+
++require 'rubygems'
+ require 'fromcvs'
+ require 'fileutils'
+
+--
+1.7.3.4
+