Bug 198207

Summary: Fix mail/milter-manager build with clang 3.6.0
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Bartek Rutkowski <robak>
Status: Closed FIXED    
Severity: Affects Many People CC: robak
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 197395    
Attachments:
Description Flags
Fix positioning of _Noreturn attribute for milter-manager's copy of libev none

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!