File project.diff of Package ruby2.6

--- ruby2.6.changes.orig
+++ ruby2.6.changes
@@ -28,6 +28,23 @@ Fri Mar  6 14:56:41 UTC 2020 - Marcus Ru
   - add CVE-2020-8130.patch and rake-12.3.2.gem 
 
 -------------------------------------------------------------------
+Mon Feb  3 21:37:18 UTC 2020 - Michal Suchanek <msuchanek@suse.de>
+
+- Add IO.select_with_poll (boo#1163363).
+   + 0001-io-move-poll-defines-to-internal-io.h.patch
+   + 0002-io-add-additional-argument-to-fd_select-calls.patch
+   + 0003-select_internal-add-additional-argument-for-poll-err.patch
+   + 0004-thread-use-poll-in-rb_fd_select.patch
+   + 0005-io-make-use-of-poll-POLLERR-flag.patch
+   + 0006-io-add-select_with_poll-class-method-when-USE_POLL.patch
+   + 0007-io-document-IO.select_with_poll.patch
+   + 0008-test-fix-up-wait_for_single_fd-to-accept-RB_WAITFD_E.patch
+   + 0009-rb_fd_select-raise-exception-on-bad-fd-when-using-po.patch
+   + 0010-select_with_poll-do-not-reaise-exception-on-bad-fd.patch
+   + 0011-tests-add-a-few-more-tests-for-select.patch
+   + 0012-thread-dump-fdset-if-rb_fd_select-finished-but-no-fd.patch
+
+-------------------------------------------------------------------
 Wed Oct 30 15:27:11 UTC 2019 - Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de>
 
 - Fix mangling of shebangs, do not replace shell invocations with
--- ruby2.6.spec.orig
+++ ruby2.6.spec
@@ -85,6 +85,18 @@ Source4:        %{name}-default.macros
 Source98:       series
 Source99:       %{name}-rpmlintrc
 Patch:          use-pie.patch
+Patch1:         0001-io-move-poll-defines-to-internal-io.h.patch
+Patch2:         0002-io-add-additional-argument-to-fd_select-calls.patch
+Patch3:         0003-select_internal-add-additional-argument-for-poll-err.patch
+Patch4:         0004-thread-use-poll-in-rb_fd_select.patch
+Patch5:         0005-io-make-use-of-poll-POLLERR-flag.patch
+Patch6:         0006-io-add-select_with_poll-class-method-when-USE_POLL.patch
+Patch7:         0007-io-document-IO.select_with_poll.patch
+Patch8:         0008-test-fix-up-wait_for_single_fd-to-accept-RB_WAITFD_E.patch
+Patch9:         0009-rb_fd_select-raise-exception-on-bad-fd-when-using-po.patch
+Patch10:        0010-select_with_poll-do-not-reaise-exception-on-bad-fd.patch
+Patch11:        0011-tests-add-a-few-more-tests-for-select.patch
+Patch12:        0012-thread-dump-fdset-if-rb_fd_select-finished-but-no-fd.patch
 
 #
 BuildRequires:  ruby-bundled-gems-rpmhelper
@@ -173,6 +185,7 @@ Summary:        Dynamic runtime library
 Group:          System/Libraries
 Conflicts:      %{name} < %{version}-%{release}
 Conflicts:      %{name}-stdlib < %{version}-%{release}
+Provides:       ruby-poll
 
 %description -n %{libname}
 Dynamic runtime library for Ruby
@@ -277,7 +290,7 @@ tasks (as in Perl).  It is extensible.
 %prep
 %setup -q -n ruby-%{pkg_version}
 #setup -q -n snapshot
-%patch -p1
+%autopatch -p1
 find sample -type f -perm /a=x -ls -exec chmod a-x \{\} \+
 # replace "/usr/bin/env ruby" and "/usr/local/bin/ruby" with correct path
 grep -Erl '^#! */.*ruby' benchmark bootstraptest ext lib sample test \
openSUSE Build Service is sponsored by