Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/
Date: Fri, 25 Dec 2020 12:17:57
Message-Id: 1608898664.3ec8a3ea94690293f4039dd42f4cd992402f758e.slyfox@gentoo
1 commit: 3ec8a3ea94690293f4039dd42f4cd992402f758e
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 25 12:04:38 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 25 12:17:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec8a3ea
7
8 sys-libs/libunwind: drop old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-libs/libunwind/Manifest | 1 -
14 sys-libs/libunwind/libunwind-1.4.0.ebuild | 102 ------------------------------
15 2 files changed, 103 deletions(-)
16
17 diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
18 index aefc5f3036f..f7df915b276 100644
19 --- a/sys-libs/libunwind/Manifest
20 +++ b/sys-libs/libunwind/Manifest
21 @@ -1,2 +1 @@
22 -DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269 SHA512 60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913
23 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2 SHA512 1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
24
25 diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild b/sys-libs/libunwind/libunwind-1.4.0.ebuild
26 deleted file mode 100644
27 index f3a6bbb9eff..00000000000
28 --- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
29 +++ /dev/null
30 @@ -1,102 +0,0 @@
31 -# Copyright 2005-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -MY_PV=${PV/_/-}
37 -MY_P=${PN}-${MY_PV}
38 -inherit autotools flag-o-matic libtool multilib-minimal
39 -
40 -DESCRIPTION="Portable and efficient API to determine the call-chain of a program"
41 -HOMEPAGE="https://savannah.nongnu.org/projects/libunwind"
42 -SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0/8" # libunwind.so.8
46 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux ~x86-linux"
47 -IUSE="debug debug-frame doc libatomic lzma +static-libs"
48 -
49 -RESTRICT="test" # some tests are broken (toolchain version dependent)
50 -
51 -# We just use the header from libatomic.
52 -RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
53 -DEPEND="${RDEPEND}
54 - libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
55 -
56 -S="${WORKDIR}/${MY_P}"
57 -
58 -MULTILIB_WRAPPED_HEADERS=(
59 - /usr/include/libunwind.h
60 -
61 - # see libunwind.h for the full list of arch-specific headers
62 - /usr/include/libunwind-aarch64.h
63 - /usr/include/libunwind-arm.h
64 - /usr/include/libunwind-hppa.h
65 - /usr/include/libunwind-ia64.h
66 - /usr/include/libunwind-mips.h
67 - /usr/include/libunwind-ppc32.h
68 - /usr/include/libunwind-ppc64.h
69 - /usr/include/libunwind-sh.h
70 - /usr/include/libunwind-tilegx.h
71 - /usr/include/libunwind-x86.h
72 - /usr/include/libunwind-x86_64.h
73 -)
74 -
75 -PATCHES=(
76 - "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
77 - "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
78 - "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
79 - "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
80 -)
81 -
82 -src_prepare() {
83 - default
84 - chmod +x src/ia64/mk_cursor_i || die
85 - # Since we have tests disabled via RESTRICT, disable building in the subdir
86 - # entirely. This works around some build errors too. #484846
87 - sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
88 -
89 - elibtoolize
90 - eautoreconf
91 -
92 - # Let's wait for proper fix upstream in https://github.com/libunwind/libunwind/issues/154
93 - # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
94 - append-cflags -fcommon
95 -}
96 -
97 -multilib_src_configure() {
98 - # --enable-cxx-exceptions: always enable it, headers provide the interface
99 - # and on some archs it is disabled by default causing a mismatch between the
100 - # API and the ABI, bug #418253
101 - # conservative-checks: validate memory addresses before use; as of 1.0.1,
102 - # only x86_64 supports this, yet may be useful for debugging, couple it with
103 - # debug useflag.
104 - ECONF_SOURCE="${S}" \
105 - ac_cv_header_atomic_ops_h=$(usex libatomic) \
106 - econf \
107 - --enable-cxx-exceptions \
108 - --enable-coredump \
109 - --enable-ptrace \
110 - --enable-setjmp \
111 - $(use_enable debug-frame) \
112 - $(use_enable doc documentation) \
113 - $(use_enable lzma minidebuginfo) \
114 - $(use_enable static-libs static) \
115 - $(use_enable debug conservative_checks) \
116 - $(use_enable debug)
117 -}
118 -
119 -multilib_src_compile() {
120 - # Bug 586208
121 - CCACHE_NODIRECT=1 default
122 -}
123 -
124 -multilib_src_test() {
125 - # Explicitly allow parallel build of tests.
126 - # Sandbox causes some tests to freak out.
127 - SANDBOX_ON=0 emake check
128 -}
129 -
130 -multilib_src_install_all() {
131 - find "${D}" -name "*.la" -type f -delete || die
132 -}