diff options
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)); |