summaryrefslogtreecommitdiff
path: root/mail/postfix-current/files/patch-src__util__sys_defs.h
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2009-12-04 11:52:18 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2009-12-04 11:52:18 +0000
commitc0b6c668ec6f2c26ddfd422670db299754482704 (patch)
tree1fa77767a3061676bb7629f5136e43c9fcbf58d3 /mail/postfix-current/files/patch-src__util__sys_defs.h
parent- Update to 1.6.1 (diff)
- Update to 2.7-20091115
Diffstat (limited to 'mail/postfix-current/files/patch-src__util__sys_defs.h')
-rw-r--r--mail/postfix-current/files/patch-src__util__sys_defs.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/postfix-current/files/patch-src__util__sys_defs.h b/mail/postfix-current/files/patch-src__util__sys_defs.h
index 68b537c624e1..62c6386c22c1 100644
--- a/mail/postfix-current/files/patch-src__util__sys_defs.h
+++ b/mail/postfix-current/files/patch-src__util__sys_defs.h
@@ -1,22 +1,21 @@
---- src/util/sys_defs.h.orig 2009-06-07 15:47:59.000000000 -0300
-+++ src/util/sys_defs.h 2009-09-27 16:30:18.000000000 -0300
-@@ -25,6 +25,7 @@
+--- src/util/sys_defs.h.orig 2009-12-03 22:30:03.000000000 -0200
++++ src/util/sys_defs.h 2009-12-03 22:31:51.000000000 -0200
+@@ -25,7 +25,7 @@
*/
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
+- || defined(FREEBSD8) \
+ || defined(FREEBSD8) || defined(FREEBSD9) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
-@@ -110,6 +111,11 @@
+@@ -111,7 +111,8 @@
#define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */
#endif
+-#if __FreeBSD_version >= 800107 /* safe; don't believe the experts */
+#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \
+ || __FreeBSD_version >= 800100
-+#define HAS_CLOSEFROM
-+#endif
-+
- /* OpenBSD version is year+month */
+ #define HAS_CLOSEFROM
+ #endif
- #if OpenBSD >= 199805 /* XXX */