aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix26
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2009-07-09 13:15:07 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2009-07-09 13:15:07 +0000
commit44e01fde03de721121cf3565e69f41d515db2824 (patch)
tree069ffa9c1b4e5534b8723e9be382632efb2bec6c /mail/postfix26
parent47db49860a6ce3673c6b3aa10ad1603c73506c8d (diff)
downloadports-44e01fde03de721121cf3565e69f41d515db2824.tar.gz
ports-44e01fde03de721121cf3565e69f41d515db2824.zip
Notes
Diffstat (limited to 'mail/postfix26')
-rw-r--r--mail/postfix26/files/patch-src::util::sys_defs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/postfix26/files/patch-src::util::sys_defs.h b/mail/postfix26/files/patch-src::util::sys_defs.h
new file mode 100644
index 000000000000..abccef25f52c
--- /dev/null
+++ b/mail/postfix26/files/patch-src::util::sys_defs.h
@@ -0,0 +1,18 @@
+--- src/util/sys_defs.h.orig 2009-07-08 13:38:52.000000000 +0400
++++ src/util/sys_defs.h 2009-07-08 13:46:41.000000000 +0400
+@@ -110,6 +110,15 @@
+ #define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */
+ #endif
+
++#if __FreeBSD_version >= 800100 /*
++ * Actually, slightly before,
++ * but we can't say precisely
++ * when -- FreeBSD wasn't bumped
++ * for closefrom() addition
++ */
++#define HAS_CLOSEFROM
++#endif
++
+ /* OpenBSD version is year+month */
+
+ #if OpenBSD >= 199805 /* XXX */