diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-19 22:58:12 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-19 22:58:12 +0000 |
commit | a0fa2092233b82d77cdfaeacb2e51c6b14a3f369 (patch) | |
tree | aeb9141f9f8f22d42d6da0b2de9bd1f6ecb1e2ac /net-fs/netatalk/files | |
parent | Make sure that buildsycoca function creates and sets the right permissions on... (diff) | |
download | historical-a0fa2092233b82d77cdfaeacb2e51c6b14a3f369.tar.gz historical-a0fa2092233b82d77cdfaeacb2e51c6b14a3f369.tar.bz2 historical-a0fa2092233b82d77cdfaeacb2e51c6b14a3f369.zip |
Add patch to build with sys-libs/db-4.3.
Package-Manager: portage-2.1_rc1-r3
Diffstat (limited to 'net-fs/netatalk/files')
-rw-r--r-- | net-fs/netatalk/files/digest-netatalk-2.0.3-r2 | 2 | ||||
-rw-r--r-- | net-fs/netatalk/files/netatalk-2.0.3-db43.patch | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-fs/netatalk/files/digest-netatalk-2.0.3-r2 b/net-fs/netatalk/files/digest-netatalk-2.0.3-r2 index 1f207b35e1d9..63044205ed9e 100644 --- a/net-fs/netatalk/files/digest-netatalk-2.0.3-r2 +++ b/net-fs/netatalk/files/digest-netatalk-2.0.3-r2 @@ -1 +1,3 @@ MD5 28092763085783805dc2f00aa2127a3e netatalk-2.0.3.tar.bz2 1471804 +RMD160 29b763400a45797ac4a8e499d5328aa91a091c91 netatalk-2.0.3.tar.bz2 1471804 +SHA256 25e004732f471de0dd9a21ab129ee799da018fce3b313d4ab5e6f52e6e9e3998 netatalk-2.0.3.tar.bz2 1471804 diff --git a/net-fs/netatalk/files/netatalk-2.0.3-db43.patch b/net-fs/netatalk/files/netatalk-2.0.3-db43.patch new file mode 100644 index 000000000000..93d3e4b9ea3b --- /dev/null +++ b/net-fs/netatalk/files/netatalk-2.0.3-db43.patch @@ -0,0 +1,32 @@ +Index: netatalk-2.0.3/bin/cnid/cnid_index.c +=================================================================== +--- netatalk-2.0.3.orig/bin/cnid/cnid_index.c ++++ netatalk-2.0.3/bin/cnid/cnid_index.c +@@ -274,7 +274,11 @@ static int dbif_count(const int dbi, u_i + DB_BTREE_STAT *sp; + DB *db = db_table[dbi].db; + ++#if DB_VERSION_MAJOR > 4 || ( DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3 ) ++ ret = db->stat(db, db_txn, &sp, 0); ++#else + ret = db->stat(db, &sp, 0); ++#endif + + if (ret) { + LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); +Index: netatalk-2.0.3/etc/cnid_dbd/dbif.c +=================================================================== +--- netatalk-2.0.3.orig/etc/cnid_dbd/dbif.c ++++ netatalk-2.0.3/etc/cnid_dbd/dbif.c +@@ -514,7 +514,11 @@ int dbif_count(const int dbi, u_int32_t + DB_BTREE_STAT *sp; + DB *db = db_table[dbi].db; + ++#if DB_VERSION_MAJOR > 4 || ( DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3 ) ++ ret = db->stat(db, db_txn, &sp, 0); ++#else + ret = db->stat(db, &sp, 0); ++#endif + + if (ret) { + LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); |