From owner-svn-ports-all@FreeBSD.ORG Tue Mar 17 19:32:36 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 783EA5C8; Tue, 17 Mar 2015 19:32:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63759EA0; Tue, 17 Mar 2015 19:32:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HJWaa2069891; Tue, 17 Mar 2015 19:32:36 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2HJWaSo069890; Tue, 17 Mar 2015 19:32:36 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201503171932.t2HJWaSo069890@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Tue, 17 Mar 2015 19:32:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381515 - head/devel/pecl-ev/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 19:32:36 -0000 Author: robak Date: Tue Mar 17 19:32:35 2015 New Revision: 381515 URL: https://svnweb.freebsd.org/changeset/ports/381515 QAT: https://qat.redports.org/buildarchive/r381515/ Log: devel/pecl-ev: fix clang 3.6 build PR: 198141 Submitted by: Dimitry Andric Approved by: maintainer Added: head/devel/pecl-ev/files/ head/devel/pecl-ev/files/patch-libev__ev.c (contents, props changed) Added: head/devel/pecl-ev/files/patch-libev__ev.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pecl-ev/files/patch-libev__ev.c Tue Mar 17 19:32:35 2015 (r381515) @@ -0,0 +1,18 @@ +--- libev/ev.c.orig 2014-12-08 18:18:51.000000000 +0100 ++++ libev/ev.c 2015-03-01 22:43:14.480908000 +0100 +@@ -1006,12 +1006,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 */