Bug 198207 - Fix mail/milter-manager build with clang 3.6.0
Summary: Fix mail/milter-manager build with clang 3.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks: 197395
  Show dependency treegraph
 
Reported: 2015-03-02 20:59 UTC by Dimitry Andric
Modified: 2015-03-19 15:53 UTC (History)
1 user (show)

See Also:


Attachments
Fix positioning of _Noreturn attribute for milter-manager's copy of libev (1.29 KB, patch)
2015-03-02 20:59 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2015-03-02 20:59:10 UTC
Created attachment 153696 [details]
Fix positioning of _Noreturn attribute for milter-manager's copy of libev

During the exp-run in bug 197395, it was found that mail/milter-manager gives errors with clang 3.6.0:

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-27_12h37m16s/logs/errors/milter-manager-2.0.4.log

This is because the embedded copy of libev places the _Noreturn attribute in an incorrect position.  It can be fixed by the attached patch.

See also bug 197864 (for devel/libev).
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-03-19 15:52:50 UTC
A commit references this bug:

Author: robak
Date: Thu Mar 19 15:52:11 UTC 2015
New revision: 381605
URL: https://svnweb.freebsd.org/changeset/ports/381605

Log:
  mail/milter-manager: fix clang 3.6 build

  PR:		198207
  Submitted by:	Dimitry Andric <dim@FreeBSD.org>

Changes:
  head/mail/milter-manager/files/patch-libev-4.15__ev.c
Comment 2 Bartek Rutkowski freebsd_committer freebsd_triage 2015-03-19 15:53:40 UTC
Committed, thanks for your work!