diff options
author | garga <garga@FreeBSD.org> | 2006-04-27 18:49:58 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-04-27 18:49:58 +0800 |
commit | 18fe9aec3475075dd69bbd509903ead2b73be9a7 (patch) | |
tree | 52887e4722bdf505dc6e15e3521399ec41824234 /security/clamav-devel | |
parent | c9209156acd69e0b4fd1319dc81780eb7a4394a3 (diff) | |
download | freebsd-ports-graphics-18fe9aec3475075dd69bbd509903ead2b73be9a7.tar.gz freebsd-ports-graphics-18fe9aec3475075dd69bbd509903ead2b73be9a7.tar.zst freebsd-ports-graphics-18fe9aec3475075dd69bbd509903ead2b73be9a7.zip |
Add a forgotten patch to fix build on 4.x
Reported by: krismail
Diffstat (limited to 'security/clamav-devel')
-rw-r--r-- | security/clamav-devel/files/patch-libclamav_pst.c | 13 |
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 00000000000..1cc783ec718 --- /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 |