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 5126315802F for ; Sat, 4 Mar 2023 06:02:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F44DE0952; Sat, 4 Mar 2023 06:02:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BB71E0952 for ; Sat, 4 Mar 2023 06:02:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B464F34110F for ; Sat, 4 Mar 2023 06:02:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 574DC8C1 for ; Sat, 4 Mar 2023 06:02:48 +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: <1677909755.e9b48235e47eaf2ab355b88cd531c477710742d2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/neovim/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/neovim/files/neovim-9999-cmake-darwin.patch X-VCS-Directories: app-editors/neovim/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e9b48235e47eaf2ab355b88cd531c477710742d2 X-VCS-Branch: master Date: Sat, 4 Mar 2023 06:02:48 +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: a0160ccc-5d20-4176-9a08-92d931d39a4d X-Archives-Hash: d94884278acef487ce21a49bcdc72660 commit: e9b48235e47eaf2ab355b88cd531c477710742d2 Author: brahmajit das protonmail com> AuthorDate: Sat Mar 4 05:41:47 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 4 06:02:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b48235 app-editors/neovim: fix live ebuild darwin patch With commit https://github.com/neovim/neovim/commit/4cf4ae93df6af09ef3a0df678bb3d154b65bf731 checking against string "Darwin" is removed and variable name APPLE is used instead. Signed-off-by: brahmajit das protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/29918 Signed-off-by: Sam James gentoo.org> app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch index b2920451743d..cdfb38c3fef4 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -4,10 +4,10 @@ foreach(gen_include ${prop}) list(APPEND gen_cflags "-I${gen_include}") endforeach() --if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT) +-if(APPLE AND CMAKE_OSX_SYSROOT) - list(APPEND gen_cflags "-isysroot") - list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") -endif() set(gen_cflags ${gen_cflags} -O2) - + set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h)