Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2013 13:44:01 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311117 - in head/devel/pecl-ev: . files
Message-ID:  <201301281344.r0SDi12Z086181@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jan 28 13:44:00 2013
New Revision: 311117
URL: http://svnweb.freebsd.org/changeset/ports/311117

Log:
  1: Upgrade to 0.2.3
  2: add 2 patches for clang.
  
  PR:		ports/175646
  Submitted by:	maintainer

Added:
  head/devel/pecl-ev/files/
  head/devel/pecl-ev/files/patch-watcher.c   (contents, props changed)
  head/devel/pecl-ev/files/patch-watcher.h   (contents, props changed)
Modified:
  head/devel/pecl-ev/Makefile
  head/devel/pecl-ev/distinfo

Modified: head/devel/pecl-ev/Makefile
==============================================================================
--- head/devel/pecl-ev/Makefile	Mon Jan 28 13:15:15 2013	(r311116)
+++ head/devel/pecl-ev/Makefile	Mon Jan 28 13:44:00 2013	(r311117)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ev
-PORTVERSION=	0.2.2
+PORTVERSION=	0.2.3
 CATEGORIES=	devel
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -14,20 +14,11 @@ COMMENT=	Libev extension for PHP
 
 LICENSE=	PHP301
 
+USE_PHP=	yes
 USE_PHP_BUILD=	yes
 USE_PHPIZE=	yes
 USE_PHPEXT=	yes
 PHP_MODNAME=	ev
 IGNORE_WITH_PHP=4 52 53
 
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/include/php/ext/sockets/php_sockets.h)
-USE_PHP=	sockets
-CONFIGURE_ARGS+=	--enable-ev-sockets
-.else
-USE_PHP=	yes
-CONFIGURE_ARGS+=	--disable-ev-sockets
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/pecl-ev/distinfo
==============================================================================
--- head/devel/pecl-ev/distinfo	Mon Jan 28 13:15:15 2013	(r311116)
+++ head/devel/pecl-ev/distinfo	Mon Jan 28 13:44:00 2013	(r311117)
@@ -1,2 +1,2 @@
-SHA256 (PECL/ev-0.2.2.tgz) = 059b17ec9a1c8f77bdc5531433b565392b7e53860e5208fa50e83443c5ea580b
-SIZE (PECL/ev-0.2.2.tgz) = 93696
+SHA256 (PECL/ev-0.2.3.tgz) = 80ca5927f19d55977677681a1ad8d498cef28a9d237456fe9c20925f4b19389f
+SIZE (PECL/ev-0.2.3.tgz) = 92926

Added: head/devel/pecl-ev/files/patch-watcher.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-ev/files/patch-watcher.c	Mon Jan 28 13:44:00 2013	(r311117)
@@ -0,0 +1,11 @@
+--- watcher.c.orig	2013-01-28 21:38:15.000000000 +0800
++++ watcher.c	2013-01-28 21:38:24.000000000 +0800
+@@ -27,7 +27,7 @@
+ extern zend_class_entry *ev_loop_class_entry_ptr;
+ 
+ /* {{{ php_ev_set_watcher_priority() */
+-inline void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC)
++void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC)
+ {
+ 	PHP_EV_CHECK_PENDING_WATCHER(watcher);	
+ 	ev_set_priority(watcher, priority);

Added: head/devel/pecl-ev/files/patch-watcher.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-ev/files/patch-watcher.h	Mon Jan 28 13:44:00 2013	(r311117)
@@ -0,0 +1,11 @@
+--- watcher.h.orig	2013-01-28 21:38:20.000000000 +0800
++++ watcher.h	2013-01-28 21:38:27.000000000 +0800
+@@ -131,7 +131,7 @@ void php_ev_set_watcher(ev_watcher *w, s
+ void *php_ev_new_watcher(size_t size, zval *self, php_ev_loop *loop,
+ 		const zend_fcall_info *pfci, const zend_fcall_info_cache *pfcc, zval *data, int priority TSRMLS_DC);
+ void php_ev_stop_watcher(ev_watcher *watcher TSRMLS_DC);
+-inline void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC);
++void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC);
+ void php_ev_start_watcher(ev_watcher *watcher TSRMLS_DC);
+ 
+ #endif /* PHP_EV_WATCHER_H */



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