aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-19 18:12:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-19 18:12:14 +0800
commit885b1aba4ad7dea1d0e7794d999ef5835a1f936a (patch)
treeace490b72a4240ee54383f5dc7b9b6aea3a2b389 /www
parent5aa8ac394547290c43ea77083bf20e21074af39a (diff)
downloadfreebsd-ports-gnome-885b1aba4ad7dea1d0e7794d999ef5835a1f936a.tar.gz
freebsd-ports-gnome-885b1aba4ad7dea1d0e7794d999ef5835a1f936a.tar.zst
freebsd-ports-gnome-885b1aba4ad7dea1d0e7794d999ef5835a1f936a.zip
- Update to 0.10.22
- Fix PLIST: add missing manpage - While I'm here, add LICENSE Changes: https://github.com/joyent/node/blob/v0.10.22-release/ChangeLog PR: ports/184062 Submitted by: Amim Knabben <amim.knabben@gmail.com> Approved by: Daniel Lin <linpct@gmail.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/node/Makefile4
-rw-r--r--www/node/distinfo4
-rw-r--r--www/node/files/patch-kqueue.c28
-rw-r--r--www/node/pkg-plist1
4 files changed, 33 insertions, 4 deletions
diff --git a/www/node/Makefile b/www/node/Makefile
index 69dfd1c42593..aec54fd99470 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= node
-PORTVERSION= 0.10.21
+PORTVERSION= 0.10.22
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
@@ -10,6 +10,8 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= linpct@gmail.com
COMMENT= V8 JavaScript for client and server
+LICENSE= MIT
+
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
HAS_CONFIGURE= yes
diff --git a/www/node/distinfo b/www/node/distinfo
index 369dfe97a7ef..fcaef21c00f1 100644
--- a/www/node/distinfo
+++ b/www/node/distinfo
@@ -1,2 +1,2 @@
-SHA256 (node-v0.10.21.tar.gz) = 7c125bf22c1756064f2a68310d4822f77c8134ce178b2faa6155671a8124140d
-SIZE (node-v0.10.21.tar.gz) = 13647047
+SHA256 (node-v0.10.22.tar.gz) = 157fc58b3f1d109baefac4eb1d32ae747de5e6d55d87d0e9bec8f8dd10679e7e
+SIZE (node-v0.10.22.tar.gz) = 13686897
diff --git a/www/node/files/patch-kqueue.c b/www/node/files/patch-kqueue.c
new file mode 100644
index 000000000000..e29f12c128db
--- /dev/null
+++ b/www/node/files/patch-kqueue.c
@@ -0,0 +1,28 @@
+--- deps/uv/src/unix/kqueue.orig 2013-11-18 23:14:54.000000000 -0200
++++ deps/uv/src/unix/kqueue.c 2013-11-18 23:16:51.000000000 -0200
+@@ -263,6 +263,25 @@
+ }
+ }
+
++
++void uv__platform_invalidate_fd(uv_loop_t* loop, int fd) {
++ struct kevent* events;
++ uintptr_t i;
++ uintptr_t nfds;
++
++ assert(loop->watchers != NULL);
++
++ events = (struct kevent*) loop->watchers[loop->nwatchers];
++ nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1];
++ if (events == NULL)
++ return;
++
++ /* Invalidate events with same file descriptor */
++ for (i = 0; i < nfds; i++)
++ if ((int) events[i].ident == fd)
++ events[i].ident = -1;
++}
++
+
+ static void uv__fs_event(uv_loop_t* loop, uv__io_t* w, unsigned int fflags) {
+ uv_fs_event_t* handle;
diff --git a/www/node/pkg-plist b/www/node/pkg-plist
index 407ebc873d62..6108ad1fcba0 100644
--- a/www/node/pkg-plist
+++ b/www/node/pkg-plist
@@ -1,6 +1,5 @@
bin/node
lib/dtrace/node.d
lib/node_modules/.keepme
-man/man1/node.1.gz
@dirrm lib/node_modules
@dirrm lib/dtrace