From 094e8c7157e60b91d0fbe057c0a80671a20d070b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 22 Sep 2012 20:58:10 +0200 Subject: [PATCH] - fix building with bdb 5.x - rel 11 --- wwwcount-db41.patch | 2 +- wwwcount.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwcount-db41.patch b/wwwcount-db41.patch index 1b3d4b0..6357215 100644 --- a/wwwcount-db41.patch +++ b/wwwcount-db41.patch @@ -12,7 +12,7 @@ ret->set_malloc( ret, ldbm_malloc ); */ ret->set_cachesize( ret, 0, dbcachesize, 0 ); -+#if (DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1) ++#if (DB_VERSION_MAJOR == 5) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1)) + err = ret->open( ret, NULL, name, NULL, DB_TYPE, rw, mode); +#else err = ret->open( ret, name, NULL, DB_TYPE, rw, mode); diff --git a/wwwcount.spec b/wwwcount.spec index 01207cf..9d1b0e0 100644 --- a/wwwcount.spec +++ b/wwwcount.spec @@ -8,7 +8,7 @@ Summary: WWW Hit Access Counter Summary(pl.UTF-8): Licznik dostępu do strony WWW Name: wwwcount Version: 2.6 -Release: 10 +Release: 11 Epoch: 1 Group: Networking/Utilities License: BSD-like -- 2.44.0