Diff tmux-3.3a-r1 with a tmux-9999
/usr/portage/app-misc/tmux/tmux-9999.ebuild 2023-10-09 14:52:28.824368333 +0300 | ||
---|---|---|
14 | 14 |
else |
15 | 15 |
SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" |
16 | 16 |
if [[ ${PV} != *_rc* ]] ; then |
17 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
18 | 18 |
fi |
19 | 19 |
S="${WORKDIR}/${P/_/-}" |
20 | 20 |
fi |
... | ... | |
23 | 23 |
SLOT="0" |
24 | 24 |
IUSE="debug selinux systemd utempter vim-syntax" |
25 | 25 | |
26 |
# See https://github.com/tmux/tmux/issues/3531 for minimum ncurses version |
|
26 | 27 |
DEPEND=" |
27 | 28 |
dev-libs/libevent:= |
28 |
sys-libs/ncurses:= |
|
29 |
>=sys-libs/ncurses-6.4_p20230424:= |
|
29 | 30 |
systemd? ( sys-apps/systemd:= ) |
30 | 31 |
utempter? ( sys-libs/libutempter ) |
31 | 32 |
kernel_Darwin? ( dev-libs/libutf8proc:= ) |
... | ... | |
46 | 47 | |
47 | 48 |
PATCHES=( |
48 | 49 |
"${FILESDIR}"/${PN}-2.4-flags.patch |
49 |
"${FILESDIR}"/${P}-clang.patch |
|
50 | 50 |
) |
51 | 51 | |
52 | 52 |
src_prepare() { |
53 |
# bug 438558 |
|
54 |
# 1.7 segfaults when entering copy mode if compiled with -Os |
|
55 |
replace-flags -Os -O2 |
|
56 | ||
53 | 57 |
default |
54 | 58 |
eautoreconf |
55 | 59 |
} |
56 | 60 | |
57 | 61 |
src_configure() { |
58 |
# bug 438558 |
|
59 |
# 1.7 segfaults when entering copy mode if compiled with -Os |
|
60 |
replace-flags -Os -O2 |
|
61 | ||
62 | 62 |
local myeconfargs=( |
63 | 63 |
--sysconfdir="${EPREFIX}"/etc |
64 | 64 |
$(use_enable debug) |