1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

devel/pecl-ev: fix patch, port was out of sync with quarterly

Somehow head/devel/pecl-ev and the quarterly version became out of sync.
The quarterly one already had a patch for libev/ev.c that covered the
intended change and more. I can't reproduce a build issue with 10.1 or
9.3, so I'm attempting to re-sync the ports at PORTREVISION=2 and then
we can approach any leftover issues that arise. We should then be able
to do a clean MFH as well.

PR:		204895
This commit is contained in:
Mark Felder 2015-12-02 20:18:52 +00:00
parent 16fb85bfce
commit 227ecae76e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402851
2 changed files with 13 additions and 6 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= ev
PORTVERSION= 0.2.15
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-

View File

@ -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 */