[DRE-commits] [ruby-ffi-rzmq-core] 08/08: fix build-depends and patch to find the needed lib

Cédric Boutillier boutil at moszumanska.debian.org
Wed Feb 24 21:20:13 UTC 2016


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 d09f2f9a41a4b5f6aa42459120a6b28e8c0faa6c
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Feb 24 22:15:41 2016 +0100

    fix build-depends and patch to find the needed lib
---
 debian/changelog                                          | 7 +++++++
 debian/control                                            | 2 +-
 debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch | 6 +++---
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6245234..7035809 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-ffi-rzmq-core (1.0.4-2) unstable; urgency=medium
+
+  * Also build-depend on libzmq5
+  * Update patch to find libzmq.so.5
+
+ -- Cédric Boutillier <boutil at debian.org>  Wed, 24 Feb 2016 22:15:05 +0100
+
 ruby-ffi-rzmq-core (1.0.4-1) unstable; urgency=medium
 
   * Imported Upstream version 1.0.4
diff --git a/debian/control b/debian/control
index e001a62..8382aa5 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Cédric Boutillier <boutil at debian.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb (>= 0.7.5~),
-               libzmq3,
+               libzmq5,
                ruby-ffi (>= 1.9.3debian-1+b1),
                ruby-rspec
 Standards-Version: 3.9.7
diff --git a/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch b/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch
index 432eee2..780d1d6 100644
--- a/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch
+++ b/debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch
@@ -1,7 +1,7 @@
-Subject: load so from libzmq3 or libzmq1
+Subject: load so from libzmq5 or libzmq1
 Author: Dmitry Borodaenko <angdraug at gmail.com>
 Reviewed-By: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2014-03-31
+Last-Update: 2016-02-24
 
 --- a/lib/ffi-rzmq-core/libzmq.rb
 +++ b/lib/ffi-rzmq-core/libzmq.rb
@@ -10,7 +10,7 @@ Last-Update: 2014-03-31
                         '/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})
++    ffi_lib(%w{libzmq.so.5} + ZMQ_LIB_PATHS + %w{libzmq})
  
    rescue LoadError
      if ZMQ_LIB_PATHS.any? {|path|

-- 
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