[DRE-commits] [ruby-ffi-rzmq-core] 02/04: add 0001-load-so-from-libzmq3-or-libzmq1.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Mon Mar 31 15:42:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-ffi-rzmq-core.
commit ef862ce0b95f15eef67a8a5ad55667341873f7c4
Author: Cédric Boutillier <boutil at debian.org>
Date: Mon Mar 31 17:35:21 2014 +0200
add 0001-load-so-from-libzmq3-or-libzmq1.patch
---
.../patches/0001-load-so-from-libzmq3-or-libzmq1.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch b/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch
new file mode 100644
index 0000000..432eee2
--- /dev/null
+++ b/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch
@@ -0,0 +1,16 @@
+Subject: load so from libzmq3 or libzmq1
+Author: Dmitry Borodaenko <angdraug at gmail.com>
+Reviewed-By: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-03-31
+
+--- a/lib/ffi-rzmq-core/libzmq.rb
++++ b/lib/ffi-rzmq-core/libzmq.rb
+@@ -34,7 +34,7 @@
+ ZMQ_LIB_PATHS = ([inside_gem] + local_path + [
+ '/usr/local/lib', '/opt/local/lib', homebrew_path, '/usr/lib64'
+ ]).compact.map{|path| "#{path}/libzmq.#{FFI::Platform::LIBSUFFIX}"}
+- ffi_lib(ZMQ_LIB_PATHS + %w{libzmq})
++ ffi_lib(%w{libzmq.so.3} + ZMQ_LIB_PATHS + %w{libzmq})
+
+ rescue LoadError
+ if ZMQ_LIB_PATHS.any? {|path|
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e1c38c4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-load-so-from-libzmq3-or-libzmq1.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ffi-rzmq-core.git
More information about the Pkg-ruby-extras-commits
mailing list