[Bug 197939] Fix devel/p5-Async-Interrupt build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 22 23:35:51 UTC 2015


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

            Bug ID: 197939
           Summary: Fix devel/p5-Async-Interrupt 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: perl at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: perl at FreeBSD.org
             Flags: maintainer-feedback?(perl at FreeBSD.org)

Created attachment 153344
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153344&action=edit
Fix devel/p5-Async-Interrupt build with clang 3.6.0

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

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/p5-Async-Interrupt-1.20_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 at FreeBSD.org> ---
Auto-assigned to maintainer perl 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