git: 6bba85a1585f - main - devel/rubygem-io-event: Update to 1.3.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 20:44:33 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bba85a1585f6ad41666a980ff022b89a1186ebe commit 6bba85a1585f6ad41666a980ff022b89a1186ebe Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-26 20:35:38 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-26 20:35:38 +0000 devel/rubygem-io-event: Update to 1.3.2 Changes: https://github.com/socketry/io-event/releases --- devel/rubygem-io-event/Makefile | 2 +- devel/rubygem-io-event/distinfo | 6 +- .../files/patch-ext-io-event-selector-kqueue.c | 65 ---------------------- 3 files changed, 4 insertions(+), 69 deletions(-) diff --git a/devel/rubygem-io-event/Makefile b/devel/rubygem-io-event/Makefile index f9dfbb262a49..c4333c2949f3 100644 --- a/devel/rubygem-io-event/Makefile +++ b/devel/rubygem-io-event/Makefile @@ -1,5 +1,5 @@ PORTNAME= io-event -PORTVERSION= 1.2.3 +PORTVERSION= 1.3.2 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-io-event/distinfo b/devel/rubygem-io-event/distinfo index 8fe5381585e9..f85527121cad 100644 --- a/devel/rubygem-io-event/distinfo +++ b/devel/rubygem-io-event/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1691070396 -SHA256 (rubygem/io-event-1.2.3.gem) = d9e8ca241456847ac157a0b1d75e8c2e6c878a99e474f617d13e779470b88600 -SIZE (rubygem/io-event-1.2.3.gem) = 28672 +TIMESTAMP = 1693056885 +SHA256 (rubygem/io-event-1.3.2.gem) = c847c08b12785599ac7ae60fbbc7014193850d717e8184ca1d483954452d5dd4 +SIZE (rubygem/io-event-1.3.2.gem) = 36352 diff --git a/devel/rubygem-io-event/files/patch-ext-io-event-selector-kqueue.c b/devel/rubygem-io-event/files/patch-ext-io-event-selector-kqueue.c deleted file mode 100644 index ff7c91ed2f68..000000000000 --- a/devel/rubygem-io-event/files/patch-ext-io-event-selector-kqueue.c +++ /dev/null @@ -1,65 +0,0 @@ ---- ext/io/event/selector/kqueue.c.orig 2022-02-17 10:31:43 UTC -+++ ext/io/event/selector/kqueue.c -@@ -190,7 +190,7 @@ int process_add_filters(int descriptor, int ident, VAL - - event.ident = ident; - event.filter = EVFILT_PROC; -- event.flags = EV_ADD | EV_ENABLE | EV_ONESHOT | EV_UDATA_SPECIFIC; -+ event.flags = EV_ADD | EV_ENABLE | EV_ONESHOT; - event.fflags = NOTE_EXIT; - event.udata = (void*)fiber; - -@@ -214,7 +214,7 @@ void process_remove_filters(int descriptor, int ident) - - event.ident = ident; - event.filter = EVFILT_PROC; -- event.flags = EV_DELETE | EV_UDATA_SPECIFIC; -+ event.flags = EV_DELETE; - event.fflags = NOTE_EXIT; - - // Ignore the result. -@@ -273,7 +273,7 @@ int io_add_filters(int descriptor, int ident, int even - if (events & IO_EVENT_READABLE) { - kevents[count].ident = ident; - kevents[count].filter = EVFILT_READ; -- kevents[count].flags = EV_ADD | EV_ENABLE | EV_ONESHOT | EV_UDATA_SPECIFIC; -+ kevents[count].flags = EV_ADD | EV_ENABLE | EV_ONESHOT; - kevents[count].udata = (void*)fiber; - - // #ifdef EV_OOBAND -@@ -288,7 +288,7 @@ int io_add_filters(int descriptor, int ident, int even - if (events & IO_EVENT_WRITABLE) { - kevents[count].ident = ident; - kevents[count].filter = EVFILT_WRITE; -- kevents[count].flags = EV_ADD | EV_ENABLE | EV_ONESHOT | EV_UDATA_SPECIFIC; -+ kevents[count].flags = EV_ADD | EV_ENABLE | EV_ONESHOT; - kevents[count].udata = (void*)fiber; - count++; - } -@@ -310,7 +310,7 @@ void io_remove_filters(int descriptor, int ident, int - if (events & IO_EVENT_READABLE) { - kevents[count].ident = ident; - kevents[count].filter = EVFILT_READ; -- kevents[count].flags = EV_DELETE | EV_UDATA_SPECIFIC; -+ kevents[count].flags = EV_DELETE; - - count++; - } -@@ -318,7 +318,7 @@ void io_remove_filters(int descriptor, int ident, int - if (events & IO_EVENT_WRITABLE) { - kevents[count].ident = ident; - kevents[count].filter = EVFILT_WRITE; -- kevents[count].flags = EV_DELETE | EV_UDATA_SPECIFIC; -+ kevents[count].flags = EV_DELETE; - count++; - } - -@@ -695,7 +695,7 @@ VALUE IO_Event_Selector_KQueue_wakeup(VALUE self) { - struct kevent trigger = {0}; - - trigger.filter = EVFILT_USER; -- trigger.flags = EV_ADD | EV_CLEAR | EV_UDATA_SPECIFIC; -+ trigger.flags = EV_ADD | EV_CLEAR; - trigger.fflags = NOTE_TRIGGER; - - int result = kevent(data->descriptor, &trigger, 1, NULL, 0, NULL);