aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix26/files
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2009-07-22 19:46:39 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2009-07-22 19:46:39 +0000
commit0b6a009ebf244658dd5131a9357c98d17bc74662 (patch)
tree185d4d77ca086809ffe3769b0551537e82ee300b /mail/postfix26/files
parentb2681e7a8f107b2442530b32c84e2fb490d6731e (diff)
downloadports-0b6a009ebf244658dd5131a9357c98d17bc74662.tar.gz
ports-0b6a009ebf244658dd5131a9357c98d17bc74662.zip
Notes
Diffstat (limited to 'mail/postfix26/files')
-rw-r--r--mail/postfix26/files/patch-makedefs6
-rw-r--r--mail/postfix26/files/patch-src::util::sys_defs.h21
2 files changed, 15 insertions, 12 deletions
diff --git a/mail/postfix26/files/patch-makedefs b/mail/postfix26/files/patch-makedefs
index 98ef2a03dbc8..0379a3aa9b54 100644
--- a/mail/postfix26/files/patch-makedefs
+++ b/mail/postfix26/files/patch-makedefs
@@ -1,10 +1,10 @@
---- makedefs.orig 2009-05-11 17:26:46.000000000 -0400
-+++ makedefs 2009-05-11 17:26:46.000000000 -0400
+--- makedefs.orig 2009-07-17 18:21:25.000000000 -0400
++++ makedefs 2009-07-17 18:23:12.000000000 -0400
@@ -144,6 +144,8 @@
;;
FreeBSD.7*) SYSTYPE=FREEBSD7
;;
-+ FreeBSD.8*) SYSTYPE=FREEBSD7
++ FreeBSD.8*) SYSTYPE=FREEBSD8
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
diff --git a/mail/postfix26/files/patch-src::util::sys_defs.h b/mail/postfix26/files/patch-src::util::sys_defs.h
index abccef25f52c..8155b8aa7d46 100644
--- a/mail/postfix26/files/patch-src::util::sys_defs.h
+++ b/mail/postfix26/files/patch-src::util::sys_defs.h
@@ -1,15 +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 @@
+--- src/util/sys_defs.h.orig 2009-05-11 03:45:27.000000000 +0300
++++ src/util/sys_defs.h 2009-07-22 21:26:44.208909929 +0300
+@@ -25,6 +25,7 @@
+ */
+ #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
+ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
++ || defined(FREEBSD8) \
+ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
+ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+ || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
+@@ -110,6 +111,10 @@
#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
-+ */
++#if __FreeBSD_version >= 702104 || __FreeBSD_version >= 800100
+#define HAS_CLOSEFROM
+#endif
+