diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-12-13 09:32:38 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-12-13 09:32:38 +0000 |
commit | 86bfbfa6c46ae87b335b9b4f4c2f0431699ad85d (patch) | |
tree | c3ba7c36ad095db4d6c9ce15d7a0547f3351e9d1 /databases/rdfdb/files/patch-librdf::db.c | |
parent | rcNG is not 'Next' anymore. s/rcNG/rc.d/ in net/smokeping entry. (diff) |
- utilize USE_BDB
Notes
Notes:
svn path=/head/; revision=179641
Diffstat (limited to 'databases/rdfdb/files/patch-librdf::db.c')
-rw-r--r-- | databases/rdfdb/files/patch-librdf::db.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/rdfdb/files/patch-librdf::db.c b/databases/rdfdb/files/patch-librdf::db.c new file mode 100644 index 000000000000..28f7c9bfc4dd --- /dev/null +++ b/databases/rdfdb/files/patch-librdf::db.c @@ -0,0 +1,14 @@ +--- librdf/db.c.orig Tue Oct 3 20:23:27 2000 ++++ librdf/db.c Mon Jan 2 12:06:39 2006 +@@ -169,7 +169,11 @@ + } + } + ++#if DB_VERSION_MAJOR * 10 + DB_VERSION_MINOR > 40 ++ err = (*db)->open(*db, NULL, name, NULL, type, DB_CREATE | DB_THREAD , 0664); ++#else + err = (*db)->open(*db, name, NULL, type, DB_CREATE | DB_THREAD , 0664); ++#endif + if (err) { + printf("Problems opening %s : %s\n", name, db_strerror(err)); + return err; |