diff options
| author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2015-07-13 11:39:56 +0000 |
|---|---|---|
| committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2015-07-13 11:39:56 +0000 |
| commit | 6de76292e03d74f1b5fa81314969027accaeb7d5 (patch) | |
| tree | d94ed1fb321f612d98ee759fab4d2089f6ffa16c /devel/libev/files/patch-ev.c | |
| parent | Add support for more variables in elixir.mk. (diff) | |
- Update to 4.20 [1]
- Add license
- Fix install command
PR: 196821 [1]
Submitted by: olivierd [1]
Notes
Notes:
svn path=/head/; revision=391889
Diffstat (limited to 'devel/libev/files/patch-ev.c')
| -rw-r--r-- | devel/libev/files/patch-ev.c | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/devel/libev/files/patch-ev.c b/devel/libev/files/patch-ev.c index cf554c717d5c..7e2ddde60bc1 100644 --- a/devel/libev/files/patch-ev.c +++ b/devel/libev/files/patch-ev.c @@ -1,26 +1,11 @@ ---- ./ev.c.orig 2011-02-09 00:17:37.000000000 +0100 -+++ ./ev.c 2011-08-19 17:01:35.000000000 +0200 -@@ -967,8 +967,8 @@ - #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 */ -@@ -2443,10 +2443,12 @@ +--- ev.c.orig 2015-07-13 11:32:52 UTC ++++ ev.c +@@ -2603,7 +2603,7 @@ ev_recommended_backends (void) EV_THROW + { unsigned int flags = ev_supported_backends (); - #ifndef __NetBSD__ -+#ifndef __FreeBSD__ +-#ifndef __NetBSD__ ++#if !defined(__NetBSD__) && !defined(__FreeBSD__) /* kqueue is borked on everything but netbsd apparently */ /* it usually doesn't work correctly on anything but sockets and pipes */ flags &= ~EVBACKEND_KQUEUE; - #endif -+#endif - #ifdef __APPLE__ - /* only select works correctly on that "unix-certified" platform */ - flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */ |
