[Pkg-glusterfs-devel] Bug#549854: Patch to fix building against DB 4.8 + provide the log dir
Cyrille Chépélov
cyrille.chepelov at keyconsulting.fr
Fri Oct 23 09:05:13 UTC 2009
tags 549886 + patch
tags 549854 + patch
tags 544433 + patch
thanks
This patch fixes building against DB 4.8 (it should apply over 2.0.4 as
well as over 2.0.7 for the Debian 2.0.4 packaging ports fine), among a
few other details.
The salient point is this:
+-#if (DB_VERSION_MAJOR == 4 && \
+- DB_VERSION_MINOR == 7)
++#if ((DB_VERSION_MAJOR > 4) || \
++ (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 7))
+ if (private->log_auto_remove) {
+ ret = dbenv->log_set_config (dbenv,
DB_LOG_AUTO_REMOVE, 1);
-- Cyrille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-glusterfs-devel/attachments/20091023/a9877bf1/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_549854_etc.patch
Type: text/x-patch
Size: 5012 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-glusterfs-devel/attachments/20091023/a9877bf1/attachment-0003.bin>
More information about the Pkg-glusterfs-devel
mailing list