summaryrefslogtreecommitdiff
path: root/security/clamav-devel
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-04-27 10:49:58 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-04-27 10:49:58 +0000
commitf579b0f139ea49b71c8ea9660cb44f7bb97fc5ad (patch)
treebf158a1780eabecc25944d180244bc5c8ddb8806 /security/clamav-devel
parentUpdate from 1.0 to 1.0.1 (diff)
Add a forgotten patch to fix build on 4.x
Reported by: krismail
Notes
Notes: svn path=/head/; revision=160583
Diffstat (limited to 'security/clamav-devel')
-rw-r--r--security/clamav-devel/files/patch-libclamav_pst.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/clamav-devel/files/patch-libclamav_pst.c b/security/clamav-devel/files/patch-libclamav_pst.c
new file mode 100644
index 000000000000..1cc783ec7188
--- /dev/null
+++ b/security/clamav-devel/files/patch-libclamav_pst.c
@@ -0,0 +1,13 @@
+--- libclamav/pst.c.orig Thu Apr 27 07:31:06 2006
++++ libclamav/pst.c Thu Apr 27 07:36:10 2006
+@@ -57,6 +57,10 @@
+
+ #define DEBUG_VERSION 1
+
++#if (__FreeBSD_version < 500000)
++#define INT32_MAX 0x7fffffff
++#endif
++
+ #if WORDS_BIGENDIAN == 0
+ /*
+ * don't use le??_to_host because they generate a huge number of statement with