raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / 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 related	[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 related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-18  6:56 UTC | newest]

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

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/raindrops.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).