[DRE-commits] [ruby-bdb] 02/09: Add 'update-bdb-versions' patch

David Suárez deiv-guest at moszumanska.debian.org
Sat May 3 12:05:15 UTC 2014


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

deiv-guest pushed a commit to branch master
in repository ruby-bdb.

commit 43deabee482f73128a3f7da4ee96e97d738b0de7
Author: David Suárez <david.sephirot at gmail.com>
Date:   Fri May 2 22:16:58 2014 +0200

    Add 'update-bdb-versions' patch
---
 debian/patches/series                    |  1 +
 debian/patches/update-bdb-versions.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 2edacff..db8a844 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ fix-inheritance.patch
 remove-src-dir-from-tests-load-path.patch
 dont-rely-on-ruby-objects-to-accommodate-c-data.patch
 use-same-encoding-for-dup-test.patch
+update-bdb-versions.patch
diff --git a/debian/patches/update-bdb-versions.patch b/debian/patches/update-bdb-versions.patch
new file mode 100644
index 0000000..f1d2722
--- /dev/null
+++ b/debian/patches/update-bdb-versions.patch
@@ -0,0 +1,16 @@
+Description: Update the list of bdb versions
+
+Author: David Suárez <david.sephirot at gmail.com>
+Last-Update: 2014-05-02
+
+--- a/src/extconf.rb
++++ b/src/extconf.rb
+@@ -77,7 +77,7 @@ elsif m = lib_dir.match(%r{/db(?:([2-9])
+    end
+ else
+    version = [
+-      %w[4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 4 3 2].map { |ver|
++      %w[6.0 5.3 5.1 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 4 3 2].map { |ver|
+          major, minor = ver.split('.')
+          minor ? ['-%d.%d' % [major, minor], '%d%d' % [major, minor]] : major
+       }, ''

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



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