Hello community,

here is the log from the commit of package neovim for openSUSE:Factory checked 
in at 2020-05-20 18:45:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/neovim (Old)
 and      /work/SRC/openSUSE:Factory/.neovim.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "neovim"

Wed May 20 18:45:25 2020 rev:30 rq:807386 version:0.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/neovim/neovim.changes    2020-04-07 
10:32:17.382574279 +0200
+++ /work/SRC/openSUSE:Factory/.neovim.new.2738/neovim.changes  2020-05-20 
18:46:07.785372288 +0200
@@ -1,0 +2,10 @@
+Tue May 19 16:42:50 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- For compatibility with Leap 15.2 add libuv-compat.patch
+  (applied conditionally only on the appropriate distribution),
+  which works around too old version of libuv on Leap 15.*
+  by not using UV_FS_COPYFILE_FICLONE flag to uv_fs_copyfile,
+  and not using uv_stream_get_write_queue_size at all.
+  sr#793088 gh#neovim/neovim#12108
+
+-------------------------------------------------------------------

New:
----
  libuv-compat.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ neovim.spec ++++++
--- /var/tmp/diff_new_pack.6ZfY0M/_old  2020-05-20 18:46:09.073375182 +0200
+++ /var/tmp/diff_new_pack.6ZfY0M/_new  2020-05-20 18:46:09.077375191 +0200
@@ -32,6 +32,9 @@
 Patch0:         neovim.patch
 # PATCH-FIX-OPENSUSE neovim-0.1.7-bitop.patch mc...@cepl.eu build with old Lua 
with external bit module
 Patch1:         neovim-0.1.7-bitop.patch
+# PATCH-FIX-SLE libuv-compat.patch sr#793088 gh#neovim/neovim#12108 
mc...@suse.com
+# works around too old version of libuv on Leap 15.*
+Patch2:         libuv-compat.patch
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
@@ -90,7 +93,11 @@
 
 %prep
 %setup -q
-%autopatch -p1
+%patch0 -p1
+%patch1 -p1
+%if 0%{?suse_version} == 1500
+%patch2 -p1
+%endif
 
 # Remove __DATE__ and __TIME__.
 BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')

++++++ libuv-compat.patch ++++++
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -62,6 +62,11 @@
 #define BUFSIZE         8192    /* size of normal write buffer */
 #define SMBUFSIZE       256     /* size of emergency write buffer */
 
+// For compatibility with libuv < 1.20.0 (tested on 1.18.0)
+#ifndef UV_FS_COPYFILE_FICLONE
+#define UV_FS_COPYFILE_FICLONE 0
+#endif
+
 //
 // The autocommands are stored in a list for each event.
 // Autocommands for the same pattern, that are consecutive, are joined
--- a/src/nvim/event/stream.c
+++ b/src/nvim/event/stream.c
@@ -16,6 +16,11 @@
 # include "event/stream.c.generated.h"
 #endif
 
+// For compatbility with libuv < 1.19.0 (tested on 1.18.0)
+#if UV_VERSION_MINOR < 19
+#define uv_stream_get_write_queue_size(stream) stream->write_queue_size
+#endif
+
 /// Sets the stream associated with `fd` to "blocking" mode.
 ///
 /// @return `0` on success, or libuv error code on failure.

Reply via email to