File project.diff of Package ruby2.5

--- ruby2.5.changes.orig
+++ ruby2.5.changes
@@ -23,6 +23,23 @@ Thu Feb  6 12:35:53 UTC 2020 - Marcus Ru
   - adds remove-unneeded-files.patch and did_you_mean-1.2.0.gem
 
 -------------------------------------------------------------------
+Mon Feb  3 21:37:18 UTC 2020 - Michal Suchanek <msuchanek@suse.de>
+
+- Add IO.select_with_poll (boo#1163363).
+  + 0008-io-move-poll-defines-to-internal-io.h.patch
+  + 0009-io-add-additional-argument-to-fd_select-calls.patch
+  + 0010-select_internal-add-additional-argument-for-poll-err.patch
+  + 0011-thread-use-poll-in-rb_fd_select.patch
+  + 0012-io-make-use-of-poll-POLLERR-flag.patch
+  + 0013-io-add-select_with_poll-class-method-when-USE_POLL.patch
+  + 0014-io-document-IO.select_with_poll.patch
+  + 0015-test-fix-up-wait_for_single_fd-to-accept-RB_WAITFD_E.patch
+  + 0016-rb_fd_select-raise-exception-on-bad-fd-when-using-po.patch
+  + 0017-select_with_poll-do-not-raise-exception-on-bad-fd.patch
+  + 0018-tests-add-a-few-more-tests-for-select.patch
+  + 0019-thread-dump-fdset-if-rb_fd_select-finished-but-no-fd.patch
+
+-------------------------------------------------------------------
 Tue Oct  8 09:40:27 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
 
 - update to 2.5.7
--- ruby2.5.spec.orig
+++ ruby2.5.spec
@@ -142,6 +142,18 @@ Patch06:        0006-Use-PIE-for-the-bin
 Patch07:        0007-date-support-for-Reiwa-new-Japanese-era.patch
 # this can not be in our backports git as the files are not there yet
 Patch08:        remove-unneeded-files.patch
+Patch18:        0008-io-move-poll-defines-to-internal-io.h.patch
+Patch19:        0009-io-add-additional-argument-to-fd_select-calls.patch
+Patch20:        0010-select_internal-add-additional-argument-for-poll-err.patch
+Patch21:        0011-thread-use-poll-in-rb_fd_select.patch
+Patch22:        0012-io-make-use-of-poll-POLLERR-flag.patch
+Patch23:        0013-io-add-select_with_poll-class-method-when-USE_POLL.patch
+Patch24:        0014-io-document-IO.select_with_poll.patch
+Patch25:        0015-test-fix-up-wait_for_single_fd-to-accept-RB_WAITFD_E.patch
+Patch26:        0016-rb_fd_select-raise-exception-on-bad-fd-when-using-po.patch
+Patch27:        0017-select_with_poll-do-not-raise-exception-on-bad-fd.patch
+Patch28:        0018-tests-add-a-few-more-tests-for-select.patch
+Patch29:        0019-thread-dump-fdset-if-rb_fd_select-finished-but-no-fd.patch
 
 #
 Summary:        An Interpreted Object-Oriented Scripting Language
@@ -181,6 +193,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
@@ -292,14 +305,7 @@ tasks (as in Perl).  It is extensible.
 
 %prep
 %setup -q -n ruby-%{pkg_version}
-%patch01 -p1
-%patch02 -p1
-%patch03 -p1
-%patch04 -p1
-%patch05 -p1
-%patch06 -p1
-%patch07 -p1
-%patch08 -p1
+%autopatch -p1
 find sample -type f -print0 | xargs -r0 chmod a-x
 grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \
   | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby%{rb_binary_suffix} $1|'
openSUSE Build Service is sponsored by