From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D56D7158020 for ; Fri, 4 Nov 2022 00:00:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E393DE0898; Fri, 4 Nov 2022 00:00:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CAF4CE0898 for ; Fri, 4 Nov 2022 00:00:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4AAF3412AB for ; Fri, 4 Nov 2022 00:00:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 217C76E8 for ; Fri, 4 Nov 2022 00:00:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1667519895.6b19b1fec1b69d44e2fd8a8fdc64c874cfa195c8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/neovim/, app-editors/neovim/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/neovim/files/neovim-0.8.0-cmake-release-type.patch app-editors/neovim/files/neovim-9999-cmake-release-type.patch app-editors/neovim/neovim-0.8.0-r1.ebuild X-VCS-Directories: app-editors/neovim/files/ app-editors/neovim/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6b19b1fec1b69d44e2fd8a8fdc64c874cfa195c8 X-VCS-Branch: master Date: Fri, 4 Nov 2022 00:00:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4afc09d6-af01-4c9d-ae32-b1289a068f7c X-Archives-Hash: 1bed3d09a4788034766a06a25e2f4e0d commit: 6b19b1fec1b69d44e2fd8a8fdc64c874cfa195c8 Author: Sam James gentoo org> AuthorDate: Thu Nov 3 23:57:27 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Nov 3 23:58:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b19b1fe app-editors/neovim: fix CMake patch for 0.8.0-r1 Fixes: bb9639a94ba59a7b247838d36f6af9a37af61f2d Fixes: 317d433897aa1ecb0138d97df6d9374ace4005b4 Closes: https://bugs.gentoo.org/879305 Signed-off-by: Sam James gentoo.org> ...patch => neovim-0.8.0-cmake-release-type.patch} | 22 +++++++++++----------- app-editors/neovim/neovim-0.8.0-r1.ebuild | 3 +-- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/app-editors/neovim/files/neovim-9999-cmake-release-type.patch b/app-editors/neovim/files/neovim-0.8.0-cmake-release-type.patch similarity index 50% rename from app-editors/neovim/files/neovim-9999-cmake-release-type.patch rename to app-editors/neovim/files/neovim-0.8.0-cmake-release-type.patch index 8c24b6b6123f..8114e2a92b74 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-release-type.patch +++ b/app-editors/neovim/files/neovim-0.8.0-cmake-release-type.patch @@ -1,16 +1,16 @@ Ensure that :checkhealth is happy with the Gentoo build type. https://bugs.gentoo.org/757744 ---- a/runtime/lua/nvim/health.lua -+++ b/runtime/lua/nvim/health.lua -@@ -149,7 +149,7 @@ local function check_performance() - let s:buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+') - if empty(s:buildtype) - call health#report_error('failed to get build type from :version') -- elseif s:buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)' -+ elseif s:buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|Gentoo)' - call health#report_ok(s:buildtype) - else - call health#report_info(s:buildtype) +--- a/runtime/autoload/health/nvim.vim ++++ b/runtime/autoload/health/nvim.vim +@@ -135,7 +135,7 @@ function! s:check_performance() abort + let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+') + if empty(buildtype) + call health#report_error('failed to get build type from :version') +- elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)' ++ elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|Gentoo)' + call health#report_ok(buildtype) + else + call health#report_info(buildtype) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,12 +137,6 @@ else() diff --git a/app-editors/neovim/neovim-0.8.0-r1.ebuild b/app-editors/neovim/neovim-0.8.0-r1.ebuild index fe675b291f83..60b97a82d314 100644 --- a/app-editors/neovim/neovim-0.8.0-r1.ebuild +++ b/app-editors/neovim/neovim-0.8.0-r1.ebuild @@ -73,13 +73,12 @@ PATCHES=() if [[ ${PV} == 9999 ]]; then PATCHES+=( "${FILESDIR}/${PN}-9999-cmake_lua_version.patch" - "${FILESDIR}/${PN}-9999-cmake-release-type.patch" "${FILESDIR}/${PN}-9999-cmake-darwin.patch" ) else PATCHES+=( "${FILESDIR}/${PN}-9999-cmake_lua_version.patch" - "${FILESDIR}/${PN}-9999-cmake-release-type.patch" + "${FILESDIR}/${PN}-0.8.0-cmake-release-type.patch" "${FILESDIR}/${PN}-9999-cmake-darwin.patch" ) fi