summaryrefslogtreecommitdiff
path: root/mail/postfix24
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2009-07-30 00:22:14 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2009-07-30 00:22:14 +0000
commite22727e79aeaeb09a04ece665fd3c9669ad09155 (patch)
tree72655920654ae19edbe0f0dddc2232fa25da1919 /mail/postfix24
parent- Update to 2.7-20090712 (diff)
- Fix build with new closefrom(2)
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=238649
Diffstat (limited to 'mail/postfix24')
-rw-r--r--mail/postfix24/files/patch-src__util__sys_defs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/postfix24/files/patch-src__util__sys_defs.h b/mail/postfix24/files/patch-src__util__sys_defs.h
new file mode 100644
index 000000000000..22119b906d2f
--- /dev/null
+++ b/mail/postfix24/files/patch-src__util__sys_defs.h
@@ -0,0 +1,13 @@
+--- src/util/sys_defs.h.orig 2009-07-29 16:58:28.000000000 -0300
++++ src/util/sys_defs.h 2009-07-29 16:59:15.000000000 -0300
+@@ -110,6 +110,10 @@
+ #define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */
+ #endif
+
++#if (__FreeBSD_version >= 702104 && __FreeBSD_version < 800000) || (__FreeBSD_version >= 800099)
++#define HAS_CLOSEFROM
++#endif
++
+ /* OpenBSD version is year+month */
+
+ #if OpenBSD >= 199805 /* XXX */