From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 8 12:10:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726B01065680 for ; Wed, 8 Jul 2009 12:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5758FC13 for ; Wed, 8 Jul 2009 12:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n68CA4eS005333 for ; Wed, 8 Jul 2009 12:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n68CA4Tf005331; Wed, 8 Jul 2009 12:10:04 GMT (envelope-from gnats) Resent-Date: Wed, 8 Jul 2009 12:10:04 GMT Resent-Message-Id: <200907081210.n68CA4Tf005331@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eygene Ryabinkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81149106564A for ; Wed, 8 Jul 2009 12:08:18 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id EBFE18FC13 for ; Wed, 8 Jul 2009 12:08:17 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from shadow.codelabs.ru (shadow.codelabs.ru [144.206.177.8]) by 0.mx.codelabs.ru with esmtps (TLSv1:CAMELLIA256-SHA:256) id 1MOVwe-000AHG-GD for FreeBSD-gnats-submit@freebsd.org; Wed, 08 Jul 2009 16:08:16 +0400 Message-Id: <20090708120819.711E817114@shadow.codelabs.ru> Date: Wed, 8 Jul 2009 16:08:19 +0400 (MSD) From: Eygene Ryabinkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/136459: [patch] mail/postfix: fix build on 8.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eygene Ryabinkin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2009 12:10:05 -0000 >Number: 136459 >Category: ports >Synopsis: [patch] mail/postfix: fix build on 8.x >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 08 12:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eygene Ryabinkin >Release: FreeBSD 8.0-CURRENT amd64 >Organization: Code Labs >Environment: System: FreeBSD 8.0-CURRENT amd64 >Description: Since the addition of the closefrom(2) system call, http://lists.freebsd.org/pipermail/svn-src-all/2009-June/010768.html Postfix fails to build, because it is unaware of this change and tries to push its own version of closefrom(2). >How-To-Repeat: Try to build Postfix port (2.6.2_1,1) on 8-CURRENT after 15th of June 2009. >Fix: The following patch will fix the things. We can do it via Makefile and CFLAGS, but I expect that this patch will go upstream, so it is better to patch the things closer to the original. Since closefrom(2) promised to be MFC'ed, I'll try to keep an eye on this and will submit another variant of patch (if it will be needed). Patched port passes my Tinderbox builds for 6.x, 7.x and 8.x. Two instances of updated port are running fine on my 8.x machines. --- 2.6.2-fix-8.x-build.diff begins here --- begin 644 2.6.2-fix-8.x-build.diff M1G)O;2!F.65A-SEA,C$S,S9C,F8Y,S%F-F9D96,T,&1C9&,X-F9C-#8Q8V$R M($UO;B!397`@,3<@,#`Z,#`Z,#`@,C`P,0I&6=E;F4@4GEA8FEN M:VEN(#QR96$M9F)S9$!C;V1E;&%B7-T96T@8V%L;"!A="!R M979I"!S:&]U;&0@7,O6%B:6YK:6X@/')E M82UF8G-D0&-O9&5L86)S+G)U/@HM+2T*(&UA:6PO<&]S=&9I>"]F:6QE"]F:6QE7-? M9&5F"`P,#`P,#`P M+BYA8F-C968R"BTM+2`O9&5V+VYU;&P**RLK(&(O;6%I;"]P;W-T9FEX+V9I M;&5S+W!A=&-H+7-R8SHZ=71I;#HZ65ARelease-Note: >Audit-Trail: >Unformatted: