freebsd-ports/mail/postfix/files/patch-src::util::sys_defs.h
Ion-Mihai Tetcu 7e3fb438eb - Update to 2.7.0
- users wanting to continue on 2.6 series should use mail/postfix26

PR:		144189
Submitted by:	Sahil Tandon (maintainer)
Feature safe:	yes
2010-03-04 17:00:47 +00:00

21 lines
859 B
C

--- src/util/sys_defs.h.orig 2010-02-16 20:15:11.000000000 -0500
+++ src/util/sys_defs.h 2010-02-16 20:19:41.000000000 -0500
@@ -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) \
@@ -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