commit:     0ff08f4033d96cd5f538a4030b1e91ad8083863b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 18:46:21 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 18:46:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff08f40

profiles/prefix/darwin/macos: force USE=tinfo into masked

Try to avoid breaking more Darwin systems, and help people who try to
recover from it, ncurses MUST be built with USE=-tinfo on Darwin!

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 profiles/prefix/darwin/macos/package.use.force | 9 ++++++++-
 profiles/prefix/darwin/macos/package.use.mask  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/profiles/prefix/darwin/macos/package.use.force 
b/profiles/prefix/darwin/macos/package.use.force
index 93ffdde1c0f..f379b249c79 100644
--- a/profiles/prefix/darwin/macos/package.use.force
+++ b/profiles/prefix/darwin/macos/package.use.force
@@ -1,6 +1,13 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <[email protected]> (2020-06-08)
+# Do NOT enable tinfo, it breaks ANYTHING existing, and it also breaks
+# ncurses itself, for it apparently doesn't link against tinfo itself,
+# which needs fixing before re-enabling tinfo again.
+sys-libs/ncurses -tinfo
+sys-libs/ncurses-compat -tinfo
+
 # Fabian Groffen <[email protected]> (2012-03-24)
 # Non-threaded target doesn't exist for Mac OS X Intel
 media-gfx/tachyon threads opengl

diff --git a/profiles/prefix/darwin/macos/package.use.mask 
b/profiles/prefix/darwin/macos/package.use.mask
index fb0d24c5455..9060605d417 100644
--- a/profiles/prefix/darwin/macos/package.use.mask
+++ b/profiles/prefix/darwin/macos/package.use.mask
@@ -1,6 +1,13 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <[email protected]> (2020-06-08)
+# Do NOT enable tinfo, it breaks ANYTHING existing, and it also breaks
+# ncurses itself, for it apparently doesn't link against tinfo itself,
+# which needs fixing before re-enabling tinfo again.
+sys-libs/ncurses tinfo
+sys-libs/ncurses-compat tinfo
+
 # Andrey Utkin <[email protected]> (2018-03-11)
 # This flag can be sensibly enabled only on macos
 # hence it is masked in base profile. Bug #637482

Reply via email to