[libparanoid-perl] 01/02: Add patch to no more use DB_CDB_ALLDB inside Paranoid::BerkeleyDB
Axel Beckert
abe at deuxchevaux.org
Fri Jun 13 12:01:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libparanoid-perl.
commit ff9babdce652f1f41047589159d72ae8f91c1ac4
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Fri Jun 13 13:58:13 2014 +0200
Add patch to no more use DB_CDB_ALLDB inside Paranoid::BerkeleyDB
Fixes FTBFS due to test-suite failures. (Closes: #743123)
Yay for build-time testing! :-)
---
debian/changelog | 5 +++++
debian/patches/dont-use-DB_CDB_ALLDB.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 75eb79f..eb8700a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
libparanoid-perl (0.36-2) UNRELEASED; urgency=medium
+ [ gregor herrmann ]
* Strip trailing slash from metacpan URLs.
+ [ Axel Beckert ]
+ * Add patch to no more use DB_CDB_ALLDB inside Paranoid::BerkeleyDB
+ + Fixes FTBFS due to test-suite failures. (Closes: #743123)
+
-- gregor herrmann <gregoa at debian.org> Thu, 27 Feb 2014 22:39:26 +0100
libparanoid-perl (0.36-1) unstable; urgency=low
diff --git a/debian/patches/dont-use-DB_CDB_ALLDB.patch b/debian/patches/dont-use-DB_CDB_ALLDB.patch
new file mode 100644
index 0000000..0b90dc3
--- /dev/null
+++ b/debian/patches/dont-use-DB_CDB_ALLDB.patch
@@ -0,0 +1,20 @@
+Description: Remove obviously no more supported DB_CDB_ALLDB flag
+ Fixes FTBFS due to test suite failures. BerkeleyDB::Env returned
+ "Invalid argument" else.
+Author: Axel Beckert <abe at debian.org>
+Bug-Debian: https://bugs.debian.org/743123
+
+Index: libparanoid-perl/lib/Paranoid/BerkeleyDB.pm
+===================================================================
+--- libparanoid-perl.orig/lib/Paranoid/BerkeleyDB.pm 2014-06-13 13:45:35.247292265 +0200
++++ libparanoid-perl/lib/Paranoid/BerkeleyDB.pm 2014-06-13 13:47:15.761666777 +0200
+@@ -67,8 +67,7 @@
+ pdebug( "creating environment in $$self{DbDir}", PDLEVEL3 );
+ $$self{DbEnv} = BerkeleyDB::Env->new(
+ '-Home' => $$self{DbDir},
+- '-Flags' => DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL |
+- DB_CDB_ALLDB,
++ '-Flags' => DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL,
+ '-Mode' => $$self{DbMode},
+ );
+ $rv = defined $$self{DbEnv};
diff --git a/debian/patches/series b/debian/patches/series
index bc09978..9a3d454 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
stop-emailing-in-tests.patch
+dont-use-DB_CDB_ALLDB.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparanoid-perl.git
More information about the Pkg-perl-cvs-commits
mailing list