diff options
author | des <des@FreeBSD.org> | 2009-09-15 00:37:25 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2009-09-15 00:37:25 +0800 |
commit | 6175d09a5a5e8efc2843abb6a5e01a376e09aec3 (patch) | |
tree | 2c9b9b2513608c3f1331c9fb442176f20349104f /mail/postfix/files | |
parent | 38b6939b9b6c2fc1426c015c4e33dc9e49c3b89a (diff) | |
download | freebsd-ports-gnome-6175d09a5a5e8efc2843abb6a5e01a376e09aec3.tar.gz freebsd-ports-gnome-6175d09a5a5e8efc2843abb6a5e01a376e09aec3.tar.zst freebsd-ports-gnome-6175d09a5a5e8efc2843abb6a5e01a376e09aec3.zip |
Fix build on 9.
Approved by: maintainer
Reviewed by: wxs@, keramida@
Diffstat (limited to 'mail/postfix/files')
-rw-r--r-- | mail/postfix/files/patch-makedefs | 4 | ||||
-rw-r--r-- | mail/postfix/files/patch-src::util::sys_defs.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/mail/postfix/files/patch-makedefs b/mail/postfix/files/patch-makedefs index 0379a3aa9b54..59dd2ccb8d95 100644 --- a/mail/postfix/files/patch-makedefs +++ b/mail/postfix/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/postfix/files/patch-src::util::sys_defs.h b/mail/postfix/files/patch-src::util::sys_defs.h index 8155b8aa7d46..61f5186e8693 100644 --- a/mail/postfix/files/patch-src::util::sys_defs.h +++ b/mail/postfix/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 + |