rpms/ruby/F-7 ruby-r12567.patch,NONE,1.1 ruby.spec,1.98,1.99

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Mon Jun 25 03:49:48 UTC 2007


Author: tagoh

Update of /cvs/pkgs/rpms/ruby/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27850

Modified Files:
	ruby.spec 
Added Files:
	ruby-r12567.patch 
Log Message:
* Mon Jul 25 2007 Akira TAGOH <tagoh at redhat.com> - 1.8.6.36-3
- ruby-r12567.patch: backport patch from upstream svn to get rid of
  the unnecessary declarations. (#245446)

ruby-r12567.patch:

--- NEW FILE ruby-r12567.patch ---
Mon Jun 18 11:29:49 2007  Nobuyoshi Nakada  <nobu at ruby-lang.org>

	* intern.h, ext/thread/thread.c: moved prototype of rb_thread_status()
	  to get rid of error in C++.  [ruby-list:43615]

Index: intern.h
===================================================================
--- intern.h	(リビジョン 12566)
+++ intern.h	(リビジョン 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	(リビジョン 12566)
+++ ext/thread/thread.c	(リビジョン 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;


Index: ruby.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ruby/F-7/ruby.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- ruby.spec	20 Jun 2007 14:21:04 -0000	1.98
+++ ruby.spec	25 Jun 2007 03:49:13 -0000	1.99
@@ -11,7 +11,7 @@
 
 Name:		ruby
 Version:	%{rubyver}%{?dotpatchlevel}
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	Ruby License/GPL - see COPYING
 URL:		http://www.ruby-lang.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -36,6 +36,7 @@
 Patch21:	ruby-deprecated-sitelib-search-path.patch
 Patch22:	ruby-deprecated-search-path.patch
 Patch23:	ruby-multilib.patch
+Patch24:	ruby-r12567.patch
 
 Summary:	An interpreter of object-oriented scripting language
 Group:		Development/Languages
@@ -152,6 +153,7 @@
 %patch22 -p1
 %patch23 -p1
 %endif
+%patch24 -p0
 popd
 
 %build
@@ -469,6 +471,10 @@
 %endif
 
 %changelog
+* Mon Jul 25 2007 Akira TAGOH <tagoh at redhat.com> - 1.8.6.36-3
+- ruby-r12567.patch: backport patch from upstream svn to get rid of
+  the unnecessary declarations. (#245446)
+
 * Wed Jul 20 2007 Akira TAGOH <tagoh at redhat.com> - 1.8.6.36-2
 - New upstream release.
   - Fix Etc::getgrgid to get the correct gid as requested. (#236647)




More information about the fedora-extras-commits mailing list