From: Jan Rękorajski Date: Sat, 22 Sep 2012 18:58:10 +0000 (+0200) Subject: - fix building with bdb 5.x X-Git-Tag: auto/th/wwwcount-2.6-11 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=094e8c7157e60b91d0fbe057c0a80671a20d070b;p=packages%2Fwwwcount.git - fix building with bdb 5.x - rel 11 --- 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