Bug 198007

Summary: Fix devel/rubygem-nio4r with clang 3.6.0
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 197395    
Attachments:
Description Flags
Fix positioning of _Noreturn attribute for nio4r's copy of libev none

Description Dimitry Andric freebsd_committer freebsd_triage 2015-02-24 20:27:41 UTC
Created attachment 153468 [details]
Fix positioning of _Noreturn attribute for nio4r's copy of libev

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

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/rubygem-nio4r-1.1.0.log

I propose the following minimal fix, which changes just a few lines in the embedded copy of libev.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-24 20:27:41 UTC
Auto-assigned to maintainer sunpoet@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-02-28 16:44:22 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Feb 28 16:43:43 UTC 2015
New revision: 380152
URL: https://svnweb.freebsd.org/changeset/ports/380152

Log:
  - Fix build with Clang 3.6.0

  PR:		198007
  Submitted by:	dim

Changes:
  head/devel/rubygem-nio4r/files/
  head/devel/rubygem-nio4r/files/patch-ext-libev-ev.c
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-02-28 16:44:48 UTC
Committed. Thanks!