[Patch 1/1] CLD: fix crash in __mutex_get_max (libdb-4.7.so) on F13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fedora 13 comes with db4.8 and apparently the compat-db4.7 is bust.
Let us link with 4.8 as a workaround.

Signed-Off-By: Pete Zaitcev <zaitcev@xxxxxxxxxx>

---
 configure.ac |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Not sure how safe or desirable this is, but it seems to work.

commit 77e89dfc8f0a9296ebfb02d5ca34d48f083df50c
Author: Master <zaitcev@xxxxxxxxxxxxxxxxxxx>
Date:   Sun Nov 29 18:12:40 2009 -0700

    Fix crash in __mutex_get_max because db4.7 is toast on F13
    by letting to link against db4.8.

diff --git a/configure.ac b/configure.ac
index b1247b6..aec971f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,11 +73,12 @@ dnl AC_TYPE_PID_T
 dnl -----------------------------
 dnl Checks for required libraries
 dnl -----------------------------
-AC_CHECK_LIB(db-4.7, db_create, DB4_LIBS=-ldb-4.7,
+AC_CHECK_LIB(db-4.8, db_create, DB4_LIBS=-ldb-4.8,
+	AC_CHECK_LIB(db-4.7, db_create, DB4_LIBS=-ldb-4.7,
 	AC_CHECK_LIB(db-4.6, db_create, DB4_LIBS=-ldb-4.6,
 	AC_CHECK_LIB(db-4.5, db_create, DB4_LIBS=-ldb-4.5,
 	AC_CHECK_LIB(db-4.4, db_create, DB4_LIBS=-ldb-4.4,
-	AC_CHECK_LIB(db-4.3, db_create, DB4_LIBS=-ldb-4.3, exit 1)))))
+	AC_CHECK_LIB(db-4.3, db_create, DB4_LIBS=-ldb-4.3, exit 1))))))
 AC_CHECK_LIB(argp, argp_parse, ARGP_LIBS=-largp)
 AC_CHECK_LIB(crypto, MD5_Init, CRYPTO_LIBS=-lcrypto)
 AC_CHECK_LIB(resolv, ns_initparse, RESOLV_LIBS=-lresolv)
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux