diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2009-09-14 16:37:25 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2009-09-14 16:37:25 +0000 |
commit | da0907606807548d521541615fb798c624dd8012 (patch) | |
tree | 7e6ff6b90a1fce90b76c0b8961b251dc6b418b10 /mail/postfix25 | |
parent | c5b97e57755db89c7e7b56add0ea421a30e1b2b2 (diff) | |
download | ports-da0907606807548d521541615fb798c624dd8012.tar.gz ports-da0907606807548d521541615fb798c624dd8012.zip |
Fix build on 9.
Approved by: maintainer
Reviewed by: wxs@, keramida@
Notes
Notes:
svn path=/head/; revision=241402
Diffstat (limited to 'mail/postfix25')
-rw-r--r-- | mail/postfix25/files/patch-makedefs | 4 | ||||
-rw-r--r-- | mail/postfix25/files/patch-src::util::sys_defs.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/mail/postfix25/files/patch-makedefs b/mail/postfix25/files/patch-makedefs index 0379a3aa9b54..59dd2ccb8d95 100644 --- a/mail/postfix25/files/patch-makedefs +++ b/mail/postfix25/files/patch-makedefs @@ -1,11 +1,13 @@ --- makedefs.orig 2009-07-17 18:21:25.000000000 -0400 +++ makedefs 2009-07-17 18:23:12.000000000 -0400 -@@ -144,6 +144,8 @@ +@@ -144,6 +144,10 @@ ;; FreeBSD.7*) SYSTYPE=FREEBSD7 ;; + FreeBSD.8*) SYSTYPE=FREEBSD8 + ;; ++ FreeBSD.9*) SYSTYPE=FREEBSD9 ++ ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; OpenBSD.3*) SYSTYPE=OPENBSD3 diff --git a/mail/postfix25/files/patch-src::util::sys_defs.h b/mail/postfix25/files/patch-src::util::sys_defs.h index 8155b8aa7d46..61f5186e8693 100644 --- a/mail/postfix25/files/patch-src::util::sys_defs.h +++ b/mail/postfix25/files/patch-src::util::sys_defs.h @@ -4,15 +4,16 @@ */ #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,10 @@ +@@ -110,6 +111,11 @@ #define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */ #endif -+#if __FreeBSD_version >= 702104 || __FreeBSD_version >= 800100 ++#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \ ++ || __FreeBSD_version >= 800100 +#define HAS_CLOSEFROM +#endif + |