svn commit: r383971 - in head/devel/rubygem-cool.io: . files
Jun Kuriyama
kuriyama at FreeBSD.org
Tue Apr 14 01:31:43 UTC 2015
Author: kuriyama
Date: Tue Apr 14 01:31:41 2015
New Revision: 383971
URL: https://svnweb.freebsd.org/changeset/ports/383971
Log:
- Mark as MIT license.
- Fix build with clang 3.6.0 [1]
PR: ports/198006 [1]
Submitted by: dim [1]
Added:
head/devel/rubygem-cool.io/files/
head/devel/rubygem-cool.io/files/patch-ext__libev__ev.c (contents, props changed)
Modified:
head/devel/rubygem-cool.io/Makefile
Modified: head/devel/rubygem-cool.io/Makefile
==============================================================================
--- head/devel/rubygem-cool.io/Makefile Tue Apr 14 01:27:51 2015 (r383970)
+++ head/devel/rubygem-cool.io/Makefile Tue Apr 14 01:31:41 2015 (r383971)
@@ -2,12 +2,15 @@
PORTNAME= cool.io
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= kuriyama at FreeBSD.org
COMMENT= Gems for cool.io
+LICENSE= MIT
+
RUN_DEPENDS= \
rubygem-iobuffer>=1.0.0:${PORTSDIR}/devel/rubygem-iobuffer
Added: head/devel/rubygem-cool.io/files/patch-ext__libev__ev.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-cool.io/files/patch-ext__libev__ev.c Tue Apr 14 01:31:41 2015 (r383971)
@@ -0,0 +1,21 @@
+--- devel/rubygem-cool.io/files/patch-ext__libev__ev.c (revision 0)
++++ devel/rubygem-cool.io/files/patch-ext__libev__ev.c (working copy)
+@@ -0,0 +1,18 @@
++--- ext/libev/ev.c.orig 2015-02-24 21:12:24.501215000 +0100
+++++ ext/libev/ev.c 2015-02-24 21:16:08.576108000 +0100
++@@ -967,12 +967,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 */
More information about the svn-ports-head
mailing list