diff options
Diffstat (limited to 'bogofilter-1.1.5.glibc.patch')
-rw-r--r-- | bogofilter-1.1.5.glibc.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/bogofilter-1.1.5.glibc.patch b/bogofilter-1.1.5.glibc.patch new file mode 100644 index 0000000..f02e2f1 --- /dev/null +++ b/bogofilter-1.1.5.glibc.patch @@ -0,0 +1,40 @@ +--- src/datastore_db.c 2006-07-02 23:38:55.000000000 +0200 ++++ src/datastore_db.c.new 2007-08-23 12:21:37.000000000 +0200 +@@ -181,7 +181,7 @@ + else + file = bfp->filename; + +- ret = db->open(db, ++ ret = (db->open)(db, + #if DB_AT_LEAST(4,1) + 0, /* TXN handle - we use autocommit instead */ + #endif +--- src/datastore_db_trans.c 2006-05-29 16:28:00.000000000 +0200 ++++ src/datastore_db_trans.c.new 2007-08-23 12:21:37.000000000 +0200 +@@ -215,7 +215,7 @@ + * environment in heap memory, so we don't need to remove it. + */ + +- e = dbe->open(dbe, bfp->dirname, ++ e = (dbe->open)(dbe, bfp->dirname, + dbenv_defflags | local_flags | DB_RECOVER, DS_MODE); + if (e != 0) { + print_error(__FILE__, __LINE__, "Cannot recover environment \"%s\": %s", +@@ -502,7 +502,7 @@ + + flags |= DB_CREATE | dbenv_defflags; + +- ret = env->dbe->open(env->dbe, bfp->dirname, flags, DS_MODE); ++ ret = (env->dbe->open)(env->dbe, bfp->dirname, flags, DS_MODE); + if (ret != 0) { + env->dbe->close(env->dbe, 0); + print_error(__FILE__, __LINE__, "DB_ENV->open, err: %d, %s", ret, db_strerror(ret)); +@@ -873,7 +873,7 @@ + * effort, we'll just check for DB_RUNRECOVERY */ + + #if DB_AT_LEAST(3,2) +- r = dbe->open(dbe, bfp->dirname, DB_JOINENV, DS_MODE); ++ r = (dbe->open)(dbe, bfp->dirname, DB_JOINENV, DS_MODE); + #else + r = ENOENT; + #endif |