[Bug 197867] Fix devel/libeio build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 20 22:02:28 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197867

            Bug ID: 197867
           Summary: Fix devel/libeio build with clang 3.6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: osa at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(osa at FreeBSD.org)
          Assignee: osa at FreeBSD.org

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

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

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/libeio-4.18.0_1.log

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

I propose the following minimal fix, which changes just two lines.

See also bug 197864 (for devel/libev).

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

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


More information about the freebsd-ports-bugs mailing list