- Fix issue on sparc64 (maybe other architetures?) that prevent clamav to verify
database integrity - Bump PORTREVISION PR: ports/182975 Submitted by: Henry Jalonen <henkka@spheroid.fi> Obtained from: clamav git repo (a9d40672390a82e91a8d5c21ee2fe172fca4d2f8)
This commit is contained in:
parent
be0065ff32
commit
9dafc9e421
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330384
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= clamav
|
||||
PORTVERSION= 0.98
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
32
security/clamav/files/patch-libclamav__bignum_fast.h
Normal file
32
security/clamav/files/patch-libclamav__bignum_fast.h
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user