Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 11:39:57 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391889 - in head/devel/libev: . files
Message-ID:  <201507131139.t6DBdv8P064924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Mon Jul 13 11:39:56 2015
New Revision: 391889
URL: https://svnweb.freebsd.org/changeset/ports/391889

Log:
  - Update to 4.20 [1]
  - Add license
  - Fix install command
  
  PR:		196821 [1]
  Submitted by:	olivierd [1]

Modified:
  head/devel/libev/Makefile
  head/devel/libev/distinfo
  head/devel/libev/files/patch-ev.c

Modified: head/devel/libev/Makefile
==============================================================================
--- head/devel/libev/Makefile	Mon Jul 13 11:23:37 2015	(r391888)
+++ head/devel/libev/Makefile	Mon Jul 13 11:39:56 2015	(r391889)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libev
-PORTVERSION=	4.15
-PORTREVISION=	1
+PORTVERSION=	4.20
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://dist.schmorp.de/libev/ \
@@ -12,6 +11,8 @@ MASTER_SITES=	http://dist.schmorp.de/lib
 MAINTAINER=	vsevolod@FreeBSD.org
 COMMENT=	Full-featured and high-performance event loop library
 
+LICENSE=	BSD2CLAUSE
+
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USES=		libtool pkgconfig
@@ -24,6 +25,6 @@ post-patch:
 		${FILESDIR}/libev.pc.in > ${WRKDIR}/libev.pc
 
 post-install:
-	@${INSTALL_DATA} ${WRKDIR}/libev.pc ${STAGEDIR}${PKGCONFIGDIR}/
+	${INSTALL_DATA} ${WRKDIR}/libev.pc ${STAGEDIR}${PKGCONFIGDIR}/
 
 .include <bsd.port.mk>

Modified: head/devel/libev/distinfo
==============================================================================
--- head/devel/libev/distinfo	Mon Jul 13 11:23:37 2015	(r391888)
+++ head/devel/libev/distinfo	Mon Jul 13 11:39:56 2015	(r391889)
@@ -1,2 +1,2 @@
-SHA256 (libev-4.15.tar.gz) = b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb
-SIZE (libev-4.15.tar.gz) = 513919
+SHA256 (libev-4.20.tar.gz) = f870334c7fa961e7f31087c7d76abf849f596e3048f8ed2a0aaa983cd73d449e
+SIZE (libev-4.20.tar.gz) = 530091

Modified: head/devel/libev/files/patch-ev.c
==============================================================================
--- head/devel/libev/files/patch-ev.c	Mon Jul 13 11:23:37 2015	(r391888)
+++ head/devel/libev/files/patch-ev.c	Mon Jul 13 11:39:56 2015	(r391889)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507131139.t6DBdv8P064924>