ports/136459: [patch] mail/postfix: fix build on 8.x

Eygene Ryabinkin rea-fbsd at codelabs.ru
Wed Jul 8 12:10:05 UTC 2009


>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&<F]M.B!%>6=E;F4 at 4GEA8FEN
M:VEN(#QR96$M9F)S9$!C;V1E;&%B<RYR=3X*1&%T93H at 5V5D+"`X($IU;"`R
M,#`Y(#$T.C(R.C,T("LP-#`P"E-U8FIE8W0Z(%M0051#2%T@;6%I;"]P;W-T
M9FEX.B!E;F%B;&4@:70@=&\@8G5I;&0@;VX at 1G)E94)31"`X+G@*"C at M0U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<&5N0E-$('9E<G-I;VX@:7,@>65A<BMM;VYT:"`J
M+PHK(`HK("-I9B!/<&5N0E-$(#X](#$Y.3 at P-0D)"2\J(%A86"`J+PHM+2`*
),2XV+C,N,0H*
`
end
--- 2.6.2-fix-8.x-build.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list