ports/184062: Update of www/node==v0.10.22
Amim Knabben
amim.knabben at gmail.com
Tue Nov 19 01:30:00 UTC 2013
>Number: 184062
>Category: ports
>Synopsis: Update of www/node==v0.10.22
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 19 01:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Amim Knabben
>Release: 9.2 i386
>Organization:
>Environment:
FreeBSD devil 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The actual package of Node.JS stable is 0.10.19 on ports, I have compiled the version v0.10.22, with the patch that follows
>How-To-Repeat:
Compile the version 0.10.22 of Node.JS
>Fix:
Patch is attached
Patch attached with submission follows:
--- 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;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list