Date: Thu, 19 Mar 2015 15:52:11 +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: r381605 - head/mail/milter-manager/files Message-ID: <201503191552.t2JFqBZ6018764@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: robak Date: Thu Mar 19 15:52:10 2015 New Revision: 381605 URL: https://svnweb.freebsd.org/changeset/ports/381605 QAT: https://qat.redports.org/buildarchive/r381605/ Log: mail/milter-manager: fix clang 3.6 build PR: 198207 Submitted by: Dimitry Andric <dim@FreeBSD.org> Added: head/mail/milter-manager/files/patch-libev-4.15__ev.c (contents, props changed) Added: head/mail/milter-manager/files/patch-libev-4.15__ev.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/milter-manager/files/patch-libev-4.15__ev.c Thu Mar 19 15:52:10 2015 (r381605) @@ -0,0 +1,18 @@ +--- libev-4.15/ev.c.orig 2014-05-20 06:54:23.272151000 +0200 ++++ libev-4.15/ev.c 2015-03-02 21:52:59.621578000 +0100 +@@ -963,12 +963,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?201503191552.t2JFqBZ6018764>