Accepting request 791748 from editors
- Remove unnecessary fix-buf_set_term_title.patch, which actually breaks the build. OBS-URL: https://build.opensuse.org/request/show/791748 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neovim?expand=0&rev=29
This commit is contained in:
commit
bbc8bce4b6
@ -1,13 +0,0 @@
|
|||||||
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
|
|
||||||
index c5e756905..db41c7007 100644
|
|
||||||
--- a/src/nvim/terminal.c
|
|
||||||
+++ b/src/nvim/terminal.c
|
|
||||||
@@ -706,7 +706,7 @@ static int term_settermprop(VTermProp prop, VTermValue *val, void *data)
|
|
||||||
|
|
||||||
case VTERM_PROP_TITLE: {
|
|
||||||
buf_T *buf = handle_get_buffer(term->buf_handle);
|
|
||||||
- buf_set_term_title(buf, val->string);
|
|
||||||
+ buf_set_term_title(buf, (char*)val->string.str);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 6 11:12:59 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove unnecessary fix-buf_set_term_title.patch, which actually
|
||||||
|
breaks the build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 21 20:45:43 UTC 2020 - Martin Liška <mliska@suse.cz>
|
Tue Jan 21 20:45:43 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -32,8 +32,6 @@ Source99: neovim-rpmlintrc
|
|||||||
Patch0: neovim.patch
|
Patch0: neovim.patch
|
||||||
# PATCH-FIX-OPENSUSE neovim-0.1.7-bitop.patch mcepl@cepl.eu build with old Lua with external bit module
|
# PATCH-FIX-OPENSUSE neovim-0.1.7-bitop.patch mcepl@cepl.eu build with old Lua with external bit module
|
||||||
Patch1: neovim-0.1.7-bitop.patch
|
Patch1: neovim-0.1.7-bitop.patch
|
||||||
# PATCH-FIX-OPENSUSE fix-buf_set_term_title.patch fixes a different API with libvterm
|
|
||||||
Patch2: fix-buf_set_term_title.patch
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -92,9 +90,7 @@ parts of Vim, without compromise, and more.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%autopatch -p1
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
# Remove __DATE__ and __TIME__.
|
# Remove __DATE__ and __TIME__.
|
||||||
BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')
|
BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')
|
||||||
|
Loading…
Reference in New Issue
Block a user