Bug 198140

Summary: Fix devel/pecl-eio 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: gasol.wu, robak
Priority: --- Flags: bugzilla: maintainer-feedback? (gasol.wu)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 197395    
Attachments:
Description Flags
Fix positioning of _Noreturn attribute for libeio none

Description Dimitry Andric freebsd_committer freebsd_triage 2015-03-01 21:39:06 UTC
Created attachment 153649 [details]
Fix positioning of _Noreturn attribute for libeio

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

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-27_12h37m16s/logs/errors/pecl-eio-1.2.1.log

This is because the embedded copy of libeio places the _Noreturn attribute in an incorrect position.  It can be fixed by the attached patch.

See also bug 197867 (for devel/libeio).
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-03-17 19:16:54 UTC
A commit references this bug:

Author: robak
Date: Tue Mar 17 19:16:47 UTC 2015
New revision: 381506
URL: https://svnweb.freebsd.org/changeset/ports/381506

Log:
  devel/pecl-eio: fix clang 3.6 build

  - Maintainer's timeout (gasol.wu@gmail.com)

  PR:		198140
  Submitted by:	Dimitry Andric <dim@FreeBSD.org>

Changes:
  head/devel/pecl-eio/files/
  head/devel/pecl-eio/files/patch-libeio__ecb.h
Comment 2 Bartek Rutkowski freebsd_committer freebsd_triage 2015-03-17 19:17:46 UTC
Committed, thanks for your work!