From: Elan Ruusamäe Date: Fri, 6 Nov 2020 12:11:59 +0000 (+0200) Subject: build fixes for gcc-10 X-Git-Tag: auto/th/neovim-0.3.8-1~4 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=def4dbb;p=packages%2Fneovim.git build fixes for gcc-10 refs: - https://github.com/neovim/neovim/pull/12142 --- diff --git a/neovim.spec b/neovim.spec index 77f5bc8..ceddf16 100644 --- a/neovim.spec +++ b/neovim.spec @@ -18,6 +18,8 @@ Source0: https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version} URL: https://neovim.io/ Source2: %{name}.svg Patch0: desktop.patch +Patch1: https://github.com/neovim/neovim/pull/12142.patch +# Patch1-md5: 40bf36c33b4c49270243b39b916e164c BuildRequires: cmake >= 2.8.7 BuildRequires: gcc >= 6:4.4 BuildRequires: gettext-devel @@ -63,6 +65,7 @@ parts of Vim, without compromise, and more. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build install -d .deps build