commit:     7a89f6ec309c456736af095610b8361afabdb701
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 17:57:29 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 17:57:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a89f6ec

app-misc/tmux: Sync changes to 9999 ebuild

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-misc/tmux/tmux-9999.ebuild | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
index bcd26552adc5..c213890ee26b 100644
--- a/app-misc/tmux/tmux-9999.ebuild
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,10 +23,9 @@ LICENSE="ISC"
 SLOT="0"
 IUSE="debug selinux systemd utempter vim-syntax"
 
-# See https://github.com/tmux/tmux/issues/3531 for minimum ncurses version
 DEPEND="
        dev-libs/libevent:=
-       >=sys-libs/ncurses-6.4_p20230424:=
+       sys-libs/ncurses:=
        systemd? ( sys-apps/systemd:= )
        utempter? ( sys-libs/libutempter )
        kernel_Darwin? ( dev-libs/libutf8proc:= )
@@ -43,6 +42,9 @@ RDEPEND="
        vim-syntax? ( app-vim/vim-tmux )
 "
 
+# BSD only functions
+QA_CONFIG_IMPL_DECL_SKIP=( strtonum recallocarray )
+
 DOCS=( CHANGES README )
 
 PATCHES=(
@@ -50,15 +52,15 @@ PATCHES=(
 )
 
 src_prepare() {
-       # bug 438558
-       # 1.7 segfaults when entering copy mode if compiled with -Os
-       replace-flags -Os -O2
-
        default
        eautoreconf
 }
 
 src_configure() {
+       # bug 438558
+       # 1.7 segfaults when entering copy mode if compiled with -Os
+       replace-flags -Os -O2
+
        local myeconfargs=(
                --sysconfdir="${EPREFIX}"/etc
                $(use_enable debug)

Reply via email to