[DRE-commits] [SCM] ruby-ox.git branch, master, updated. upstream/1.8.8-10-gb5a412b

Paul van Tilburg paulvt at debian.org
Fri Feb 22 10:15:09 UTC 2013


The following commit has been merged in the master branch:
commit 9a8f08c06fa56c2924d96d1358d6f30426d3aefb
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Fri Feb 22 10:54:17 2013 +0100

    Add 000-fix-so-load-path.patch to fix the require of the extension

diff --git a/debian/patches/000-fix-so-load-path.patch b/debian/patches/000-fix-so-load-path.patch
new file mode 100644
index 0000000..a328ba2
--- /dev/null
+++ b/debian/patches/000-fix-so-load-path.patch
@@ -0,0 +1,15 @@
+Description: fix the load path of the extension
+ The require of the extension in the Ruby library assumes it is in stalled
+ as a gem and hence loads 'ox/ox', but it should just load the installed
+ 'ox.so'.
+Author: Paul van Tilburg <paulvt at debian.org>
+Last-Update: 2012-02-22
+
+--- a/lib/ox.rb
++++ b/lib/ox.rb
+@@ -99,4 +99,4 @@
+ require 'ox/bag'
+ require 'ox/sax'
+ 
+-require 'ox/ox' # C extension
++require 'ox.so' # C extension
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2c95fe1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+000-fix-so-load-path.patch

-- 
ruby-ox.git



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