[DRE-commits] [ruby-msgpack] 07/08: Change load-path of the module, add patch 20_fix_loadlib.

Taku YASUI tach at debian.org
Fri Aug 16 10:27:00 UTC 2013


This is an automated email from the git hooks/post-receive script.

tach pushed a commit to branch master
in repository ruby-msgpack.

commit dae0b354e487d4623a414dca7bb16496e196bae4
Author: Taku YASUI <tach at debian.org>
Date:   Fri Aug 16 19:23:37 2013 +0900

    Change load-path of the module, add patch 20_fix_loadlib.
---
 debian/changelog              |    1 +
 debian/patches/20_fix_loadlib |    9 +++++++++
 debian/patches/series         |    1 +
 3 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f17a75a..1ef3e47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ruby-msgpack (0.5.5-1) unstable; urgency=low
     - Endian problem has been fixed, remove patch 20_fix_bigendian.
   * Use RSpec to test modules
     - Add ruby-rspec to Build-Deps.
+  * Change load-path of the module, add patch 20_fix_loadlib.
 
  -- Taku YASUI <tach at debian.org>  Fri, 16 Aug 2013 18:46:15 +0900
 
diff --git a/debian/patches/20_fix_loadlib b/debian/patches/20_fix_loadlib
new file mode 100644
index 0000000..aa2d924
--- /dev/null
+++ b/debian/patches/20_fix_loadlib
@@ -0,0 +1,9 @@
+--- a/lib/msgpack.rb
++++ b/lib/msgpack.rb
+@@ -6,5 +6,5 @@
+   ver = '1.9' if ver == '2.0'
+   require File.join(here, 'msgpack', ver, 'msgpack')
+ rescue LoadError
+-  require File.join(here, 'msgpack', 'msgpack')
++  require File.join('msgpack', 'msgpack')
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 86e53bf..745655c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 10_fix_test_path
+20_fix_loadlib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-msgpack.git



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