Date: Thu, 17 Sep 2009 18:18:40 -0300 (BRT) From: Sylvio Cesar <scjamorim@bsd.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mnag@FreeBSD.org Subject: ports/138916: [PATCH] mail/postfix-current: Fixed build to FreeBSD 9 Message-ID: <20090917211840.5B3FE4DA20F@fbsd9.scjamorim.org> Resent-Message-ID: <200909172120.n8HLK1UE064465@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138916 >Category: ports >Synopsis: [PATCH] mail/postfix-current: Fixed build to FreeBSD 9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 17 21:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylvio Cesar >Release: FreeBSD 9.0-CURRENT i386 >Organization: >Environment: System: FreeBSD fbsd9.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Sep 14 01:24:51 BRT 2009 >Description: - Fixed build to FreeBSD 9 You can see the log in mine tinderbox AMD64 http://www.scjamorim.org/Home/postfix-current-2.7.20090712,4-8amd64.log http://www.scjamorim.org/Home/postfix-current-2.7.20090712,4-9amd64.log i386 http://www.scjamorim.org/Home/postfix-current-2.7.20090712,4-8i386.log http://www.scjamorim.org/Home/postfix-current-2.7.20090712,4-9i386.log Port maintainer (mnag@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- postfix-current-2.7.20090712,4.patch begins here --- Index: files/patch-makedefs =================================================================== RCS file: /home/ncvs/ports/mail/postfix-current/files/patch-makedefs,v retrieving revision 1.3 diff -u -u -r1.3 patch-makedefs --- files/patch-makedefs 22 Oct 2007 18:50:27 -0000 1.3 +++ files/patch-makedefs 17 Sep 2009 21:11:18 -0000 @@ -1,10 +1,12 @@ ---- makedefs.orig 2007-08-19 11:28:11.000000000 -0300 -+++ makedefs 2007-10-22 16:37:52.000000000 -0200 -@@ -132,6 +132,8 @@ +--- makedefs.orig 2009-05-11 18:26:46.000000000 -0300 ++++ makedefs 2009-09-15 10:27:12.000000000 -0300 +@@ -144,6 +144,10 @@ ;; FreeBSD.7*) SYSTYPE=FREEBSD7 ;; -+ FreeBSD.8*) SYSTYPE=FREEBSD7 ++ FreeBSD.8*) SYSTYPE=FREEBSD8 ++ ;; ++ FreeBSD.9*) SYSTYPE=FREEBSD9 + ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; Index: files/patch-src__util__sys_defs.h =================================================================== RCS file: /home/ncvs/ports/mail/postfix-current/files/patch-src__util__sys_defs.h,v retrieving revision 1.1 diff -u -u -r1.1 patch-src__util__sys_defs.h --- files/patch-src__util__sys_defs.h 30 Jul 2009 00:21:14 -0000 1.1 +++ files/patch-src__util__sys_defs.h 17 Sep 2009 21:11:18 -0000 @@ -1,10 +1,18 @@ ---- src/util/sys_defs.h.orig 2009-07-29 16:58:28.000000000 -0300 -+++ src/util/sys_defs.h 2009-07-29 16:59:15.000000000 -0300 -@@ -110,6 +110,10 @@ +--- src/util/sys_defs.h.orig 2009-05-10 21:45:27.000000000 -0300 ++++ src/util/sys_defs.h 2009-09-15 10:35:15.000000000 -0300 +@@ -25,6 +25,7 @@ + */ + #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ + || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ ++ || 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 @@ #define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */ #endif -+#if (__FreeBSD_version >= 702104 && __FreeBSD_version < 800000) || (__FreeBSD_version >= 800099) ++#if __FreeBSD_version >= 702104 || __FreeBSD_version >= 800100 +#define HAS_CLOSEFROM +#endif + --- postfix-current-2.7.20090712,4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090917211840.5B3FE4DA20F>