Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 21:30:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197864] Fix devel/libev build with clang 3.6.0
Message-ID:  <bug-197864-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197864

            Bug ID: 197864
           Summary: Fix devel/libev build with clang 3.6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vsevolod@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(vsevolod@FreeBSD.org)
          Assignee: vsevolod@FreeBSD.org

Created attachment 153246
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153246&action=edit
Fix positioning of _Noreturn attribute for libev

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

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/libev-4.15_1,1.log

This is because clang 3.6.0 defaults to C11, and libev puts its ecb_noreturn in
the wrong place, at the end of a function declaration.

The placement was fixed by upstream here:

http://cvs.schmorp.de/libev/ev.c?r1=1.473&r2=1.474

but this also has a lot of other unneeded changes.  So I propose the following
minimal fix, which changes just two lines.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer vsevolod@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197864-13>