diff options
author | Richard Brown <rbrown@gentoo.org> | 2007-06-18 12:20:55 +0000 |
---|---|---|
committer | Richard Brown <rbrown@gentoo.org> | 2007-06-18 12:20:55 +0000 |
commit | 62a9a7d6458723aa560cd9746114fb41e6170c9d (patch) | |
tree | 947ef2725bdb80dd0ae05615017f6adbfc2a58d4 /dev-lang/ruby/files | |
parent | Add ruby-1.8.6_p36 (diff) | |
download | rbrown-62a9a7d6458723aa560cd9746114fb41e6170c9d.tar.gz rbrown-62a9a7d6458723aa560cd9746114fb41e6170c9d.tar.bz2 rbrown-62a9a7d6458723aa560cd9746114fb41e6170c9d.zip |
Add prototype fix from ruby -r12567 [ruby-list:43615]
svn path=/; revision=36
Diffstat (limited to 'dev-lang/ruby/files')
-rw-r--r-- | dev-lang/ruby/files/ruby-1.8.6_p36-rb_thread_status_prototype.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/ruby/files/ruby-1.8.6_p36-rb_thread_status_prototype.patch b/dev-lang/ruby/files/ruby-1.8.6_p36-rb_thread_status_prototype.patch new file mode 100644 index 0000000..2cf9bf4 --- /dev/null +++ b/dev-lang/ruby/files/ruby-1.8.6_p36-rb_thread_status_prototype.patch @@ -0,0 +1,25 @@ +Index: intern.h +=================================================================== +--- intern.h (revision 12566) ++++ intern.h (revision 12567) +@@ -204,7 +204,6 @@ + void rb_thread_polling _((void)); + void rb_thread_sleep _((int)); + void rb_thread_sleep_forever _((void)); +-enum rb_thread_status rb_thread_status _((VALUE)); + VALUE rb_thread_stop _((void)); + VALUE rb_thread_wakeup _((VALUE)); + VALUE rb_thread_wakeup_alive _((VALUE)); +Index: ext/thread/thread.c +=================================================================== +--- ext/thread/thread.c (revision 12566) ++++ ext/thread/thread.c (revision 12567) +@@ -14,6 +14,8 @@ + #include <rubysig.h> + #include <node.h> + ++enum rb_thread_status rb_thread_status _((VALUE)); ++ + static VALUE rb_cMutex; + static VALUE rb_cConditionVariable; + static VALUE rb_cQueue; |