On 25 May 2014, at 21:38, Milan Obuch <freebsd-po...@dino.sk> wrote: > pkg-fallout-buil...@freebsd.org sends me every other day mails about > failing mail/courier build for both 10.0 and 11.0 FreeBSD versions. > There is some incompatibility with GCC 4.7, which is used to build > mail/courier on systems with system compiler switched to clang. It > works, however, with GCC 4.6, this is tested on both 10.0-STABLE and > 11.0-CURRENT systems, both i386 and amd64 architectures.
Please try this diff, which makes mail/courier compile with clang. I also verified that it builds with gcc 4.7 and 4.8. -Dimitry
mail__courier-fix-c++-1.diff
Description: Binary data
signature.asc
Description: Message signed with OpenPGP using GPGMail