Summary: | app-crypt/heimdal fails to build with sys-libs/db:5.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Kerberos Maintainers <kerberos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 319587 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2010-05-14 10:37:48 UTC
Created attachment 231421 [details]
Build log
The following patch seems to work for me. Will include in the next bump. Also reported upstream. --- a/lib/hdb/db3.c 2010-05-18 11:31:37.000000000 +0000 +++ b/lib/hdb/db3.c 2010-05-18 11:37:58.000000000 +0000 @@ -268,7 +268,7 @@ db_create(&d, NULL, 0); db->hdb_db = d; -#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1) +#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1) || (DB_VERSION_MAJOR >= 5 ) ret = (*d->open)(db->hdb_db, NULL, fn, NULL, DB_BTREE, myflags, mode); #else ret = (*d->open)(db->hdb_db, fn, NULL, DB_BTREE, myflags, mode); @@ -276,7 +276,7 @@ if (ret == ENOENT) { /* try to open without .db extension */ -#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1) +#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1) || (DB_VERSION_MAJOR >= 5) ret = (*d->open)(db->hdb_db, NULL, db->hdb_name, NULL, DB_BTREE, myflags, mode); #else I would have changed the first comparison to == 4 to make the logic more explicit but the patch looks good anyway. (In reply to comment #3) > I would have changed the first comparison to == 4 to make the logic more > explicit Agreed. Will revize. +*heimdal-1.3.3 (11 Jun 2010) + + 11 Jun 2010; Jeremy Olexa <darkside@gentoo.org> +files/heimdal_db5.patch, + +heimdal-1.3.3.ebuild, +files/heimdal_disable-check-iprop.patch, + +files/heimdal_testsuite.patch, +files/heimdal_testsuite_extra.patch: + Version bump - security bug #322709. Berkeley DB-5.0 compatibility - bug + #319673. Working FEATURES=test. Ldap schema name changed to hdb.schema to + follow upstream. eautoreconf not necessary. |