1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

Add a forgotten patch to fix build on 4.x

Reported by:	krismail
This commit is contained in:
Renato Botelho 2006-04-27 10:49:58 +00:00
parent ef0ca721b7
commit f579b0f139
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160583

View File

@ -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