RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Per Øyvind Karlsen Root: /v/rpm/cvs Email: pkarl...@rpm5.org Module: rpm Date: 15-Jan-2011 01:53:18 Branch: rpm-5_3 Handle: 2011011500531700 Modified files: (Branch: rpm-5_3) rpm/rpmdb tjfn.c Log: fix build with db 5.x Summary: Revision Changes Path 1.9.4.1 +1 -1 rpm/rpmdb/tjfn.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmdb/tjfn.c ============================================================================ $ cvs diff -u -r1.9 -r1.9.4.1 tjfn.c --- rpm/rpmdb/tjfn.c 25 Dec 2008 22:24:37 -0000 1.9 +++ rpm/rpmdb/tjfn.c 15 Jan 2011 00:53:17 -0000 1.9.4.1 @@ -72,7 +72,7 @@ goto err; } -#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1) +#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1) || (DB_VERSION_MAJOR == 5) ret = (db->open)(db, NULL, dbfn, NULL, DB_BTREE, DB_CREATE, 0664); #else ret = (db->open)(db, dbfn, NULL, DB_BTREE, DB_CREATE, 0664); @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org