[DRE-commits] [ruby-libxml] 01/04: add avoid_messing_with_loadpath.patch

Cédric Boutillier boutil at moszumanska.debian.org
Tue Mar 1 13:59:20 UTC 2016


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

boutil pushed a commit to branch master
in repository ruby-libxml.

commit 6eb415325a2b03cfc75ad7a53a6ac0e11bf0e599
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Mar 1 14:21:50 2016 +0100

    add avoid_messing_with_loadpath.patch
---
 debian/patches/avoid_messing_with_loadpath.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/debian/patches/avoid_messing_with_loadpath.patch b/debian/patches/avoid_messing_with_loadpath.patch
new file mode 100644
index 0000000..39f8091
--- /dev/null
+++ b/debian/patches/avoid_messing_with_loadpath.patch
@@ -0,0 +1,18 @@
+Description: prevent loading the native extension for the wrong version of Ruby
+ let gem2deb figure out the path where to find the right one
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2016-03-01
+Forwarded: no
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -7,8 +7,8 @@
+ lib = File.expand_path(File.join(root, 'lib'))
+ ext = File.expand_path(File.join(root, 'ext', 'libxml'))
+ 
+-$LOAD_PATH << lib
+-$LOAD_PATH << ext
++#$LOAD_PATH << lib
++#$LOAD_PATH << ext
+ 
+ require 'xml'
+ 

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



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