Date: Tue, 17 Mar 2015 19:16:47 +0000 (UTC) From: Bartek Rutkowski <robak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381506 - head/devel/pecl-eio/files Message-ID: <201503171916.t2HJGlVt059870@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: robak Date: Tue Mar 17 19:16:46 2015 New Revision: 381506 URL: https://svnweb.freebsd.org/changeset/ports/381506 QAT: https://qat.redports.org/buildarchive/r381506/ 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> Added: head/devel/pecl-eio/files/ head/devel/pecl-eio/files/patch-libeio__ecb.h (contents, props changed) Added: head/devel/pecl-eio/files/patch-libeio__ecb.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pecl-eio/files/patch-libeio__ecb.h Tue Mar 17 19:16:46 2015 (r381506) @@ -0,0 +1,18 @@ +--- libeio/ecb.h.orig 2013-02-20 12:06:23.000000000 +0100 ++++ libeio/ecb.h 2015-03-01 22:33:58.066666000 +0100 +@@ -452,12 +452,12 @@ + } + #endif + +-#if ECB_GCC_VERSION(4,5) ++#if ECB_GCC_VERSION(4,5) || defined __clang__ + #define ecb_unreachable() __builtin_unreachable () + #else + /* this seems to work fine, but gcc always emits a warning for it :/ */ +- ecb_inline void ecb_unreachable (void) ecb_noreturn; +- ecb_inline void ecb_unreachable (void) { } ++ ecb_inline ecb_noreturn void ecb_unreachable (void); ++ ecb_inline ecb_noreturn void ecb_unreachable (void) { } + #endif + + /* try to tell the compiler that some condition is definitely true */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503171916.t2HJGlVt059870>