Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/havp/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 3 Aug 2006 14:46:24 -0000 1.2 +++ Makefile 18 Feb 2007 17:40:40 -0000 @@ -7,6 +7,7 @@ PORTNAME= havp PORTVERSION= 0.82 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.server-side.de/download/ \ http://bio3k.softboard.ru/uploads/arch/ Index: files/patch-havp_scanners_clamlibscanner.cpp =================================================================== RCS file: files/patch-havp_scanners_clamlibscanner.cpp diff -N files/patch-havp_scanners_clamlibscanner.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-havp_scanners_clamlibscanner.cpp 18 Feb 2007 17:40:40 -0000 @@ -0,0 +1,20 @@ +--- havp/scanners/clamlibscanner.cpp.orig Sun Feb 18 15:32:07 2007 ++++ havp/scanners/clamlibscanner.cpp Sun Feb 18 15:32:35 2007 +@@ -29,7 +29,7 @@ + + LogFile::ErrorMessage("ClamAV: Using database directory: %s\n", dbdir); + +- if ( (ret = cl_loaddbdir(dbdir, &root, &no)) != 0 ) ++ if ( (ret = cl_load(dbdir, &root, &no, CL_DB_STDOPT)) != 0 ) + { + LogFile::ErrorMessage("ClamAV: Could not load database: %s\n", cl_strerror(ret)); + return false; +@@ -65,7 +65,7 @@ + + cl_settempdir(Params::GetConfigString("TEMPDIR").c_str(), 0); + +- if ( (ret = cl_loaddbdir(dbdir, &root, &no)) != 0 ) ++ if ( (ret = cl_load(dbdir, &root, &no, CL_DB_STDOPT)) != 0 ) + { + LogFile::ErrorMessage("ClamAV: Could not reload database: %s\n", cl_strerror(ret)); + return false;