[DRE-commits] [SCM] ruby-http-parser.rb.git branch, master, updated. upstream/0.5.3-21-gb0f8f0b

Cédric Boutillier boutil at debian.org
Mon Jun 17 21:53:16 UTC 2013


The following commit has been merged in the master branch:
commit a844dbe1d545f7abce0a2a2dd348081f306bcfa2
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Jun 17 17:53:42 2013 +0200

    do not mess with loadpath

diff --git a/debian/patches/0004-Do-not-overload-loadpath.patch b/debian/patches/0004-Do-not-overload-loadpath.patch
new file mode 100644
index 0000000..6e09a8d
--- /dev/null
+++ b/debian/patches/0004-Do-not-overload-loadpath.patch
@@ -0,0 +1,13 @@
+Description: do not modify $LOAD_PATH to find C extension
+ Ruby knwos where to find it
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-06-17
+
+--- a/lib/http_parser.rb
++++ b/lib/http_parser.rb
+@@ -1,4 +1,3 @@
+-$:.unshift File.expand_path('../', __FILE__)
+ require 'ruby_http_parser'
+ 
+ Http = HTTP
diff --git a/debian/patches/series b/debian/patches/series
index 5e09b82..d17f084 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-fix-default-encoding.patch
 0002-Remove-git-ls-files-call-in-gemspec.patch
 0003-Build-with-system-libhttp-parser.patch
+0004-Do-not-overload-loadpath.patch

-- 
ruby-http-parser.rb.git



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