[DRE-commits] [SCM] redmine.git branch, master-experimental, updated. debian/1.4.4+dfsg1-1-5-g7f1f228

Jérémy Lal kapouer at melix.org
Thu Oct 11 10:25:37 UTC 2012


The following commit has been merged in the master-experimental branch:
commit 77626ed1aa4aecb89576c8857718961f69e99066
Author: Jérémy Lal <kapouer at melix.org>
Date:   Mon May 14 12:37:28 2012 +0200

    Patch to use 'csv' module instead of 'fastercsv' even on ruby1.8

diff --git a/debian/patches/2018_disable_fastercsv.patch b/debian/patches/2018_disable_fastercsv.patch
new file mode 100644
index 0000000..68fb72d
--- /dev/null
+++ b/debian/patches/2018_disable_fastercsv.patch
@@ -0,0 +1,25 @@
+Description: fastercsv is not available in debian use csv instead.
+Forwarded: not-needed
+Author: Jérémy Lal <kapouer at melix.org>
+Last-Update: 2012-05-14
+--- a/lib/redmine.rb
++++ b/lib/redmine.rb
+@@ -18,12 +18,12 @@
+   # RMagick is not available
+ end
+ 
+-if RUBY_VERSION < '1.9'
+-  require 'fastercsv'
+-else
+-  require 'csv'
+-  FCSV = CSV
+-end
++#if RUBY_VERSION < '1.9'
++#  require 'fastercsv'
++#else
++require 'csv'
++FCSV = CSV
++#end
+ 
+ Redmine::Scm::Base.add "Subversion"
+ Redmine::Scm::Base.add "Darcs"

-- 
redmine.git



More information about the Pkg-ruby-extras-commits mailing list