From owner-svn-ports-head@FreeBSD.ORG Sat Feb 28 16:43:43 2015 Return-Path: Delivered-To: svn-ports-head@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 50AB22A8; Sat, 28 Feb 2015 16:43:43 +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 3B421C73; Sat, 28 Feb 2015 16:43:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1SGhgg6062536; Sat, 28 Feb 2015 16:43:42 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1SGhgkh062535; Sat, 28 Feb 2015 16:43:42 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201502281643.t1SGhgkh062535@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 28 Feb 2015 16:43:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r380152 - head/devel/rubygem-nio4r/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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 16:43:43 -0000 Author: sunpoet Date: Sat Feb 28 16:43:42 2015 New Revision: 380152 URL: https://svnweb.freebsd.org/changeset/ports/380152 QAT: https://qat.redports.org/buildarchive/r380152/ Log: - Fix build with Clang 3.6.0 PR: 198007 Submitted by: dim Added: head/devel/rubygem-nio4r/files/ head/devel/rubygem-nio4r/files/patch-ext-libev-ev.c (contents, props changed) Added: head/devel/rubygem-nio4r/files/patch-ext-libev-ev.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-nio4r/files/patch-ext-libev-ev.c Sat Feb 28 16:43:42 2015 (r380152) @@ -0,0 +1,18 @@ +--- ext/libev/ev.c.orig 2015-02-24 21:22:11.038934000 +0100 ++++ ext/libev/ev.c 2015-02-24 21:23:03.298987000 +0100 +@@ -1026,12 +1026,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 void ecb_noreturn ecb_unreachable (void); ++ ecb_inline void ecb_noreturn ecb_unreachable (void) { } + #endif + + /* try to tell the compiler that some condition is definitely true */