Bug 198140 - Fix devel/pecl-eio build with clang 3.6.0
Summary: Fix devel/pecl-eio build with clang 3.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks: 197395
  Show dependency treegraph
 
Reported: 2015-03-01 21:39 UTC by Dimitry Andric
Modified: 2015-03-17 19:17 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gasol.wu)


Attachments
Fix positioning of _Noreturn attribute for libeio (1.25 KB, patch)
2015-03-01 21:39 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!