raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / Atom feed
* [PATCH 1/2] raindrops.gemspec: add wrongdoc dev dependency
@ 2014-02-18  6:55 Eric Wong
  2014-02-18  6:55 ` [PATCH 2/2] linux_inet_diag: fix Ruby 2.2 (dev) build Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2014-02-18  6:55 UTC (permalink / raw)
  To: raindrops

Ugh, I really need to work on an 80x24-friendly rdoc :P
---
 raindrops.gemspec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/raindrops.gemspec b/raindrops.gemspec
index ed8eaf5..2a51b88 100644
--- a/raindrops.gemspec
+++ b/raindrops.gemspec
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
   s.add_development_dependency('posix_mq', '~> 2.0')
   s.add_development_dependency('rack', '~> 1.2')
   s.add_development_dependency('unicorn', '>= 0.98')
+  s.add_development_dependency('wrongdoc', ['~> 1.6.2', '>= 1.6.2'])
 
   # s.licenses = %w(LGPLv3) # accessor not compatible with older RubyGems
 end
-- 
1.9.0.rc3.13.gda73b5f



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] linux_inet_diag: fix Ruby 2.2 (dev) build
  2014-02-18  6:55 [PATCH 1/2] raindrops.gemspec: add wrongdoc dev dependency Eric Wong
@ 2014-02-18  6:55 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2014-02-18  6:55 UTC (permalink / raw)
  To: raindrops

Do not define or use rb_thread_blocking_region if
rb_thread_io_blocking_region is available.
rb_thread_blocking_region is gone entirely in Ruby trunk.
---
 ext/raindrops/linux_inet_diag.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ext/raindrops/linux_inet_diag.c b/ext/raindrops/linux_inet_diag.c
index 7b5bae1..e4d0fab 100644
--- a/ext/raindrops/linux_inet_diag.c
+++ b/ext/raindrops/linux_inet_diag.c
@@ -13,7 +13,8 @@
 #endif
 
 /* partial emulation of the 1.9 rb_thread_blocking_region under 1.8 */
-#ifndef HAVE_RB_THREAD_BLOCKING_REGION
+#if !defined(HAVE_RB_THREAD_BLOCKING_REGION) && \
+    !defined(HAVE_RB_THREAD_IO_BLOCKING_REGION)
 #  include <rubysig.h>
 #  define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
 typedef void rb_unblock_function_t(void *);
-- 
1.9.0.rc3.13.gda73b5f



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18  6:55 [PATCH 1/2] raindrops.gemspec: add wrongdoc dev dependency Eric Wong
2014-02-18  6:55 ` [PATCH 2/2] linux_inet_diag: fix Ruby 2.2 (dev) build Eric Wong

raindrops RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://bogomips.org/raindrops-public
	git clone --mirror http://ou63pmih66umazou.onion/raindrops-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox