pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-eventmachine Update ruby-eventmachine to 0....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd4d757cf849
branches:  trunk
changeset: 547315:cd4d757cf849
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Sep 15 09:08:19 2008 +0000

description:
Update ruby-eventmachine to 0.12.0.

Changes are unknown.

diffstat:

 devel/ruby-eventmachine/Makefile         |   4 ++--
 devel/ruby-eventmachine/PLIST            |   6 +++++-
 devel/ruby-eventmachine/distinfo         |   9 +++++----
 devel/ruby-eventmachine/patches/patch-aa |  22 ++++++++++++++++++++++
 4 files changed, 34 insertions(+), 7 deletions(-)

diffs (88 lines):

diff -r a2ff16e5774d -r cd4d757cf849 devel/ruby-eventmachine/Makefile
--- a/devel/ruby-eventmachine/Makefile  Mon Sep 15 09:08:09 2008 +0000
+++ b/devel/ruby-eventmachine/Makefile  Mon Sep 15 09:08:19 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:16:56 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2008/09/15 09:08:19 taca Exp $
 
-DISTNAME=      eventmachine-0.10.0
+DISTNAME=      eventmachine-0.12.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 
diff -r a2ff16e5774d -r cd4d757cf849 devel/ruby-eventmachine/PLIST
--- a/devel/ruby-eventmachine/PLIST     Mon Sep 15 09:08:09 2008 +0000
+++ b/devel/ruby-eventmachine/PLIST     Mon Sep 15 09:08:19 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:16:56 jlam Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/09/15 09:08:19 taca Exp $
 ${GEM_HOME}/cache/eventmachine-${PKGVERSION}.gem
 ${GEM_LIBDIR}/COPYING
 ${GEM_LIBDIR}/DEFERRABLES
@@ -44,6 +44,7 @@
 ${GEM_LIBDIR}/lib/em/eventable.rb
 ${GEM_LIBDIR}/lib/em/future.rb
 ${GEM_LIBDIR}/lib/em/messages.rb
+${GEM_LIBDIR}/lib/em/processes.rb
 ${GEM_LIBDIR}/lib/em/spawnable.rb
 ${GEM_LIBDIR}/lib/em/streamer.rb
 ${GEM_LIBDIR}/lib/eventmachine.rb
@@ -69,6 +70,7 @@
 ${GEM_LIBDIR}/lib/protocols/tcptest.rb
 ${GEM_LIBDIR}/lib/rubyeventmachine.${RUBY_DLEXT}
 ${GEM_LIBDIR}/tests/test_basic.rb
+${GEM_LIBDIR}/tests/test_defer.rb
 ${GEM_LIBDIR}/tests/test_epoll.rb
 ${GEM_LIBDIR}/tests/test_errors.rb
 ${GEM_LIBDIR}/tests/test_eventables.rb
@@ -81,8 +83,10 @@
 ${GEM_LIBDIR}/tests/test_ltp.rb
 ${GEM_LIBDIR}/tests/test_ltp2.rb
 ${GEM_LIBDIR}/tests/test_next_tick.rb
+${GEM_LIBDIR}/tests/test_processes.rb
 ${GEM_LIBDIR}/tests/test_pure.rb
 ${GEM_LIBDIR}/tests/test_running.rb
+${GEM_LIBDIR}/tests/test_sasl.rb
 ${GEM_LIBDIR}/tests/test_send_file.rb
 ${GEM_LIBDIR}/tests/test_servers.rb
 ${GEM_LIBDIR}/tests/test_smtpclient.rb
diff -r a2ff16e5774d -r cd4d757cf849 devel/ruby-eventmachine/distinfo
--- a/devel/ruby-eventmachine/distinfo  Mon Sep 15 09:08:09 2008 +0000
+++ b/devel/ruby-eventmachine/distinfo  Mon Sep 15 09:08:19 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:16:56 jlam Exp $
+$NetBSD: distinfo,v 1.2 2008/09/15 09:08:19 taca Exp $
 
-SHA1 (eventmachine-0.10.0.gem) = f99122b0a1518ab0d01ac6fa3cc5153726c5b5cc
-RMD160 (eventmachine-0.10.0.gem) = e0cb0bcddabb9210ac544e6ec17bcfb6fc531c21
-Size (eventmachine-0.10.0.gem) = 138752 bytes
+SHA1 (eventmachine-0.12.0.gem) = 718de243c00252489eac970c971e081677034a25
+RMD160 (eventmachine-0.12.0.gem) = 685e10f06d83884eb66055ffca9d8838cee0ae60
+Size (eventmachine-0.12.0.gem) = 145408 bytes
+SHA1 (patch-aa) = 51f6e971240282a8088f5fa39025996340cd4d29
diff -r a2ff16e5774d -r cd4d757cf849 devel/ruby-eventmachine/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-eventmachine/patches/patch-aa  Mon Sep 15 09:08:19 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2008/09/15 09:08:19 taca Exp $
+
+--- ext/em.cpp.orig    2008-09-15 14:10:15.000000000 +0900
++++ ext/em.cpp
+@@ -1417,7 +1417,7 @@ void EventMachine_t::ArmKqueueWriter (Ev
+               if (!ed)
+                       throw std::runtime_error ("added bad descriptor");
+               struct kevent k;
+-              EV_SET (&k, ed->GetSocket(), EVFILT_WRITE, EV_ADD | EV_ONESHOT, 0, 0, ed);
++              EV_SET (&k, ed->GetSocket(), EVFILT_WRITE, EV_ADD | EV_ONESHOT, 0, 0, (intptr_t)ed);
+               int t = kevent (kqfd, &k, 1, NULL, 0, NULL);
+               assert (t == 0);
+       }
+@@ -1435,7 +1435,7 @@ void EventMachine_t::ArmKqueueReader (Ev
+               if (!ed)
+                       throw std::runtime_error ("added bad descriptor");
+               struct kevent k;
+-              EV_SET (&k, ed->GetSocket(), EVFILT_READ, EV_ADD, 0, 0, ed);
++              EV_SET (&k, ed->GetSocket(), EVFILT_READ, EV_ADD, 0, 0, (intptr_t)ed);
+               int t = kevent (kqfd, &k, 1, NULL, 0, NULL);
+               assert (t == 0);
+       }



Home | Main Index | Thread Index | Old Index