Index: head/devel/pecl-ev/Makefile =================================================================== --- head/devel/pecl-ev/Makefile (revision 402850) +++ head/devel/pecl-ev/Makefile (revision 402851) @@ -1,24 +1,24 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= ev PORTVERSION= 0.2.15 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Libev extension for PHP LICENSE= PHP301 USES= tar:tgz USE_PHP= yes USE_PHP_BUILD= yes USE_PHPIZE= yes USE_PHPEXT= yes IGNORE_WITH_PHP=52 53 .include Index: head/devel/pecl-ev/files/patch-libev_ev.c =================================================================== --- head/devel/pecl-ev/files/patch-libev_ev.c (revision 402850) +++ head/devel/pecl-ev/files/patch-libev_ev.c (revision 402851) @@ -1,11 +1,18 @@ ---- libev/ev.c.orig 2015-11-29 14:37:29 UTC -+++ libev/ev.c -@@ -1010,7 +1010,7 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t +--- 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_noreturn ecb_inline void ecb_unreachable (void); - ecb_inline void ecb_unreachable (void) { } +- 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 */