From owner-svn-ports-all@FreeBSD.ORG Tue Oct 15 11:33:57 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5DEDB63E; Tue, 15 Oct 2013 11:33:57 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 31929273C; Tue, 15 Oct 2013 11:33:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9FBXv4L051179; Tue, 15 Oct 2013 11:33:57 GMT (envelope-from garga@svn.freebsd.org) Received: (from garga@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9FBXuFO051177; Tue, 15 Oct 2013 11:33:56 GMT (envelope-from garga@svn.freebsd.org) Message-Id: <201310151133.r9FBXuFO051177@svn.freebsd.org> From: Renato Botelho Date: Tue, 15 Oct 2013 11:33:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330384 - in head/security/clamav: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 11:33:57 -0000 Author: garga Date: Tue Oct 15 11:33:56 2013 New Revision: 330384 URL: http://svnweb.freebsd.org/changeset/ports/330384 Log: - Fix issue on sparc64 (maybe other architetures?) that prevent clamav to verify database integrity - Bump PORTREVISION PR: ports/182975 Submitted by: Henry Jalonen Obtained from: clamav git repo (a9d40672390a82e91a8d5c21ee2fe172fca4d2f8) Added: head/security/clamav/files/patch-libclamav__bignum_fast.h (contents, props changed) Modified: head/security/clamav/Makefile Modified: head/security/clamav/Makefile ============================================================================== --- head/security/clamav/Makefile Tue Oct 15 10:22:54 2013 (r330383) +++ head/security/clamav/Makefile Tue Oct 15 11:33:56 2013 (r330384) @@ -3,7 +3,7 @@ PORTNAME= clamav PORTVERSION= 0.98 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF Added: head/security/clamav/files/patch-libclamav__bignum_fast.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/clamav/files/patch-libclamav__bignum_fast.h Tue Oct 15 11:33:56 2013 (r330384) @@ -0,0 +1,32 @@ +--- libclamav/bignum_fast.h ++++ libclamav/bignum_fast.h +@@ -7,6 +7,14 @@ + * + * Tom St Denis, tomstdenis@gmail.com + */ ++ ++/* Oct 1, 2013 ++ * Adding clamav-config.h include here for size-checking on fall-through case ++ */ ++#if HAVE_CONFIG_H ++#include "clamav-config.h" ++#endif ++ + #ifndef TFM_H_ + #define TFM_H_ + +@@ -249,7 +257,13 @@ + typedef signed long long long64; + #endif + #endif +- typedef unsigned long fp_digit; ++ /* The code requires that fp_word be twice the size of fp_digit. ++ * Add size-checking for special case (both long and long long are 64) */ ++ #if (SIZEOF_LONG == 8) && (SIZEOF_LONG_LONG == 8) ++ typedef unsigned int fp_digit; ++ #else ++ typedef unsigned long fp_digit; ++ #endif + typedef ulong64 fp_word; + #endif +