Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/
Date: Thu, 29 Sep 2022 21:59:14
Message-Id: 1664488564.7ed1ea9aeecc4f17ceb35fde1ab62d2aabcbe9cd.sam@gentoo
1 commit: 7ed1ea9aeecc4f17ceb35fde1ab62d2aabcbe9cd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 21:56:04 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 21:56:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed1ea9a
7
8 sys-devel/gdb: add zstd support to live
9
10 See https://maskray.me/blog/2022-09-09-zstd-compressed-debug-sections.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-devel/gdb/gdb-9999.ebuild | 12 +++++-------
15 1 file changed, 5 insertions(+), 7 deletions(-)
16
17 diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
18 index 9a3b277f6524..6bf40e5071f6 100644
19 --- a/sys-devel/gdb/gdb-9999.ebuild
20 +++ b/sys-devel/gdb/gdb-9999.ebuild
21 @@ -50,7 +50,7 @@ if [[ ${PV} != 9999* ]] ; then
22 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
23 fi
24
25 -IUSE="cet guile lzma multitarget nls +python +server source-highlight test vanilla xml xxhash"
26 +IUSE="cet guile lzma multitarget nls +python +server source-highlight test vanilla xml xxhash zstd"
27 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
28
29 # In fact, gdb's test suite needs some work to get passing.
30 @@ -77,12 +77,9 @@ RDEPEND="
31 python? ( ${PYTHON_DEPS} )
32 guile? ( >=dev-scheme/guile-2.0 )
33 xml? ( dev-libs/expat )
34 - source-highlight? (
35 - dev-util/source-highlight
36 - )
37 - xxhash? (
38 - dev-libs/xxhash
39 - )
40 + source-highlight? ( dev-util/source-highlight )
41 + xxhash? ( dev-libs/xxhash )
42 + zstd? ( app-arch/zstd:= )
43 "
44 DEPEND="${RDEPEND}"
45 BDEPEND="
46 @@ -204,6 +201,7 @@ src_configure() {
47 $(use_with python python "${EPYTHON}")
48 $(use_with xxhash)
49 $(use_with guile)
50 + $(use_with zstd)
51 )
52
53 if use sparc-solaris || use x86-solaris ; then