aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-09-26 21:37:22 +0800
committergarga <garga@FreeBSD.org>2006-09-26 21:37:22 +0800
commit0b6be329e007ed08c28ef1da01caaf8c357233a0 (patch)
tree74de55b298703970e95a7ed032da1bdd404a9aa1 /security
parent2924693d7c1e8ff8a0ad2e09d4ee76549bb6b7d1 (diff)
downloadfreebsd-ports-gnome-0b6be329e007ed08c28ef1da01caaf8c357233a0.tar.gz
freebsd-ports-gnome-0b6be329e007ed08c28ef1da01caaf8c357233a0.tar.zst
freebsd-ports-gnome-0b6be329e007ed08c28ef1da01caaf8c357233a0.zip
- Fix build on 7-CURRENT
Thanks to: mnag
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/files/patch-clamd_session.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/clamav-devel/files/patch-clamd_session.c b/security/clamav-devel/files/patch-clamd_session.c
new file mode 100644
index 000000000000..3cbe01db6bb5
--- /dev/null
+++ b/security/clamav-devel/files/patch-clamd_session.c
@@ -0,0 +1,13 @@
+--- clamd/session.c.orig Wed Sep 13 19:13:20 2006
++++ clamd/session.c Tue Sep 26 09:42:41 2006
+@@ -42,6 +42,10 @@
+ #include <signal.h>
+ #include <errno.h>
+ #include <stddef.h>
++#if (defined(__FreeBSD__) && __FreeBSD_version >= 600000)
++#include <sys/limits.h>
++#endif
++#include <sys/syslimits.h>
+
+ #include "libclamav/clamav.h"
+ #include "libclamav/str.h"