[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-05-31 Thread Ionen Wolkens
commit: b909e7f4d3bfeea9d3a6f8c7c7de36d49ef65dc9
Author: Matoro Mahri  matoro  tk>
AuthorDate: Fri May 31 18:59:02 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Jun  1 03:45:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b909e7f4

sys-libs/libunwind: Stabilize 1.8.1 hppa, #930879

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index b3faa2ce860a..612f39d121fc 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -31,7 +31,7 @@ else
S="${WORKDIR}"/${P/_rc/-rc}
 
if [[ ${PV} != *_rc* ]] ; then
-   KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-04-29 Thread Sam James
commit: 728c56c503c034a66b0994776b40b01cedbd6de6
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 13:39:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 13:39:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728c56c5

sys-libs/libunwind: Stabilize 1.8.1 x86, #930879

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index 64c2c207eb7d..68c6df6f9b6c 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -31,7 +31,7 @@ else
S="${WORKDIR}"/${P/_rc/-rc}
 
if [[ ${PV} != *_rc* ]] ; then
-   KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-04-29 Thread Sam James
commit: f93fe113196e50a7df4e7dd074995aceb836651f
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 13:39:54 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 13:39:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93fe113

sys-libs/libunwind: Stabilize 1.8.1 amd64, #930879

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index 68c6df6f9b6c..b3faa2ce860a 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -31,7 +31,7 @@ else
S="${WORKDIR}"/${P/_rc/-rc}
 
if [[ ${PV} != *_rc* ]] ; then
-   KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-04-29 Thread Arthur Zamarin
commit: bddfd1c794d22331f192c03440702c5d71fed625
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 29 08:05:03 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 29 08:05:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bddfd1c7

sys-libs/libunwind: Stabilize 1.8.1 arm, #930879

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index 0519e06c417c..e5c571bae76d 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -31,7 +31,7 @@ else
S="${WORKDIR}"/${P/_rc/-rc}
 
if [[ ${PV} != *_rc* ]] ; then
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-04-29 Thread Arthur Zamarin
commit: 36c5ff3533dc86e9c33fb7e9e19ea76208dcbb79
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 29 08:05:04 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 29 08:05:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c5ff35

sys-libs/libunwind: Stabilize 1.8.1 arm64, #930879

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index e5c571bae76d..64c2c207eb7d 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -31,7 +31,7 @@ else
S="${WORKDIR}"/${P/_rc/-rc}
 
if [[ ${PV} != *_rc* ]] ; then
-   KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-04-29 Thread Arthur Zamarin
commit: 4b45b0e44d7ca7443d92ecb45f174b0a8e35755e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 29 08:05:03 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 29 08:05:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b45b0e4

sys-libs/libunwind: Stabilize 1.8.1 ppc64, #930879

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index eaa4f1e0dd2e..0519e06c417c 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -31,7 +31,7 @@ else
S="${WORKDIR}"/${P/_rc/-rc}
 
if [[ ${PV} != *_rc* ]] ; then
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc 
~ppc64 ~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
fi
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-03-11 Thread Sam James
commit: 19de11b220e212e8a6b1fb20ecf4e7474091125a
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 11 23:46:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 12 00:28:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19de11b2

sys-libs/libunwind: make sure elibtoolize is applied

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.8.1.ebuild | 4 +++-
 sys-libs/libunwind/libunwind-.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
index 1a96013dda65..589d748ba8b7 100644
--- a/sys-libs/libunwind/libunwind-1.8.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -13,7 +13,7 @@ LIBUNWIND_DOCS_VERSION=1.8.0
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
-inherit multilib-minimal
+inherit libtool multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -82,6 +82,8 @@ src_prepare() {
 
if [[ ${PV} ==  ]] ; then
eautoreconf
+   else
+   elibtoolize
fi
 }
 

diff --git a/sys-libs/libunwind/libunwind-.ebuild 
b/sys-libs/libunwind/libunwind-.ebuild
index 1a96013dda65..589d748ba8b7 100644
--- a/sys-libs/libunwind/libunwind-.ebuild
+++ b/sys-libs/libunwind/libunwind-.ebuild
@@ -13,7 +13,7 @@ LIBUNWIND_DOCS_VERSION=1.8.0
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
-inherit multilib-minimal
+inherit libtool multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -82,6 +82,8 @@ src_prepare() {
 
if [[ ${PV} ==  ]] ; then
eautoreconf
+   else
+   elibtoolize
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-03-04 Thread Sam James
commit: d11ac3d4fca156d11328c1088d4a458c91344ea5
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 10:20:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 10:23:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d11ac3d4

sys-libs/libunwind: drop 1.6.2-r1, 1.8.0

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest  |   4 -
 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 122 -
 sys-libs/libunwind/libunwind-1.8.0.ebuild| 131 ---
 3 files changed, 257 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index a56aaffc5596..e156b3de32b2 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,8 +1,4 @@
-DIST libunwind-1.6.2-docs.tar.xz 25372 BLAKE2B 
d16562b29c49070f0cd6ad9211c7c3283b527bd88677d9ce50b15f27254bac504ea79b807e01f4f2bdb05649ff8980f94346ef9737bf5b5bd7c313e547222f10
 SHA512 
71bcb781cc37ccbef7b349225b1b3b4cd6ba4ce5a48d8478cea17f8245614b672d8e14b5a088e2d998ea717670a371925d4fbe407dde636611f7c2f2901065d8
-DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0f42a7bb394acd3bf8dc9ef181f2ca55bee04bef070c57ea04853b756efd561cb60409770b1f6fa9095d0e14565eb0bfc621
 SHA512 
46c8a6022dbf099965cf121d91691aae0a38fb31901730f47f712a7078b323e04f278e6751a7d169ed7e87792f321b15471b253668541598b82edb6626b9518f
-DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7
 DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5a88ede335104b1b0679e66199079e3dad9d83815d10a864b4480d88abd82b73bb71181962b1fea39ec41f534d78d549
 SHA512 
d786572e7fbd5ef7852712f592bd17d4110951083991c5ffcff2bb4ae91e4519b42743f848fe7f2cc9f72d8a0240531ec3d27806972c2c309d06a9048284b97b
 DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 
519570a02d06ce4a174ca226941e493499054112de1c92938434e9fb56fabc8446f699a886ea8beee672ac5e28acd03d16169257a43e2ee1bab084fb331ef4cf
 SHA512 
903f7e26c7d4c22e6ef4fe8954ca0f153fdf346cec40e1e8f7ab966d251110f4deb0a84d1fd150aee194ed966b5c1e01ee27c821cd043859852da33a94faae1f
 DIST libunwind-1.8.0-docs.tar.xz 29280 BLAKE2B 
260c5011cf23422ec04449126259c9960b5549b94def8ffa3821ccc67809b5da06be22fb0b465fcee2f0ec89faebab71d2bf3316dc68315a27e0913856513b0a
 SHA512 
6969c8426dc5d79a78a9dae366a9e7b6f1d9a7ce307357913d4f5b8867a540ab8225b5342ee0e06e77b832ef76336fba41dadf12effa5236a076e6bfe72ec548
-DIST libunwind-1.8.0.tar.gz 949829 BLAKE2B 
5e88f13365673d7abc6b1fd797250598fa45a5887675dd1b6d2ea553c66bdcb88104d549c029162dd127ba83e02247de4b2118235e0737fac29206a71c75725f
 SHA512 
ecbcfacacbcc4f7e4326397af448c92253f88b8f57c14c31b9b82b3a2951eb67b164b2a137b2800a2ada933a07a5bdd75f0198d3e4c6a2d8d740559e3a76f1b2
 DIST libunwind-1.8.1.tar.gz 958468 BLAKE2B 
936e70f2428d8f6ada3b4d58b3c9e3a9738eb2f7aee1ad5fb4e44dbb7400186d1bd1ead86a698e53d199d5944b102f8380d08b48104a138021286a79fb006ec3
 SHA512 
aba7b578c1b8cbe78f05b64e154f3530525f8a34668b2a9f1ee6acb4b22c857befe34ad4e9e8cca99dbb66689d41bc72060a8f191bd8be232725d342809431b3

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
deleted file mode 100644
index 8d9fbcdbbfa5..
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 2005-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
-# Set to 1 if prebuilt, 0 if not
-# (the construct below is to allow overriding from env for script)
-: ${LIBUNWIND_DOCS_PREBUILT:=1}
-
-LIBUNWIND_DOCS_PREBUILT_DEV=sam
-LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
-# Default to generating docs (inc. man pages) if no prebuilt; overridden later
-LIBUNWIND_DOCS_USEFLAG="+doc"
-
-[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz
-   loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${CATEGORY}/${PN}/${P}-loong.patch.xz )"
-if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
-   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
-IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-02-28 Thread Sam James
commit: ec626f5360f50479da567843642e08603d9ca42c
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 29 04:30:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 29 04:33:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec626f53

sys-libs/libunwind: add 1.8.1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest  | 1 +
 sys-libs/libunwind/{libunwind-.ebuild => libunwind-1.8.1.ebuild} | 3 ++-
 sys-libs/libunwind/libunwind-.ebuild | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 96acf6f74e03..a56aaffc5596 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -5,3 +5,4 @@ DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5
 DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 
519570a02d06ce4a174ca226941e493499054112de1c92938434e9fb56fabc8446f699a886ea8beee672ac5e28acd03d16169257a43e2ee1bab084fb331ef4cf
 SHA512 
903f7e26c7d4c22e6ef4fe8954ca0f153fdf346cec40e1e8f7ab966d251110f4deb0a84d1fd150aee194ed966b5c1e01ee27c821cd043859852da33a94faae1f
 DIST libunwind-1.8.0-docs.tar.xz 29280 BLAKE2B 
260c5011cf23422ec04449126259c9960b5549b94def8ffa3821ccc67809b5da06be22fb0b465fcee2f0ec89faebab71d2bf3316dc68315a27e0913856513b0a
 SHA512 
6969c8426dc5d79a78a9dae366a9e7b6f1d9a7ce307357913d4f5b8867a540ab8225b5342ee0e06e77b832ef76336fba41dadf12effa5236a076e6bfe72ec548
 DIST libunwind-1.8.0.tar.gz 949829 BLAKE2B 
5e88f13365673d7abc6b1fd797250598fa45a5887675dd1b6d2ea553c66bdcb88104d549c029162dd127ba83e02247de4b2118235e0737fac29206a71c75725f
 SHA512 
ecbcfacacbcc4f7e4326397af448c92253f88b8f57c14c31b9b82b3a2951eb67b164b2a137b2800a2ada933a07a5bdd75f0198d3e4c6a2d8d740559e3a76f1b2
+DIST libunwind-1.8.1.tar.gz 958468 BLAKE2B 
936e70f2428d8f6ada3b4d58b3c9e3a9738eb2f7aee1ad5fb4e44dbb7400186d1bd1ead86a698e53d199d5944b102f8380d08b48104a138021286a79fb006ec3
 SHA512 
aba7b578c1b8cbe78f05b64e154f3530525f8a34668b2a9f1ee6acb4b22c857befe34ad4e9e8cca99dbb66689d41bc72060a8f191bd8be232725d342809431b3

diff --git a/sys-libs/libunwind/libunwind-.ebuild 
b/sys-libs/libunwind/libunwind-1.8.1.ebuild
similarity index 96%
copy from sys-libs/libunwind/libunwind-.ebuild
copy to sys-libs/libunwind/libunwind-1.8.1.ebuild
index 7ddf3fd67d2c..1a96013dda65 100644
--- a/sys-libs/libunwind/libunwind-.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild
@@ -40,7 +40,8 @@ fi
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
-
+# XXX: if enabling tests again, make sure to arrange for deleting them so they 
don't get installed
+# https://github.com/libunwind/libunwind/pull/722
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
 
 BDEPEND="

diff --git a/sys-libs/libunwind/libunwind-.ebuild 
b/sys-libs/libunwind/libunwind-.ebuild
index 7ddf3fd67d2c..1a96013dda65 100644
--- a/sys-libs/libunwind/libunwind-.ebuild
+++ b/sys-libs/libunwind/libunwind-.ebuild
@@ -40,7 +40,8 @@ fi
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
-
+# XXX: if enabling tests again, make sure to arrange for deleting them so they 
don't get installed
+# https://github.com/libunwind/libunwind/pull/722
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/files/

2024-01-20 Thread Conrad Kostecki
commit: a20318e93bb3e42a11c173e7de61e33f98f036c3
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Jan 20 08:21:14 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Jan 20 21:21:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a20318e9

sys-libs/libunwind: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../libunwind-1.8.0_rc1-configure-bashism.patch | 21 -
 1 file changed, 21 deletions(-)

diff --git 
a/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch 
b/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch
deleted file mode 100644
index b4e36d71efdc..
--- a/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/libunwind/libunwind/pull/675
-
-From ac81d339a7999e054deda2c0041c01424df3eadd Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Sat, 2 Dec 2023 21:18:44 +
-Subject: [PATCH] configure.ac: fix bashism in LDFLAGS append
-
-'+=' is not required for POSIX shells and may not work with e.g. /bin/sh
-provided by dash. Just expand it instead.
 a/configure.ac
-+++ b/configure.ac
-@@ -54,7 +54,7 @@ dnl Checks for libraries.
- AC_MSG_NOTICE([--- Checking for libraries ---])
- save_LDFLAGS="$LDFLAGS"
- save_LIBS="$LIBS"
--LDFLAGS+=" -nostdlib"
-+LDFLAGS="${LDFLAGS} -nostdlib"
- AC_SEARCH_LIBS([_Unwind_Resume], [gcc_s gcc],
-[AS_IF([test "$ac_cv_search__Unwind_Resume" != "none 
required"],
-   [AC_SUBST([LIBCRTS], 
["$ac_cv_search__Unwind_Resume"])])],
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2024-01-14 Thread Sam James
commit: 547c370b97ab2fb620bb4e134a995bfa5475a0f9
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 14 21:01:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 14 21:02:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547c370b

sys-libs/libunwind: add 1.8.0

Closes: https://bugs.gentoo.org/918969
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest|  3 ++-
 ...ind-1.8.0_rc1.ebuild => libunwind-1.8.0.ebuild} | 22 +++---
 sys-libs/libunwind/libunwind-.ebuild   |  5 ++---
 3 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 6accc5696763..96acf6f74e03 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -3,4 +3,5 @@ DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7
 DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5a88ede335104b1b0679e66199079e3dad9d83815d10a864b4480d88abd82b73bb71181962b1fea39ec41f534d78d549
 SHA512 
d786572e7fbd5ef7852712f592bd17d4110951083991c5ffcff2bb4ae91e4519b42743f848fe7f2cc9f72d8a0240531ec3d27806972c2c309d06a9048284b97b
 DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 
519570a02d06ce4a174ca226941e493499054112de1c92938434e9fb56fabc8446f699a886ea8beee672ac5e28acd03d16169257a43e2ee1bab084fb331ef4cf
 SHA512 
903f7e26c7d4c22e6ef4fe8954ca0f153fdf346cec40e1e8f7ab966d251110f4deb0a84d1fd150aee194ed966b5c1e01ee27c821cd043859852da33a94faae1f
-DIST libunwind-1.8.0-rc1.tar.gz 977482 BLAKE2B 
0cf4dde187b68a2ba642fc588fcb020bf3e631584d4cac888972f714e7c4ce7a88e10a4c816eadec2051f318a196c61f6c3b4ba5e8ebf17ce4e10ff61e6cd0c5
 SHA512 
0d9cd896a90ea6e36a9a8aeb049ce71ec3a893fcf991533a79bb663c54b0f4b1f04c7b306c06c56e809f829a42284655d52c9fec3d88c60c37f06681dd99d9e3
+DIST libunwind-1.8.0-docs.tar.xz 29280 BLAKE2B 
260c5011cf23422ec04449126259c9960b5549b94def8ffa3821ccc67809b5da06be22fb0b465fcee2f0ec89faebab71d2bf3316dc68315a27e0913856513b0a
 SHA512 
6969c8426dc5d79a78a9dae366a9e7b6f1d9a7ce307357913d4f5b8867a540ab8225b5342ee0e06e77b832ef76336fba41dadf12effa5236a076e6bfe72ec548
+DIST libunwind-1.8.0.tar.gz 949829 BLAKE2B 
5e88f13365673d7abc6b1fd797250598fa45a5887675dd1b6d2ea553c66bdcb88104d549c029162dd127ba83e02247de4b2118235e0737fac29206a71c75725f
 SHA512 
ecbcfacacbcc4f7e4326397af448c92253f88b8f57c14c31b9b82b3a2951eb67b164b2a137b2800a2ada933a07a5bdd75f0198d3e4c6a2d8d740559e3a76f1b2

diff --git a/sys-libs/libunwind/libunwind-1.8.0_rc1.ebuild 
b/sys-libs/libunwind/libunwind-1.8.0.ebuild
similarity index 91%
rename from sys-libs/libunwind/libunwind-1.8.0_rc1.ebuild
rename to sys-libs/libunwind/libunwind-1.8.0.ebuild
index a8d8ee1b3c83..7ddf3fd67d2c 100644
--- a/sys-libs/libunwind/libunwind-1.8.0_rc1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2005-2023 Gentoo Authors
+# Copyright 2005-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,14 +6,14 @@ EAPI=8
 # Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
 # Set to 1 if prebuilt, 0 if not
 # (the construct below is to allow overriding from env for script)
-: ${LIBUNWIND_DOCS_PREBUILT:=0}
+: ${LIBUNWIND_DOCS_PREBUILT:=1}
 
 LIBUNWIND_DOCS_PREBUILT_DEV=sam
-LIBUNWIND_DOCS_VERSION=1.7.1
+LIBUNWIND_DOCS_VERSION=1.8.0
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
-inherit autotools multilib-minimal
+inherit multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -74,21 +74,14 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libunwind-x86_64.h
 )
 
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.0_rc1-configure-bashism.patch
-)
-
 src_prepare() {
default
 
chmod +x src/ia64/mk_cursor_i || die
 
-   #if [[ ${PV} ==  ]] ; then
-   #   eautoreconf
-   #fi
-
-   # temporarily for bashism patch
-   eautoreconf
+   if [[ ${PV} ==  ]] ; then
+   eautoreconf
+   fi
 }
 
 multilib_src_configure() {
@@ -124,7 +117,6 @@ multilib_src_compile() {
 }
 
 multilib_src_test() {
-   # Explicitly allow parallel build of tests.
# Sandbox causes some tests to freak out.
SANDBOX_ON=0 emake check
 }

diff --git a/sys-libs/libunwind/libunwind-.ebuild 
b/sys-libs/libunwind/libunwind-.ebuild
index a3d63d421da6..7ddf3fd67d2c 100644
--- a/sys-libs/libunwind/libunwind-.ebuild
+++ b/sys-libs/libunwin

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/, sys-libs/libunwind/files/

2023-12-02 Thread Sam James
commit: 65fcc50086bba795f212f918479c99d4c74f6a50
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  2 21:17:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  2 21:22:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65fcc500

sys-libs/libunwind: add 1.8.0_rc1 (unkeyworded)

Bug: https://bugs.gentoo.org/918969
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest|  1 +
 .../libunwind-1.8.0_rc1-configure-bashism.patch| 21 +++
 ...wind-.ebuild => libunwind-1.8.0_rc1.ebuild} | 24 +++---
 sys-libs/libunwind/libunwind-.ebuild   |  7 +--
 4 files changed, 44 insertions(+), 9 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index b40120edf128..6accc5696763 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -3,3 +3,4 @@ DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7
 DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5a88ede335104b1b0679e66199079e3dad9d83815d10a864b4480d88abd82b73bb71181962b1fea39ec41f534d78d549
 SHA512 
d786572e7fbd5ef7852712f592bd17d4110951083991c5ffcff2bb4ae91e4519b42743f848fe7f2cc9f72d8a0240531ec3d27806972c2c309d06a9048284b97b
 DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 
519570a02d06ce4a174ca226941e493499054112de1c92938434e9fb56fabc8446f699a886ea8beee672ac5e28acd03d16169257a43e2ee1bab084fb331ef4cf
 SHA512 
903f7e26c7d4c22e6ef4fe8954ca0f153fdf346cec40e1e8f7ab966d251110f4deb0a84d1fd150aee194ed966b5c1e01ee27c821cd043859852da33a94faae1f
+DIST libunwind-1.8.0-rc1.tar.gz 977482 BLAKE2B 
0cf4dde187b68a2ba642fc588fcb020bf3e631584d4cac888972f714e7c4ce7a88e10a4c816eadec2051f318a196c61f6c3b4ba5e8ebf17ce4e10ff61e6cd0c5
 SHA512 
0d9cd896a90ea6e36a9a8aeb049ce71ec3a893fcf991533a79bb663c54b0f4b1f04c7b306c06c56e809f829a42284655d52c9fec3d88c60c37f06681dd99d9e3

diff --git 
a/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch 
b/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch
new file mode 100644
index ..b4e36d71efdc
--- /dev/null
+++ b/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch
@@ -0,0 +1,21 @@
+https://github.com/libunwind/libunwind/pull/675
+
+From ac81d339a7999e054deda2c0041c01424df3eadd Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sat, 2 Dec 2023 21:18:44 +
+Subject: [PATCH] configure.ac: fix bashism in LDFLAGS append
+
+'+=' is not required for POSIX shells and may not work with e.g. /bin/sh
+provided by dash. Just expand it instead.
+--- a/configure.ac
 b/configure.ac
+@@ -54,7 +54,7 @@ dnl Checks for libraries.
+ AC_MSG_NOTICE([--- Checking for libraries ---])
+ save_LDFLAGS="$LDFLAGS"
+ save_LIBS="$LIBS"
+-LDFLAGS+=" -nostdlib"
++LDFLAGS="${LDFLAGS} -nostdlib"
+ AC_SEARCH_LIBS([_Unwind_Resume], [gcc_s gcc],
+[AS_IF([test "$ac_cv_search__Unwind_Resume" != "none 
required"],
+   [AC_SUBST([LIBCRTS], 
["$ac_cv_search__Unwind_Resume"])])],
+

diff --git a/sys-libs/libunwind/libunwind-.ebuild 
b/sys-libs/libunwind/libunwind-1.8.0_rc1.ebuild
similarity index 88%
copy from sys-libs/libunwind/libunwind-.ebuild
copy to sys-libs/libunwind/libunwind-1.8.0_rc1.ebuild
index f851e69da60a..a8d8ee1b3c83 100644
--- a/sys-libs/libunwind/libunwind-.ebuild
+++ b/sys-libs/libunwind/libunwind-1.8.0_rc1.ebuild
@@ -6,14 +6,14 @@ EAPI=8
 # Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
 # Set to 1 if prebuilt, 0 if not
 # (the construct below is to allow overriding from env for script)
-: ${LIBUNWIND_DOCS_PREBUILT:=1}
+: ${LIBUNWIND_DOCS_PREBUILT:=0}
 
 LIBUNWIND_DOCS_PREBUILT_DEV=sam
 LIBUNWIND_DOCS_VERSION=1.7.1
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
-inherit multilib-minimal
+inherit autotools multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -24,12 +24,15 @@ if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://github.com/libunwind/libunwind";
inherit autotools git-r3
 else
-   
SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
+   
SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV/_rc/-rc}/${P/_rc/-rc}.tar.gz";
if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-10-04 Thread Sam James
commit: 91f1c92a3dd2a088373e7c3c3978042f4c0b387e
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct  4 22:21:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  4 22:21:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f1c92a

sys-libs/libunwind: add 

Needed for testing some arm64 (apple) bits.

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.2.ebuild  | 25 --
 ...ibunwind-1.7.2.ebuild => libunwind-.ebuild} | 25 --
 2 files changed, 38 insertions(+), 12 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
index da2467284362..e5cd9a5f96e9 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -13,20 +13,29 @@ LIBUNWIND_DOCS_VERSION=1.7.1
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
-[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
-
 inherit multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
-if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
-   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+
+if [[ ${PV} ==  ]] ; then
+   LIBUNWIND_DOCS_PREBUILT=0
+
+   EGIT_REPO_URI="https://github.com/libunwind/libunwind";
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
+   if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+   fi
+
+   KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 -sparc x86 ~amd64-linux ~x86-linux"
 fi
 
+[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
+
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
@@ -66,6 +75,10 @@ src_prepare() {
default
 
chmod +x src/ia64/mk_cursor_i || die
+
+   if [[ ${PV} ==  ]] ; then
+   eautoreconf
+   fi
 }
 
 multilib_src_configure() {

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-.ebuild
similarity index 84%
copy from sys-libs/libunwind/libunwind-1.7.2.ebuild
copy to sys-libs/libunwind/libunwind-.ebuild
index da2467284362..f851e69da60a 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-.ebuild
@@ -13,20 +13,29 @@ LIBUNWIND_DOCS_VERSION=1.7.1
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
-[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
-
 inherit multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
-if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
-   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+
+if [[ ${PV} ==  ]] ; then
+   LIBUNWIND_DOCS_PREBUILT=0
+
+   EGIT_REPO_URI="https://github.com/libunwind/libunwind";
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
+   if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 -sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
+[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
+
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
@@ -66,6 +75,10 @@ src_prepare() {
  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-09-07 Thread Sam James
commit: 4f9c5749e1f0eca602054a20b6a849a1bcb38bfc
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9c5749

sys-libs/libunwind: Stabilize 1.7.2 ppc64, #913817

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
index 62b2776f8373..a9034f26d2a0 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -26,7 +26,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-09-07 Thread Sam James
commit: f142ca2d1f33cf4afd79af2eda1c7cdbce73fc3b
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f142ca2d

sys-libs/libunwind: Stabilize 1.7.2 arm64, #913817

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
index f17b17f855e4..0968e8493ec4 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -26,7 +26,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-09-07 Thread Sam James
commit: 9eb7de527fc5c1c4107ec1fbe8d13d6642e168dd
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb7de52

sys-libs/libunwind: Stabilize 1.7.2 amd64, #913817

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
index a9034f26d2a0..f17b17f855e4 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -26,7 +26,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-09-07 Thread Sam James
commit: 6d1e1744b2e0354f5bef02a21e72f8f4367ba7ac
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:52:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:52:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d1e1744

sys-libs/libunwind: Stabilize 1.7.2 arm, #913817

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
index f0b8c6cb12a7..62b2776f8373 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -26,7 +26,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-09-07 Thread Sam James
commit: 450ce2b5471f0ff8235a6db176345c331135ccd5
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:16:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:16:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450ce2b5

sys-libs/libunwind: Stabilize 1.7.2 x86, #913817

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
index ba82ff7d4f09..f0b8c6cb12a7 100644
--- a/sys-libs/libunwind/libunwind-1.7.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -26,7 +26,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-07-30 Thread Sam James
commit: a5b671b8e99950914d59829bd54f7897e6dbe3ff
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 30 12:33:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 12:33:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b671b8

sys-libs/libunwind: add 1.7.2

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 +
 sys-libs/libunwind/libunwind-1.7.2.ebuild | 116 ++
 2 files changed, 117 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 4621c3678e8a..671cc3173cda 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -4,4 +4,5 @@ DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf
 DIST libunwind-1.7.0-docs.tar.xz 27268 BLAKE2B 
e035009c7a7df15b020b8186e18053ee0e839e4a779155057426531c28d96f18cfc7beeef6ac1dd8496781812bc1023fbfcb5de0dffebda7de0e6975b17a23e6
 SHA512 
c18e3664d72fa0856609ac99a7ca04f969167f9bb2cd849e9ce0df63565c27a41080f67bb6d452657471fd0796c386fd993cfc4f3881ca47086301cda069b943
 DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5a88ede335104b1b0679e66199079e3dad9d83815d10a864b4480d88abd82b73bb71181962b1fea39ec41f534d78d549
 SHA512 
d786572e7fbd5ef7852712f592bd17d4110951083991c5ffcff2bb4ae91e4519b42743f848fe7f2cc9f72d8a0240531ec3d27806972c2c309d06a9048284b97b
 DIST libunwind-1.7.1.tar.gz 912881 BLAKE2B 
af66062a25bf8d7e308f29770316de34f46eaf2bb9f8c2a67a98dba1f7ffb6744b52b220501d7d2db37b70ea4fba27fc41f687e3add1ee35c528a5c99dc0924e
 SHA512 
372fd57663c46788104632e7f721871afe33a2244cc45c38d754e5d10b6692a41dc0d24aa673df94cc6790b4fac0d3341bc4499872ef461e106e8887dadf3830
+DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 
519570a02d06ce4a174ca226941e493499054112de1c92938434e9fb56fabc8446f699a886ea8beee672ac5e28acd03d16169257a43e2ee1bab084fb331ef4cf
 SHA512 
903f7e26c7d4c22e6ef4fe8954ca0f153fdf346cec40e1e8f7ab966d251110f4deb0a84d1fd150aee194ed966b5c1e01ee27c821cd043859852da33a94faae1f
 DIST libunwind-1.70.tar.gz 912930 BLAKE2B 
ef9cd9dc516cf906e883f40230942b18406f2cdbcfa7f7ea25673b400ebe621feb69d13ad1959bd0431bdf9c336082c7c364170214d8ae0f34eb8d285427bee3
 SHA512 
ec65a73db2f563784b880abf81864b85165255770e950feea57dd83700b72726d0e8c7d5b06e9485735538452730b8ecf2d52c3cc8190dfe69b765e1a9d4271c

diff --git a/sys-libs/libunwind/libunwind-1.7.2.ebuild 
b/sys-libs/libunwind/libunwind-1.7.2.ebuild
new file mode 100644
index ..ba82ff7d4f09
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.7.2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2005-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${LIBUNWIND_DOCS_PREBUILT:=1}
+
+LIBUNWIND_DOCS_PREBUILT_DEV=sam
+LIBUNWIND_DOCS_VERSION=1.7.1
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+LIBUNWIND_DOCS_USEFLAG="+doc"
+
+[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
+
+inherit multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
+if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+fi
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
+
+RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
+
+BDEPEND="
+   doc? ( app-text/texlive-core )
+"
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+# We just use the header from libatomic.
+DEPEND="
+   ${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-riscv.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-07-30 Thread Sam James
commit: 87ffe10aa69791f5384e63b3609a8801d8add24e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 30 12:33:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 12:33:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ffe10a

sys-libs/libunwind: drop 1.7.0, 1.7.1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest   |   3 -
 sys-libs/libunwind/libunwind-1.7.0.ebuild | 119 --
 sys-libs/libunwind/libunwind-1.7.1.ebuild | 116 -
 3 files changed, 238 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 671cc3173cda..b40120edf128 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,8 +1,5 @@
 DIST libunwind-1.6.2-docs.tar.xz 25372 BLAKE2B 
d16562b29c49070f0cd6ad9211c7c3283b527bd88677d9ce50b15f27254bac504ea79b807e01f4f2bdb05649ff8980f94346ef9737bf5b5bd7c313e547222f10
 SHA512 
71bcb781cc37ccbef7b349225b1b3b4cd6ba4ce5a48d8478cea17f8245614b672d8e14b5a088e2d998ea717670a371925d4fbe407dde636611f7c2f2901065d8
 DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0f42a7bb394acd3bf8dc9ef181f2ca55bee04bef070c57ea04853b756efd561cb60409770b1f6fa9095d0e14565eb0bfc621
 SHA512 
46c8a6022dbf099965cf121d91691aae0a38fb31901730f47f712a7078b323e04f278e6751a7d169ed7e87792f321b15471b253668541598b82edb6626b9518f
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7
-DIST libunwind-1.7.0-docs.tar.xz 27268 BLAKE2B 
e035009c7a7df15b020b8186e18053ee0e839e4a779155057426531c28d96f18cfc7beeef6ac1dd8496781812bc1023fbfcb5de0dffebda7de0e6975b17a23e6
 SHA512 
c18e3664d72fa0856609ac99a7ca04f969167f9bb2cd849e9ce0df63565c27a41080f67bb6d452657471fd0796c386fd993cfc4f3881ca47086301cda069b943
 DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5a88ede335104b1b0679e66199079e3dad9d83815d10a864b4480d88abd82b73bb71181962b1fea39ec41f534d78d549
 SHA512 
d786572e7fbd5ef7852712f592bd17d4110951083991c5ffcff2bb4ae91e4519b42743f848fe7f2cc9f72d8a0240531ec3d27806972c2c309d06a9048284b97b
-DIST libunwind-1.7.1.tar.gz 912881 BLAKE2B 
af66062a25bf8d7e308f29770316de34f46eaf2bb9f8c2a67a98dba1f7ffb6744b52b220501d7d2db37b70ea4fba27fc41f687e3add1ee35c528a5c99dc0924e
 SHA512 
372fd57663c46788104632e7f721871afe33a2244cc45c38d754e5d10b6692a41dc0d24aa673df94cc6790b4fac0d3341bc4499872ef461e106e8887dadf3830
 DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 
519570a02d06ce4a174ca226941e493499054112de1c92938434e9fb56fabc8446f699a886ea8beee672ac5e28acd03d16169257a43e2ee1bab084fb331ef4cf
 SHA512 
903f7e26c7d4c22e6ef4fe8954ca0f153fdf346cec40e1e8f7ab966d251110f4deb0a84d1fd150aee194ed966b5c1e01ee27c821cd043859852da33a94faae1f
-DIST libunwind-1.70.tar.gz 912930 BLAKE2B 
ef9cd9dc516cf906e883f40230942b18406f2cdbcfa7f7ea25673b400ebe621feb69d13ad1959bd0431bdf9c336082c7c364170214d8ae0f34eb8d285427bee3
 SHA512 
ec65a73db2f563784b880abf81864b85165255770e950feea57dd83700b72726d0e8c7d5b06e9485735538452730b8ecf2d52c3cc8190dfe69b765e1a9d4271c

diff --git a/sys-libs/libunwind/libunwind-1.7.0.ebuild 
b/sys-libs/libunwind/libunwind-1.7.0.ebuild
deleted file mode 100644
index 5c329968f024..
--- a/sys-libs/libunwind/libunwind-1.7.0.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2005-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
-# Set to 1 if prebuilt, 0 if not
-# (the construct below is to allow overriding from env for script)
-: ${LIBUNWIND_DOCS_PREBUILT:=1}
-
-LIBUNWIND_DOCS_PREBUILT_DEV=sam
-LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
-# Default to generating docs (inc. man pages) if no prebuilt; overridden later
-LIBUNWIND_DOCS_USEFLAG="+doc"
-
-[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
-
-inherit multilib-minimal
-
-# Weird MY_P for https://github.com/libunwind/libunwind/issues/535
-MY_P=${PN}-$(ver_rs 2 '')
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${MY_P}.tar.gz";
-if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
-   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
-fi
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-07-23 Thread Sam James
commit: ce2ba7dcddaae07e63c532db87ff228bea36ea56
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 23 23:21:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 23 23:21:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2ba7dc

sys-libs/libunwind: add 1.7.1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest   |   2 +
 sys-libs/libunwind/libunwind-1.7.1.ebuild | 116 ++
 2 files changed, 118 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index ccd1635dbb89..4621c3678e8a 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -2,4 +2,6 @@ DIST libunwind-1.6.2-docs.tar.xz 25372 BLAKE2B 
d16562b29c49070f0cd6ad9211c7c3283
 DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0f42a7bb394acd3bf8dc9ef181f2ca55bee04bef070c57ea04853b756efd561cb60409770b1f6fa9095d0e14565eb0bfc621
 SHA512 
46c8a6022dbf099965cf121d91691aae0a38fb31901730f47f712a7078b323e04f278e6751a7d169ed7e87792f321b15471b253668541598b82edb6626b9518f
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7
 DIST libunwind-1.7.0-docs.tar.xz 27268 BLAKE2B 
e035009c7a7df15b020b8186e18053ee0e839e4a779155057426531c28d96f18cfc7beeef6ac1dd8496781812bc1023fbfcb5de0dffebda7de0e6975b17a23e6
 SHA512 
c18e3664d72fa0856609ac99a7ca04f969167f9bb2cd849e9ce0df63565c27a41080f67bb6d452657471fd0796c386fd993cfc4f3881ca47086301cda069b943
+DIST libunwind-1.7.1-docs.tar.xz 27248 BLAKE2B 
0905f49ce72e6cafbb185828a4adf7eb5a88ede335104b1b0679e66199079e3dad9d83815d10a864b4480d88abd82b73bb71181962b1fea39ec41f534d78d549
 SHA512 
d786572e7fbd5ef7852712f592bd17d4110951083991c5ffcff2bb4ae91e4519b42743f848fe7f2cc9f72d8a0240531ec3d27806972c2c309d06a9048284b97b
+DIST libunwind-1.7.1.tar.gz 912881 BLAKE2B 
af66062a25bf8d7e308f29770316de34f46eaf2bb9f8c2a67a98dba1f7ffb6744b52b220501d7d2db37b70ea4fba27fc41f687e3add1ee35c528a5c99dc0924e
 SHA512 
372fd57663c46788104632e7f721871afe33a2244cc45c38d754e5d10b6692a41dc0d24aa673df94cc6790b4fac0d3341bc4499872ef461e106e8887dadf3830
 DIST libunwind-1.70.tar.gz 912930 BLAKE2B 
ef9cd9dc516cf906e883f40230942b18406f2cdbcfa7f7ea25673b400ebe621feb69d13ad1959bd0431bdf9c336082c7c364170214d8ae0f34eb8d285427bee3
 SHA512 
ec65a73db2f563784b880abf81864b85165255770e950feea57dd83700b72726d0e8c7d5b06e9485735538452730b8ecf2d52c3cc8190dfe69b765e1a9d4271c

diff --git a/sys-libs/libunwind/libunwind-1.7.1.ebuild 
b/sys-libs/libunwind/libunwind-1.7.1.ebuild
new file mode 100644
index ..635390c0974f
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.7.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2005-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${LIBUNWIND_DOCS_PREBUILT:=1}
+
+LIBUNWIND_DOCS_PREBUILT_DEV=sam
+LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+LIBUNWIND_DOCS_USEFLAG="+doc"
+
+[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
+
+inherit multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz";
+if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+fi
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
+
+RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
+
+BDEPEND="
+   doc? ( app-text/texlive-core )
+"
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+# We just use the header from libatomic.
+DEPEND="
+   ${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/includ

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-10 Thread Sam James
commit: a2e9fe30420f2fc137416b46700317da1bdf0a3e
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 10 07:05:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 07:07:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e9fe30

sys-libs/libunwind: drop 1.6.2

Bug: https://bugs.gentoo.org/908144
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 94 ---
 1 file changed, 94 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
deleted file mode 100644
index 3c8d7610772f..
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 2005-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 -sparc x86 
~amd64-linux ~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
-
-RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
-
-# We just use the header from libatomic.
-RDEPEND="
-   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
-   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-riscv.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-src_prepare() {
-   default
-
-   chmod +x src/ia64/mk_cursor_i || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   # --enable-cxx-exceptions: always enable it, headers provide 
the interface
-   # and on some archs it is disabled by default causing a 
mismatch between the
-   # API and the ABI, bug #418253
-   --enable-cxx-exceptions
-   --enable-coredump
-   --enable-ptrace
-   --enable-setjmp
-   $(use_enable debug-frame)
-   $(use_enable doc documentation)
-   $(use_enable lzma minidebuginfo)
-   $(use_enable static-libs static)
-   $(use_enable zlib zlibdebuginfo)
-   # conservative-checks: validate memory addresses before use; as 
of 1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, 
couple it with
-   # debug useflag.
-   $(use_enable debug conservative_checks)
-   $(use_enable debug)
-   $(use_enable test tests)
-   )
-
-   export ac_cv_header_atomic_ops_h=$(usex libatomic)
-
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
-   # bug #586208
-   CCACHE_NODIRECT=1 default
-}
-
-multilib_src_test() {
-   # Explicitly allow parallel build of tests.
-   # Sandbox causes some tests to freak out.
-   SANDBOX_ON=0 emake check
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name "*.la" -type f -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-09 Thread Arthur Zamarin
commit: 0faf645c97c0d979fb10cb92e0d7e5980ffb1ea6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 19:08:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 19:08:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0faf645c

sys-libs/libunwind: Stabilize 1.6.2-r1 hppa, #908144

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index f3347972960d..1ac3cb48c590 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-09 Thread Arthur Zamarin
commit: 916851bfe9112c5de20693e01ae6402cf344e9d8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 16:35:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 16:35:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916851bf

sys-libs/libunwind: Stabilize 1.6.2-r1 amd64, #908144

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index c877140b1da8..f3347972960d 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-09 Thread Sam James
commit: 9f9d3a21473d57c77df870a51930318946dca9f5
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 14:37:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 14:38:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9d3a21

sys-libs/libunwind: Stabilize 1.6.2-r1 x86, #908144

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index dacb952de294..c877140b1da8 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-09 Thread Arthur Zamarin
commit: c848d2c91fbec5d270ef784059ca3d3479ac961b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 14:24:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:24:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c848d2c9

sys-libs/libunwind: Stabilize 1.6.2-r1 ppc64, #908144

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index c0c39b336b4a..dacb952de294 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-09 Thread Arthur Zamarin
commit: c5f254eb6fed2e3811f64df63182d641e16aee0d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 14:00:28 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:00:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f254eb

sys-libs/libunwind: Stabilize 1.6.2-r1 arm, #908144

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 603deeb075fe..c0c39b336b4a 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-09 Thread Arthur Zamarin
commit: 674e5ef76968e9a7569c648dd835f74cd0661e6e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 13:48:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 13:50:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674e5ef7

sys-libs/libunwind: Stabilize 1.6.2-r1 arm64, #908144

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 229f8e058a3b..603deeb075fe 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2005-2022 Gentoo Authors
+# Copyright 2005-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-06 Thread Sam James
commit: 02d2a2efaf9690147e6b1dd07a137bf76fd2bd53
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun  6 06:46:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  6 07:09:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d2a2ef

sys-libs/libunwind: add comment re MY_P

Bug: https://github.com/libunwind/libunwind/issues/535
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.7.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/libunwind/libunwind-1.7.0.ebuild 
b/sys-libs/libunwind/libunwind-1.7.0.ebuild
index 0bbded1272bd..5c329968f024 100644
--- a/sys-libs/libunwind/libunwind-1.7.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.7.0.ebuild
@@ -17,6 +17,7 @@ LIBUNWIND_DOCS_USEFLAG="+doc"
 
 inherit multilib-minimal
 
+# Weird MY_P for https://github.com/libunwind/libunwind/issues/535
 MY_P=${PN}-$(ver_rs 2 '')
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2023-06-04 Thread Sam James
commit: f6fc5bac554ca45654210a12c8357e92e2d1e1a7
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun  5 04:57:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  5 04:57:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6fc5bac

sys-libs/libunwind: add 1.7.0

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest   |   2 +
 sys-libs/libunwind/libunwind-1.7.0.ebuild | 118 ++
 2 files changed, 120 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index baadb9574aee..ccd1635dbb89 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,3 +1,5 @@
 DIST libunwind-1.6.2-docs.tar.xz 25372 BLAKE2B 
d16562b29c49070f0cd6ad9211c7c3283b527bd88677d9ce50b15f27254bac504ea79b807e01f4f2bdb05649ff8980f94346ef9737bf5b5bd7c313e547222f10
 SHA512 
71bcb781cc37ccbef7b349225b1b3b4cd6ba4ce5a48d8478cea17f8245614b672d8e14b5a088e2d998ea717670a371925d4fbe407dde636611f7c2f2901065d8
 DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0f42a7bb394acd3bf8dc9ef181f2ca55bee04bef070c57ea04853b756efd561cb60409770b1f6fa9095d0e14565eb0bfc621
 SHA512 
46c8a6022dbf099965cf121d91691aae0a38fb31901730f47f712a7078b323e04f278e6751a7d169ed7e87792f321b15471b253668541598b82edb6626b9518f
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7
+DIST libunwind-1.7.0-docs.tar.xz 27268 BLAKE2B 
e035009c7a7df15b020b8186e18053ee0e839e4a779155057426531c28d96f18cfc7beeef6ac1dd8496781812bc1023fbfcb5de0dffebda7de0e6975b17a23e6
 SHA512 
c18e3664d72fa0856609ac99a7ca04f969167f9bb2cd849e9ce0df63565c27a41080f67bb6d452657471fd0796c386fd993cfc4f3881ca47086301cda069b943
+DIST libunwind-1.70.tar.gz 912930 BLAKE2B 
ef9cd9dc516cf906e883f40230942b18406f2cdbcfa7f7ea25673b400ebe621feb69d13ad1959bd0431bdf9c336082c7c364170214d8ae0f34eb8d285427bee3
 SHA512 
ec65a73db2f563784b880abf81864b85165255770e950feea57dd83700b72726d0e8c7d5b06e9485735538452730b8ecf2d52c3cc8190dfe69b765e1a9d4271c

diff --git a/sys-libs/libunwind/libunwind-1.7.0.ebuild 
b/sys-libs/libunwind/libunwind-1.7.0.ebuild
new file mode 100644
index ..0bbded1272bd
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.7.0.ebuild
@@ -0,0 +1,118 @@
+# Copyright 2005-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${LIBUNWIND_DOCS_PREBUILT:=1}
+
+LIBUNWIND_DOCS_PREBUILT_DEV=sam
+LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+LIBUNWIND_DOCS_USEFLAG="+doc"
+
+[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
+
+inherit multilib-minimal
+
+MY_P=${PN}-$(ver_rs 2 '')
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${MY_P}.tar.gz";
+if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+fi
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
+
+RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
+
+BDEPEND="
+   doc? ( app-text/texlive-core )
+"
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+# We just use the header from libatomic.
+DEPEND="
+   ${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-riscv.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+src_pre

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-10-29 Thread Sam James
commit: ef6b3a2d1ba84e98a5681f6440175d82184ec59f
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 29 21:38:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 29 21:38:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6b3a2d

sys-libs/libunwind: add savannah-nongnu upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/libunwind/metadata.xml b/sys-libs/libunwind/metadata.xml
index 02901daf788b..2861d2a86f04 100644
--- a/sys-libs/libunwind/metadata.xml
+++ b/sys-libs/libunwind/metadata.xml
@@ -10,6 +10,7 @@
Use libatomic instead of builtin atomic 
operations


+   libunwind
libunwind/libunwind

 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-30 Thread Sam James
commit: 2d2ec49c8475f6dd43e9965b8976dc5e44def716
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 30 18:31:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 30 19:06:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2ec49c

sys-libs/libunwind: limit multilib features (drop doc)

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index d513147411bd..229f8e058a3b 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -84,7 +84,7 @@ multilib_src_configure() {
--enable-ptrace
--enable-setjmp
$(use_enable debug-frame)
-   $(use_enable doc documentation)
+   $(multilib_native_use_enable doc documentation)
$(use_enable lzma minidebuginfo)
$(use_enable static-libs static)
$(use_enable zlib zlibdebuginfo)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-30 Thread WANG Xuerui
commit: cd9d14d5946f6317aaec4f63021da9172c059ae7
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Aug 30 16:06:39 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Aug 30 16:11:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9d14d5

sys-libs/libunwind: keyword 1.6.2-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 9dce29efe6eb..d513147411bd 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 -sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
-sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-30 Thread WANG Xuerui
commit: 62be64b563d8bb8b9488edfdd72c30e9d3c77cf7
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 09:40:28 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Aug 30 16:11:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62be64b5

sys-libs/libunwind: 1.6.2-r1: add patches for loong

Support for loong is already upstream for a good while, but upstream is
still not cutting a new release. So integrating the patches ourselves
in the meantime... And fix the ABI along the way. (The port is likely
made on the mips-like old world, thus horribly broken for Gentoo which
is decidedly new-world.)

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libunwind/Manifest  | 1 +
 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 6 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 77239b73ac2d..baadb9574aee 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1,3 @@
 DIST libunwind-1.6.2-docs.tar.xz 25372 BLAKE2B 
d16562b29c49070f0cd6ad9211c7c3283b527bd88677d9ce50b15f27254bac504ea79b807e01f4f2bdb05649ff8980f94346ef9737bf5b5bd7c313e547222f10
 SHA512 
71bcb781cc37ccbef7b349225b1b3b4cd6ba4ce5a48d8478cea17f8245614b672d8e14b5a088e2d998ea717670a371925d4fbe407dde636611f7c2f2901065d8
+DIST libunwind-1.6.2-loong.patch.xz 122756 BLAKE2B 
1d369d18e71c4b9faa79a31a917a0f42a7bb394acd3bf8dc9ef181f2ca55bee04bef070c57ea04853b756efd561cb60409770b1f6fa9095d0e14565eb0bfc621
 SHA512 
46c8a6022dbf099965cf121d91691aae0a38fb31901730f47f712a7078b323e04f278e6751a7d169ed7e87792f321b15471b253668541598b82edb6626b9518f
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 007df2e2a734..9dce29efe6eb 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -21,7 +21,8 @@ inherit multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz
+   loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${CATEGORY}/${PN}/${P}-loong.patch.xz )"
 if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
 fi
@@ -65,6 +66,9 @@ MULTILIB_WRAPPED_HEADERS=(
 )
 
 src_prepare() {
+   local PATCHES=()
+   use loong && PATCHES+=( "${WORKDIR}/${P}-loong.patch" )
+
default
 
chmod +x src/ia64/mk_cursor_i || die



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-17 Thread Sam James
commit: 3deed26b3259a962305414e179bc34f357f35d0b
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 18 03:15:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 18 03:15:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3deed26b

sys-libs/libunwind: fix docs override

No functional change, just useful for building doc tarball.

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 144c3e79cac5..007df2e2a734 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -6,7 +6,8 @@ EAPI=8
 # Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
 # Set to 1 if prebuilt, 0 if not
 # (the construct below is to allow overriding from env for script)
-LIBUNWIND_DOCS_PREBUILT=${LIBUNWIND_DOCS_PREBUILT:-1}
+: ${LIBUNWIND_DOCS_PREBUILT:=1}
+
 LIBUNWIND_DOCS_PREBUILT_DEV=sam
 LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-04 Thread Sam James
commit: a78599b4065281da97a1cf9177280b7d7d292211
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  5 05:56:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  5 05:56:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78599b4

sys-libs/libunwind: fix man path

Closes: https://bugs.gentoo.org/863698
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 9526faf6e04f..144c3e79cac5 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -12,6 +12,8 @@ LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
+[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
+
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
 inherit multilib-minimal
@@ -110,6 +112,6 @@ multilib_src_install_all() {
 
# If USE=doc, there'll be newly generated docs which we install instead.
if ! use doc && [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
-   doman 
"${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/docs/*.[0-8]
+   doman 
"${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/man*/*.[0-8]
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-04 Thread Sam James
commit: d438e60de88cd50a5754f058a0b6b11805f9bf6d
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  5 04:09:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  5 04:09:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d438e60d

sys-libs/libunwind: cleanup miscopied bug ref

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index fd4226b1c015..9526faf6e04f 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -10,7 +10,6 @@ LIBUNWIND_DOCS_PREBUILT=${LIBUNWIND_DOCS_PREBUILT:-1}
 LIBUNWIND_DOCS_PREBUILT_DEV=sam
 LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
-# bug #830088
 LIBUNWIND_DOCS_USEFLAG="+doc"
 
 MY_PV=${PV/_/-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-04 Thread Sam James
commit: 3c81168c1c47bced122a4aac9fb5e6509b1f6576
Author: Alfred Persson Forsberg  catcream  org>
AuthorDate: Fri Aug  5 00:12:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  5 03:17:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c81168c

sys-libs/libunwind: BDEPEND on texcore for USE=doc

Needed for building documentation.

Otherwise man pages would silently not be built:
```
configure: WARNING: latex2man not found. Install latex2man. Disabling docs.
```

Signed-off-by: Alfred Persson Forsberg  catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/26742
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 97 
 1 file changed, 97 insertions(+)

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
new file mode 100644
index ..d14ce27ffb31
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 2005-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 -sparc 
~x86 ~amd64-linux ~x86-linux"
+IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
+
+RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
+
+BDEPEND="
+   doc? ( app-text/texlive-core )
+"
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+# We just use the header from libatomic.
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-riscv.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+src_prepare() {
+   default
+
+   chmod +x src/ia64/mk_cursor_i || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   # --enable-cxx-exceptions: always enable it, headers provide 
the interface
+   # and on some archs it is disabled by default causing a 
mismatch between the
+   # API and the ABI, bug #418253
+   --enable-cxx-exceptions
+   --enable-coredump
+   --enable-ptrace
+   --enable-setjmp
+   $(use_enable debug-frame)
+   $(use_enable doc documentation)
+   $(use_enable lzma minidebuginfo)
+   $(use_enable static-libs static)
+   $(use_enable zlib zlibdebuginfo)
+   # conservative-checks: validate memory addresses before use; as 
of 1.0.1,
+   # only x86_64 supports this, yet may be useful for debugging, 
couple it with
+   # debug useflag.
+   $(use_enable debug conservative_checks)
+   $(use_enable debug)
+   $(use_enable test tests)
+   )
+
+   export ac_cv_header_atomic_ops_h=$(usex libatomic)
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   # bug #586208
+   CCACHE_NODIRECT=1 default
+}
+
+multilib_src_test() {
+   # Explicitly allow parallel build of tests.
+   # Sandbox causes some tests to freak out.
+   SANDBOX_ON=0 emake check
+}
+
+multilib_src_install_all() {
+   find "${ED}" -name "*.la" -type f -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-08-04 Thread Sam James
commit: 54cf529fa143511578b5622fafc911be4706de1a
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  5 03:15:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  5 03:18:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54cf529f

sys-libs/libunwind: provide pre-generated man pages

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest  |  1 +
 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 23 +--
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 7b180086ae0a..77239b73ac2d 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1 +1,2 @@
+DIST libunwind-1.6.2-docs.tar.xz 25372 BLAKE2B 
d16562b29c49070f0cd6ad9211c7c3283b527bd88677d9ce50b15f27254bac504ea79b807e01f4f2bdb05649ff8980f94346ef9737bf5b5bd7c313e547222f10
 SHA512 
71bcb781cc37ccbef7b349225b1b3b4cd6ba4ce5a48d8478cea17f8245614b672d8e14b5a088e2d998ea717670a371925d4fbe407dde636611f7c2f2901065d8
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7

diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index d14ce27ffb31..fd4226b1c015 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -1,7 +1,17 @@
 # Copyright 2005-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+LIBUNWIND_DOCS_PREBUILT=${LIBUNWIND_DOCS_PREBUILT:-1}
+LIBUNWIND_DOCS_PREBUILT_DEV=sam
+LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+# bug #830088
+LIBUNWIND_DOCS_USEFLAG="+doc"
 
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
@@ -10,12 +20,16 @@ inherit multilib-minimal
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
 SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !doc? ( 
https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz
 )"
+fi
+
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 -sparc 
~x86 ~amd64-linux ~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
+IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs 
test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
 
@@ -94,4 +108,9 @@ multilib_src_test() {
 
 multilib_src_install_all() {
find "${ED}" -name "*.la" -type f -delete || die
+
+   # If USE=doc, there'll be newly generated docs which we install instead.
+   if ! use doc && [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
+   doman 
"${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/docs/*.[0-8]
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/, sys-libs/libunwind/files/

2022-05-03 Thread Sam James
commit: d2feb8efe92d2e6eeb738040469e4f2d2ae05749
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 05:40:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 05:40:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2feb8ef

sys-libs/libunwind: drop 1.5.0-r1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest|   1 -
 .../files/libunwind-1.2-coredump-regs.patch|  16 ---
 .../files/libunwind-1.2-ia64-missing.patch |  93 --
 .../files/libunwind-1.2-ia64-ptrace-coredump.patch |  34 ---
 2.1-only-include-execinfo_h-if-avaliable.patch |  53 --
 sys-libs/libunwind/files/libunwind-1.5.0-x32.patch |  17 
 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild   | 108 -
 7 files changed, 322 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 2cf810467cc0..7b180086ae0a 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1 @@
-DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7

diff --git a/sys-libs/libunwind/files/libunwind-1.2-coredump-regs.patch 
b/sys-libs/libunwind/files/libunwind-1.2-coredump-regs.patch
deleted file mode 100644
index 3ddc610d4afc..
--- a/sys-libs/libunwind/files/libunwind-1.2-coredump-regs.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-https://bugs.gentoo.org/586092
-
-this might not be correct, but at least it builds, and doesn't crash
-
 a/src/coredump/_UCD_access_reg_linux.c
-+++ b/src/coredump/_UCD_access_reg_linux.c
-@@ -51,6 +51,9 @@ _UCD_access_reg (unw_addr_space_t as,
- #elif defined(UNW_TARGET_TILEGX)
-   if (regnum < 0 || regnum > UNW_TILEGX_CFA)
- goto badreg;
-+#elif defined(UNW_TARGET_IA64) || defined(UNW_TARGET_HPPA) || 
defined(UNW_TARGET_PPC32) || defined(UNW_TARGET_PPC64)
-+  if (regnum < 0 || regnum >= ARRAY_SIZE(ui->prstatus->pr_reg))
-+goto badreg;
- #else
- #if defined(UNW_TARGET_MIPS)
-   static const uint8_t remap_regs[] =

diff --git a/sys-libs/libunwind/files/libunwind-1.2-ia64-missing.patch 
b/sys-libs/libunwind/files/libunwind-1.2-ia64-missing.patch
deleted file mode 100644
index e15250b4c61f..
--- a/sys-libs/libunwind/files/libunwind-1.2-ia64-missing.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-Original libunwind release is missing a few ia64-specific files in tarball.
-diff --git a/src/ia64/mk_Gcursor_i.c b/src/ia64/mk_Gcursor_i.c
-new file mode 100644
-index 000..67b14d5
 /dev/null
-+++ b/src/ia64/mk_Gcursor_i.c
-@@ -0,0 +1,65 @@
-+/* libunwind - a platform-independent unwind library
-+   Copyright (C) 2003 Hewlett-Packard Co
-+Contributed by David Mosberger-Tang 
-+
-+This file is part of libunwind.
-+
-+Permission is hereby granted, free of charge, to any person obtaining
-+a copy of this software and associated documentation files (the
-+"Software"), to deal in the Software without restriction, including
-+without limitation the rights to use, copy, modify, merge, publish,
-+distribute, sublicense, and/or sell copies of the Software, and to
-+permit persons to whom the Software is furnished to do so, subject to
-+the following conditions:
-+
-+The above copyright notice and this permission notice shall be
-+included in all copies or substantial portions of the Software.
-+
-+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
-+
-+/* Utility to generate cursor_i.h.  */
-+
-+#include "libunwind_i.h"
-+
-+#ifdef offsetof
-+# undef offsetof
-+#endif
-+
-+#define offsetof(type,field)((char *) &((type *) 0)->field - (char *) 0)
-+
-+#define OFFSET(sym, offset) \
-+asm volatile("\n->" #sym " %0" : : "i" (offset))
-+
-+int
-+main (void)
-+{
-+  OFFSET("IP_OFF",   offsetof (struct cursor, ip));
-+  OFFSET("PR_OFF",   offsetof (struct cursor, pr));
-+  OFFSET("BSP_OFF",  offsetof (struct cursor, bsp));
-+  OFFSET("PSP_OFF",  offsetof (struct cursor, psp));
-+  OFFSET("PFS_LOC_OFF",  offsetof (st

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-05-03 Thread Sam James
commit: 307433bed6e14aa51e999dbf410840f6384dc332
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 05:34:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 05:40:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=307433be

sys-libs/libunwind: drop unnecessary eautoreconf

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index f67ca2db225d..3c8d7610772f 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
-inherit autotools multilib-minimal
+inherit multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -49,8 +49,6 @@ src_prepare() {
default
 
chmod +x src/ia64/mk_cursor_i || die
-
-   eautoreconf
 }
 
 multilib_src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-03-20 Thread Arthur Zamarin
commit: 9e2c3c8a235395f44239cbeb2948ce3e8aa36a43
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 20 20:16:33 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 20 20:16:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2c3c8a

sys-libs/libunwind: Keyword 1.6.2 s390, #779730

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index c92b672c50e3..f67ca2db225d 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-25 Thread Sam James
commit: 6cb1b959141b80899bb2185e4b16c934b7dbe6a6
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Feb 25 13:36:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 25 18:36:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb1b959

sys-libs/libunwind: stable 1.6.2 for hppa, bug #833658

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index 3e38b1c66c18..c92b672c50e3 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-19 Thread Arthur Zamarin
commit: b4868d2c00b5901a8088d59aa36e0bf1fa07f99c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 11:09:54 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 11:09:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4868d2c

sys-libs/libunwind: Stabilize 1.6.2 arm64, #833658

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index b0a6f851761d..3e38b1c66c18 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-19 Thread Arthur Zamarin
commit: f5d3f7be0a735b35912625d76fe812c5bb8faa40
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 11:03:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 11:03:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5d3f7be

sys-libs/libunwind: Stabilize 1.6.2 arm, #833658

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index d2f89f022917..b0a6f851761d 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-18 Thread Sam James
commit: 6fbf11e7d7f55a515460f6f7fe2c3c5b6d888969
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 03:35:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 03:35:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbf11e7

sys-libs/libunwind: Stabilize 1.6.2 ppc64, #833658

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index a32bed669cc2..d2f89f022917 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-18 Thread Sam James
commit: 8f3099106cc12e0a843d824bf06453fb4495c2df
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 03:04:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 03:04:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f309910

sys-libs/libunwind: Stabilize 1.6.2 ppc, #833658

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index 7a0cd63dc73a..a32bed669cc2 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-18 Thread Sam James
commit: c63fd6392685e0533bed78a83d63beb1be14a35d
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 02:39:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 02:39:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63fd639

sys-libs/libunwind: Stabilize 1.6.2 x86, #833658

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index 6c890a34591f..7a0cd63dc73a 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2022-02-18 Thread Sam James
commit: f0894abee33dca66db23fe020d142e0b8c6930b0
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 02:27:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 02:27:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0894abe

sys-libs/libunwind: Stabilize 1.6.2 amd64, #833658

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.6.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
index 62c11c5c04ce..6c890a34591f 100644
--- a/sys-libs/libunwind/libunwind-1.6.2.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2005-2021 Gentoo Authors
+# Copyright 2005-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
 
 RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/files/, sys-libs/libunwind/

2021-12-02 Thread Sam James
commit: c0ddacd19291a5c92245feacc7887921e10a697f
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  2 23:56:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  2 23:56:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ddacd1

sys-libs/libunwind: drop 1.6.0

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest|   1 -
 ...bunwind-1.6.0-avoid-bashisms-in-configure.patch |  21 -
 sys-libs/libunwind/libunwind-1.6.0.ebuild  | 100 -
 3 files changed, 122 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 7634e7a03c51..2cf810467cc0 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,3 +1,2 @@
 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
-DIST libunwind-1.6.0.tar.gz 901221 BLAKE2B 
360275931399a1cd931e4680f404eff369c9e924d95797d91b61852ab49af2acb2c42ddb9fef72e1e2f39a1bddb6767f7b5f9ba56e27fa581f73db9e3f1168e4
 SHA512 
89f6355134a3c3175c23fe1a44600d61f15e2533e6816286ad39f799d48f7abdcc03ea354aa1aed859cf277c24e475bc7e625c90b1dc0b69921d03dd1f160464
 DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7

diff --git 
a/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch 
b/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
deleted file mode 100644
index 16fd593c3c1a..
--- a/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/libunwind/libunwind/pull/315
 a/configure.ac
-+++ b/configure.ac
-@@ -136,7 +136,7 @@ AC_MSG_RESULT([$enable_ptrace])
- 
- AC_ARG_ENABLE(setjmp,
-   AS_HELP_STRING([--enable-setjmp],[building libunwind-setjmp library]),,
--[AS_IF([test x$target_arch == x$host_arch], [enable_setjmp=yes], 
[enable_setjmp=no])]
-+[AS_IF([test x$target_arch = x$host_arch], [enable_setjmp=yes], 
[enable_setjmp=no])]
- )
- 
- AC_ARG_ENABLE(documentation,
-@@ -261,7 +261,7 @@ case "${target_arch}" in
-   (aarch64) enable_debug_frame=yes;;
-   (*)   enable_debug_frame=no;;
- esac])
--if test x$remote_only == xyes; then
-+if test x$remote_only = xyes; then
-   enable_debug_frame=no
- fi
- if test x$enable_debug_frame = xyes; then

diff --git a/sys-libs/libunwind/libunwind-1.6.0.ebuild 
b/sys-libs/libunwind/libunwind-1.6.0.ebuild
deleted file mode 100644
index 9a82c45d2b02..
--- a/sys-libs/libunwind/libunwind-1.6.0.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 2005-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
-
-RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
-
-# We just use the header from libatomic.
-RDEPEND="
-   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
-   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-riscv.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.6.0-avoid-bashisms-in-configure.patch
-)
-
-src_prepare() {
-   default
-
-   chmod +x src/ia64/mk_cursor_i || die
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   # --enable-cxx-exceptions: always enable it,

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-12-02 Thread Sam James
commit: d403a6101baabefa595aadd1cc2ccf9a9a46885c
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  2 23:56:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  2 23:56:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d403a610

sys-libs/libunwind: add 1.6.2

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest   |  1 +
 sys-libs/libunwind/libunwind-1.6.2.ebuild | 96 +++
 2 files changed, 97 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 011d106d9581..7634e7a03c51 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1,3 @@
 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
 DIST libunwind-1.6.0.tar.gz 901221 BLAKE2B 
360275931399a1cd931e4680f404eff369c9e924d95797d91b61852ab49af2acb2c42ddb9fef72e1e2f39a1bddb6767f7b5f9ba56e27fa581f73db9e3f1168e4
 SHA512 
89f6355134a3c3175c23fe1a44600d61f15e2533e6816286ad39f799d48f7abdcc03ea354aa1aed859cf277c24e475bc7e625c90b1dc0b69921d03dd1f160464
+DIST libunwind-1.6.2.tar.gz 901392 BLAKE2B 
3d0313f7e92cbc3e1a84ad3831a5170f21cdf772f1697ca0a59dea63cdd47da382e9f1fd77325d9ff8bcd47559a425dc883a820c646c628cd00faed82cb0f83f
 SHA512 
1d17dfb14f99a894a6cda256caf9ec481c14068aaf8f3a85fa3befa7c7cca7fca0f544a91a3a7c2f2fc55bab19b06a67ca79f55ac9081151d94478c7f611f8f7

diff --git a/sys-libs/libunwind/libunwind-1.6.2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.2.ebuild
new file mode 100644
index ..62c11c5c04ce
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.6.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2005-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit autotools multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
+
+RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
+
+# We just use the header from libatomic.
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-riscv.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+src_prepare() {
+   default
+
+   chmod +x src/ia64/mk_cursor_i || die
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   # --enable-cxx-exceptions: always enable it, headers provide 
the interface
+   # and on some archs it is disabled by default causing a 
mismatch between the
+   # API and the ABI, bug #418253
+   --enable-cxx-exceptions
+   --enable-coredump
+   --enable-ptrace
+   --enable-setjmp
+   $(use_enable debug-frame)
+   $(use_enable doc documentation)
+   $(use_enable lzma minidebuginfo)
+   $(use_enable static-libs static)
+   $(use_enable zlib zlibdebuginfo)
+   # conservative-checks: validate memory addresses before use; as 
of 1.0.1,
+   # only x86_64 supports this, yet may be useful for debugging, 
couple it with
+   # debug useflag.
+   $(use_enable debug conservative_checks)
+   $(use_enable debug)
+   $(use_enable test tests)
+   )
+
+   export ac_cv_header_atomic_ops_h=$(usex libatomic)
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   # bug #586208
+   CCACHE_NODIRECT=1 default
+}
+
+multilib_src_test() {
+   # Explicitly allow parallel build of tests.
+   # Sandbox causes some tests to freak out.
+   SANDBOX_O

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/files/

2021-11-27 Thread Sam James
commit: c445899f326a6aa0c824973e329d9ba8a0324303
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 27 16:46:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 27 16:46:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c445899f

sys-libs/libunwind: add link to upstream PR fo bashism patch

Signed-off-by: Sam James  gentoo.org>

 .../libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch 
b/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
index 79ac58d1e539..16fd593c3c1a 100644
--- a/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
+++ b/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
@@ -1,5 +1,4 @@
-diff --git a/configure.ac b/configure.ac
-index 0bd2234..42cca58 100644
+https://github.com/libunwind/libunwind/pull/315
 --- a/configure.ac
 +++ b/configure.ac
 @@ -136,7 +136,7 @@ AC_MSG_RESULT([$enable_ptrace])



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/, sys-libs/libunwind/files/

2021-11-27 Thread Sam James
commit: c3d1abc7c6970abae8be4b0d2bf0b0c99f25de5f
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 27 14:28:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 27 14:36:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d1abc7

sys-libs/libunwind: add 1.6.0

Closes: https://bugs.gentoo.org/802501
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest|   1 +
 2.1-only-include-execinfo_h-if-avaliable.patch |   2 +
 ...bunwind-1.6.0-avoid-bashisms-in-configure.patch |  22 +
 sys-libs/libunwind/libunwind-1.6.0.ebuild  | 100 +
 4 files changed, 125 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index a755df1496a0..77c805582db1 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1,3 @@
 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
 DIST libunwind-1.6.0-rc2.tar.gz 900974 BLAKE2B 
bbf88b6eb0ddf1371a8d69904e7763d2b2892641f88ed985f342962de7b2d19b6201f84422252aa5ca3d6beed7b3af0e2fe1fdb603497dbe68215ebc94942074
 SHA512 
7b3933c4693595a85182cc11d24527c5ccda3c3af115a3947bdc9877ecb4a77659a2196f559112868b36cd2cdc5623cabef68ad519fd4017c510ee375b97cbe9
+DIST libunwind-1.6.0.tar.gz 901221 BLAKE2B 
360275931399a1cd931e4680f404eff369c9e924d95797d91b61852ab49af2acb2c42ddb9fef72e1e2f39a1bddb6767f7b5f9ba56e27fa581f73db9e3f1168e4
 SHA512 
89f6355134a3c3175c23fe1a44600d61f15e2533e6816286ad39f799d48f7abdcc03ea354aa1aed859cf277c24e475bc7e625c90b1dc0b69921d03dd1f160464

diff --git 
a/sys-libs/libunwind/files/libunwind-1.2.1-only-include-execinfo_h-if-avaliable.patch
 
b/sys-libs/libunwind/files/libunwind-1.2.1-only-include-execinfo_h-if-avaliable.patch
index ee11149771cd..b6ba0028c80f 100644
--- 
a/sys-libs/libunwind/files/libunwind-1.2.1-only-include-execinfo_h-if-avaliable.patch
+++ 
b/sys-libs/libunwind/files/libunwind-1.2.1-only-include-execinfo_h-if-avaliable.patch
@@ -1,3 +1,5 @@
+https://github.com/libunwind/libunwind/commit/6382d6f5c9d4d149989e47b20446f794365137c1
+
 From 0f3f41a86842f2b19aa07af5242cb775ef9b20d3 Mon Sep 17 00:00:00 2001
 From: "Jory A. Pratt" 
 Date: Sat, 30 Jun 2018 22:44:22 -0500

diff --git 
a/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch 
b/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
new file mode 100644
index ..79ac58d1e539
--- /dev/null
+++ b/sys-libs/libunwind/files/libunwind-1.6.0-avoid-bashisms-in-configure.patch
@@ -0,0 +1,22 @@
+diff --git a/configure.ac b/configure.ac
+index 0bd2234..42cca58 100644
+--- a/configure.ac
 b/configure.ac
+@@ -136,7 +136,7 @@ AC_MSG_RESULT([$enable_ptrace])
+ 
+ AC_ARG_ENABLE(setjmp,
+   AS_HELP_STRING([--enable-setjmp],[building libunwind-setjmp library]),,
+-[AS_IF([test x$target_arch == x$host_arch], [enable_setjmp=yes], 
[enable_setjmp=no])]
++[AS_IF([test x$target_arch = x$host_arch], [enable_setjmp=yes], 
[enable_setjmp=no])]
+ )
+ 
+ AC_ARG_ENABLE(documentation,
+@@ -261,7 +261,7 @@ case "${target_arch}" in
+   (aarch64) enable_debug_frame=yes;;
+   (*)   enable_debug_frame=no;;
+ esac])
+-if test x$remote_only == xyes; then
++if test x$remote_only = xyes; then
+   enable_debug_frame=no
+ fi
+ if test x$enable_debug_frame = xyes; then

diff --git a/sys-libs/libunwind/libunwind-1.6.0.ebuild 
b/sys-libs/libunwind/libunwind-1.6.0.ebuild
new file mode 100644
index ..9a82c45d2b02
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.6.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2005-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit autotools multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug debug-frame doc libatomic lzma static-libs test zlib"
+
+RESTRICT="test !test? ( test )" # some tests are broken (toolchain version 
dependent, rely on external binaries)
+
+# We just use the header from libatomic.
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-11-27 Thread Sam James
commit: e879fee042733e7717b76abe6f668ebbaac383b0
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 27 14:36:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 27 14:36:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e879fee0

sys-libs/libunwind: drop 1.6.0_rc2

Bug: https://bugs.gentoo.org/802501
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 -
 sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild | 102 --
 2 files changed, 103 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 77c805582db1..011d106d9581 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,3 +1,2 @@
 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
-DIST libunwind-1.6.0-rc2.tar.gz 900974 BLAKE2B 
bbf88b6eb0ddf1371a8d69904e7763d2b2892641f88ed985f342962de7b2d19b6201f84422252aa5ca3d6beed7b3af0e2fe1fdb603497dbe68215ebc94942074
 SHA512 
7b3933c4693595a85182cc11d24527c5ccda3c3af115a3947bdc9877ecb4a77659a2196f559112868b36cd2cdc5623cabef68ad519fd4017c510ee375b97cbe9
 DIST libunwind-1.6.0.tar.gz 901221 BLAKE2B 
360275931399a1cd931e4680f404eff369c9e924d95797d91b61852ab49af2acb2c42ddb9fef72e1e2f39a1bddb6767f7b5f9ba56e27fa581f73db9e3f1168e4
 SHA512 
89f6355134a3c3175c23fe1a44600d61f15e2533e6816286ad39f799d48f7abdcc03ea354aa1aed859cf277c24e475bc7e625c90b1dc0b69921d03dd1f160464

diff --git a/sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild
deleted file mode 100644
index 2c27a4785c80..
--- a/sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2005-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools flag-o-matic libtool multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-#KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
-KEYWORDS="~riscv"
-IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
-
-RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
-
-# We just use the header from libatomic.
-RDEPEND="
-   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
-   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-riscv.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   # needs refresh:
-   #"${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
-)
-
-src_prepare() {
-   default
-   chmod +x src/ia64/mk_cursor_i || die
-   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This works around some build errors too. #484846
-   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
-
-   elibtoolize
-   eautoreconf
-}
-
-multilib_src_configure() {
-   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
-   # and on some archs it is disabled by default causing a mismatch 
between the
-   # API and the ABI, bug #418253
-   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
-   # debug useflag.
-   ECONF_SOURCE="${S}" \
-   ac_cv_header_atomic_ops_h=$(usex libatomic) \
-   econf \
-   --enable-cxx-exceptions \
-   --enable-coredump \
-   --enable-ptrace \
-   --enable-setjmp \
-   $(use_enable debug-frame) \
-   $(use_enable doc documentation) \
-   $(use_enable lzma minidebuginfo) \
-   $(use_enable static-libs static) \
-   $(use_enable zlib zlibdebuginfo) \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-09-17 Thread Andreas K. HĂĽttel
commit: 1e963ad3f4dad5e68fb4c4571ed70e4735a407a4
Author: Andreas K. HĂĽttel  gentoo  org>
AuthorDate: Sat Sep 18 06:30:20 2021 +
Commit: Andreas K. HĂĽttel  gentoo  org>
CommitDate: Sat Sep 18 06:31:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e963ad3

sys-libs/libunwind: Add release candidate for testing (only) on riscv

Closes: https://bugs.gentoo.org/802501
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Huettel  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 +
 sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild | 102 ++
 2 files changed, 103 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index f7df915b276..a755df1496a 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1 +1,2 @@
 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
+DIST libunwind-1.6.0-rc2.tar.gz 900974 BLAKE2B 
bbf88b6eb0ddf1371a8d69904e7763d2b2892641f88ed985f342962de7b2d19b6201f84422252aa5ca3d6beed7b3af0e2fe1fdb603497dbe68215ebc94942074
 SHA512 
7b3933c4693595a85182cc11d24527c5ccda3c3af115a3947bdc9877ecb4a77659a2196f559112868b36cd2cdc5623cabef68ad519fd4017c510ee375b97cbe9

diff --git a/sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild 
b/sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild
new file mode 100644
index 000..2c27a4785c8
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.6.0_rc2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 2005-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit autotools flag-o-matic libtool multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+#KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~riscv"
+IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
+
+RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
+
+# We just use the header from libatomic.
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-riscv.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+PATCHES=(
+   # needs refresh:
+   #"${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
+)
+
+src_prepare() {
+   default
+   chmod +x src/ia64/mk_cursor_i || die
+   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
+   # entirely.  This works around some build errors too. #484846
+   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
+
+   elibtoolize
+   eautoreconf
+}
+
+multilib_src_configure() {
+   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
+   # and on some archs it is disabled by default causing a mismatch 
between the
+   # API and the ABI, bug #418253
+   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
+   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
+   # debug useflag.
+   ECONF_SOURCE="${S}" \
+   ac_cv_header_atomic_ops_h=$(usex libatomic) \
+   econf \
+   --enable-cxx-exceptions \
+   --enable-coredump \
+   --enable-ptrace \
+   --enable-setjmp \
+   $(use_enable debug-frame) \
+   $(use_enable doc documentation) \
+   $(use_enable lzma minidebuginfo) \
+   $(use_enable static-libs static) \
+   $(use_enable zlib zlibdebuginfo) \
+   $(use_enable debug conservative_checks) \
+   $(use_enable debug)
+}
+
+multilib_src_compile() {
+   # Bug 586208
+   CCACHE_NODIRECT=1 default
+}
+
+multilib_src_test() {
+   # Expli

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/files/, sys-libs/libunwind/

2021-07-07 Thread Sergei Trofimovich
commit: c8d170da873918e7969852ffdd48ff2904f65432
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Jul  7 07:12:49 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jul  7 09:39:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d170da

sys-libs/libunwind: fix ABI_X86=x32 build

Reported-by: Jan Ziak
Closes: https://bugs.gentoo.org/614374
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/files/libunwind-1.5.0-x32.patch | 17 +
 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild   |  1 +
 2 files changed, 18 insertions(+)

diff --git a/sys-libs/libunwind/files/libunwind-1.5.0-x32.patch 
b/sys-libs/libunwind/files/libunwind-1.5.0-x32.patch
new file mode 100644
index 000..a3bbc81f45b
--- /dev/null
+++ b/sys-libs/libunwind/files/libunwind-1.5.0-x32.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/614374
+
+From: kasperk81 <83082615+kasper...@users.noreply.github.com>
+Date: Wed, 30 Jun 2021 23:23:22 +
+Subject: [PATCH] Fix -mx32 compilation error
+
+--- a/src/x86_64/Gos-linux.c
 b/src/x86_64/Gos-linux.c
+@@ -149,7 +149,7 @@ x86_64_sigreturn (unw_cursor_t *cursor)
+   __asm__ __volatile__ ("mov %0, %%rsp;"
+ "mov %1, %%rax;"
+ "syscall"
+-:: "r"(sc), "i"(SYS_rt_sigreturn)
++:: "r"((uint64_t)sc), "i"(SYS_rt_sigreturn)
+ : "memory");
+   abort();
+ }

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index ae510ed27fe..082fdab6ed8 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -49,6 +49,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
"${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
"${FILESDIR}"/${PN}-1.2-ia64-missing.patch
+   "${FILESDIR}"/${PN}-1.5.0-x32.patch
# needs refresh:
#"${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
 )



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-06-25 Thread Marek Szuba
commit: 431d604177920f54dbedec7fcaec9365796f8211
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 25 17:17:11 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 25 17:23:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431d6041

sys-libs/libunwind: keyword 1.5.0-r1 for -riscv

src_configure fails with

configure: error: Unknown ELF target: riscv64

Given that upstream stated in 2019 they weren't interested in working
on RISC-V support unless someone implemented it for them, and that the
LLVM libunwind does support this architecture, the above feels unlikely
to change any time soon.

See-also: https://github.com/libunwind/libunwind/issues/99
See-also: https://github.com/libunwind/libunwind/issues/151
Bug: https://bugs.gentoo.org/774900
Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index a94b6d91810..ae510ed27fe 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -riscv -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-20 Thread Sergei Trofimovich
commit: f6c51b16f65861e33e6b08f8205b2b1abe46eda7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb 20 10:20:12 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb 20 10:23:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c51b16

sys-libs/libunwind: drop old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 107 --
 1 file changed, 107 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
deleted file mode 100644
index 0426d0b7897..000
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 2005-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools flag-o-matic libtool multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
-
-RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
-
-# We just use the header from libatomic.
-RDEPEND="
-   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
-   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
-   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
-   # needs refresh:
-   #"${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
-)
-
-src_prepare() {
-   default
-   chmod +x src/ia64/mk_cursor_i || die
-   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This works around some build errors too. #484846
-   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
-
-   elibtoolize
-   eautoreconf
-
-   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
-   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
-   append-cflags -fcommon
-}
-
-multilib_src_configure() {
-   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
-   # and on some archs it is disabled by default causing a mismatch 
between the
-   # API and the ABI, bug #418253
-   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
-   # debug useflag.
-   ECONF_SOURCE="${S}" \
-   ac_cv_header_atomic_ops_h=$(usex libatomic) \
-   econf \
-   --enable-cxx-exceptions \
-   --enable-coredump \
-   --enable-ptrace \
-   --enable-setjmp \
-   $(use_enable debug-frame) \
-   $(use_enable doc documentation) \
-   $(use_enable lzma minidebuginfo) \
-   $(use_enable static-libs static) \
-   $(use_enable zlib zlibdebuginfo) \
-   $(use_enable debug conservative_checks) \
-   $(use_enable debug)
-}
-
-multilib_src_compile() {
-   # Bug 586208
-   CCACHE_NODIRECT=1 default
-}
-
-multilib_src_test() {
-   # Explicitly allow parallel build of tests.
-   # Sandbox causes some tests to freak out.
-   SANDBOX_ON=0 emake check
-}
-
-multilib_src_install_all() {
-   find "${D}" -name "*.la" -type f -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-16 Thread Sam James
commit: e0eefaf98d634a2182a27d5aabe3cc8a4e2a83fd
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 16 12:33:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 16 12:33:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0eefaf9

sys-libs/libunwind: Stabilize 1.5.0-r1 arm, #768852

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index 4aeb36600fd..a94b6d91810 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-13 Thread Sam James
commit: 01ae90ba5843daed58e01c20975a5fa49c359d49
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 14 02:10:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 14 02:10:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ae90ba

sys-libs/libunwind: Stabilize 1.5.0-r1 arm64, #768852

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index 7d9e157276c..4aeb36600fd 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-12 Thread Sam James
commit: eb260ca47f48e4bb4fa8b81fe146873cae7d6741
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 12 13:46:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 12 13:46:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb260ca4

sys-libs/libunwind: Stabilize 1.5.0-r1 ppc, #768852

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index f2ba1c6e95e..7d9e157276c 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-07 Thread Sergei Trofimovich
commit: 443348e82f1dfdc316d7b86a26aae28fcdc0f163
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Feb  7 11:54:20 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb  7 18:18:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443348e8

sys-libs/libunwind: stable 1.5.0-r1 for hppa, bug #768852

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index a3add97cf0d..f2ba1c6e95e 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-05 Thread Sam James
commit: bf20a6a5dc2e3a63bdc0d447bb674da4d4cc3df8
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  5 22:33:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 22:33:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf20a6a5

sys-libs/libunwind: add github remote-id

Savannah: "Most development is now taking place on github"
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-libs/libunwind/metadata.xml b/sys-libs/libunwind/metadata.xml
index 95faca4e763..bbf0cc649c9 100644
--- a/sys-libs/libunwind/metadata.xml
+++ b/sys-libs/libunwind/metadata.xml
@@ -9,4 +9,7 @@
Adds support for DWARF .debug_frame 
section: Use the information from this section if available
Use libatomic instead of builtin atomic 
operations

+   
+   libunwind/libunwind
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-05 Thread Sam James
commit: 3aad89b8f177ee596ace25e413a8c4fd1208bc4d
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  5 12:31:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 12:31:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aad89b8

sys-libs/libunwind: Stabilize 1.5.0-r1 x86, #768852

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index 7f510b55fd5..a3add97cf0d 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-05 Thread Sam James
commit: 2b1579e61c10c90c0b71fa19e5cd87c0a2b04933
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  5 10:42:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 10:42:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b1579e6

sys-libs/libunwind: Stabilize 1.5.0-r1 ppc64, #768852

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index c810d1e77f7..7f510b55fd5 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-02-05 Thread Sam James
commit: f4b1f7903e31f8cc2a8f62cd56651153b0394401
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  5 10:40:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 10:40:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4b1f790

sys-libs/libunwind: Stabilize 1.5.0-r1 amd64, #768852

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
index 2467a4251a0..c810d1e77f7 100644
--- a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2021-01-03 Thread Sergei Trofimovich
commit: 7a1f5cfcb5edc8de26883557bc352969331b9fa5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan  3 10:13:27 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan  3 10:13:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1f5cfc

sys-libs/libunwind: don't enable USE=static-libs by default (take 2)

Let's do only dynamic libraries by default. That way we avoid
USE=static-libs conflict on:
- sys-libs/zlib (default disabled)
- app-arch/xz-utils (default disabled)

The only user that expects sys-libs/libunwind[static-libs]
is sys-libs/libcxxabi (+libunwind +static-libs). It will be
fixed in https://bugs.gentoo.org/760504.

Bug: https://bugs.gentoo.org/760504
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 107 +++
 1 file changed, 107 insertions(+)

diff --git a/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
new file mode 100644
index 000..2467a4251a0
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.5.0-r1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2005-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit autotools flag-o-matic libtool multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
+
+RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
+
+# We just use the header from libatomic.
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
+   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
+   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
+   # needs refresh:
+   #"${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
+)
+
+src_prepare() {
+   default
+   chmod +x src/ia64/mk_cursor_i || die
+   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
+   # entirely.  This works around some build errors too. #484846
+   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
+
+   elibtoolize
+   eautoreconf
+
+   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
+   append-cflags -fcommon
+}
+
+multilib_src_configure() {
+   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
+   # and on some archs it is disabled by default causing a mismatch 
between the
+   # API and the ABI, bug #418253
+   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
+   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
+   # debug useflag.
+   ECONF_SOURCE="${S}" \
+   ac_cv_header_atomic_ops_h=$(usex libatomic) \
+   econf \
+   --enable-cxx-exceptions \
+   --enable-coredump \
+   --enable-ptrace \
+   --enable-setjmp \
+   $(use_enable debug-frame) \
+   $(use_enable doc documentation) \
+   $(use_enable lzma minidebuginfo) \
+   $(use_enable static-libs static) \
+   $(use_enable zlib zlibdebuginfo) \
+   $(use_enable debug conservative_checks) \
+   $(use_enable debug)
+}
+
+multilib_src_compile() {
+   # Bug 586208
+   CCACHE_NODIRECT=1 default
+}
+
+multilib_src_test() {
+   # Explicitly allow parallel build of tests.
+   # Sandbox causes some tests to freak out.
+   SANDBOX_ON=0 emake check
+}
+
+multilib_src_install_all() {
+   find "${D}" -name "*.la" -type f -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-25 Thread Sergei Trofimovich
commit: 3ec8a3ea94690293f4039dd42f4cd992402f758e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Dec 25 12:04:38 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Dec 25 12:17:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec8a3ea

sys-libs/libunwind: drop old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 -
 sys-libs/libunwind/libunwind-1.4.0.ebuild | 102 --
 2 files changed, 103 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index aefc5f3036f..f7df915b276 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1 @@
-DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 
39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269
 SHA512 
60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913
 DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
deleted file mode 100644
index f3a6bbb9eff..000
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2005-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools flag-o-matic libtool multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs"
-
-RESTRICT="test" # some tests are broken (toolchain version dependent)
-
-# We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
-   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
-   "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
-)
-
-src_prepare() {
-   default
-   chmod +x src/ia64/mk_cursor_i || die
-   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This works around some build errors too. #484846
-   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
-
-   elibtoolize
-   eautoreconf
-
-   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
-   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
-   append-cflags -fcommon
-}
-
-multilib_src_configure() {
-   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
-   # and on some archs it is disabled by default causing a mismatch 
between the
-   # API and the ABI, bug #418253
-   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
-   # debug useflag.
-   ECONF_SOURCE="${S}" \
-   ac_cv_header_atomic_ops_h=$(usex libatomic) \
-   econf \
-   --enable-cxx-exceptions \
-   --enable-coredump \
-   --enable-ptrace \
-   --enable-setjmp \
-   $(use_enable debug-frame) \
-   $(use_enable doc documentation) \
-   $(use_enable lzma minidebuginfo) \
-   $(use_enable static-libs static) \
-   $(use_enable debug conservative_checks) \
-   $(use_enable debug)
-}
-
-multilib_src_compile() {
-   # Bug 586208
-   CCACHE_NODIRECT=1 default
-}
-
-multilib_src_test()

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-21 Thread Sam James
commit: c0461cdba1a5d23b79fd8add55156586b03c82df
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 05:18:06 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 05:18:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0461cdb

sys-libs/libunwind: Stabilize 1.5.0 ppc64, #759637

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 42ee07e1b35..0426d0b7897 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-17 Thread Sergei Trofimovich
commit: 0c0165f5683ce1cd31b964a4d44691af14399b6a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Dec 17 17:01:19 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 17 17:06:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0165f5

sys-libs/libunwind: revert "don't enable USE=static-libs by default"

This reverts commit 80060a9a59c525eb77d95eba9a234ce6566f4b51.

sys-libs/libcxxabi requires sys-libs/libunwind[static-libs] enabled
by default. Let's change the default in a revbump.

Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index 4f7a2fc9609..f3a6bbb9eff 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma static-libs"
+IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)
 

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index c1ab6e0a1e0..42ee07e1b35 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
+IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-17 Thread Sergei Trofimovich
commit: 80060a9a59c525eb77d95eba9a234ce6566f4b51
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Dec 17 14:49:36 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 17 14:56:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80060a9a

sys-libs/libunwind: don't enable USE=static-libs by default

There should be no depends that require static libunwind.
Let's do only dynamic by default. That way we can avoid
enabling USE=static-libs on zlib and lzma.

Reported-by: David Michael  gmail.com>
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index f3a6bbb9eff..4f7a2fc9609 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs"
+IUSE="debug debug-frame doc libatomic lzma static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)
 

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 42ee07e1b35..c1ab6e0a1e0 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
 KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
+IUSE="debug debug-frame doc libatomic lzma static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-16 Thread Sam James
commit: 43c12f39050f067ef8172af2c5c38cc14b9e9c9e
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 16 23:09:51 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 16 23:09:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43c12f39

sys-libs/libunwind: Stabilize 1.5.0 amd64, #759637

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 70ee498e619..42ee07e1b35 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-16 Thread Sam James
commit: 10c943fa67cf84913bb6f702f50194acbc58a7ce
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 16 16:13:15 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 16 16:13:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c943fa

sys-libs/libunwind: Stabilize 1.5.0 ppc, #759637

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index a09a8c10978..70ee498e619 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-14 Thread Sergei Trofimovich
commit: 9173e6d8d1a2c2b5ae85c95eac03b8eb404ad288
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Dec 14 19:37:58 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec 14 21:50:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9173e6d8

sys-libs/libunwind: stable 1.5.0 for hppa, bug #759637

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 187e84c1b7b..a09a8c10978 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-13 Thread Thomas Deutschmann
commit: 345de37ed8b214b61aff75fa86020b14551a1cc2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Dec 13 21:43:57 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Dec 13 21:43:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=345de37e

sys-libs/libunwind: x86 stable (bug #759637)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 5d2c92d3e26..187e84c1b7b 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-13 Thread Sam James
commit: 1491085db4b3ed600239bff8e8488bd714aa3ea9
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 13 09:00:48 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 13 09:00:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1491085d

sys-libs/libunwind: arm stable (bug #759637)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 415863a1e46..5d2c92d3e26 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-12-13 Thread Sam James
commit: f7a4ac4840f6b18f57d43c1bff27427c18f5f5be
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 13 08:51:41 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 13 08:51:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a4ac48

sys-libs/libunwind: arm64 stable (bug #759637)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
index 66243881006..415863a1e46 100644
--- a/sys-libs/libunwind/libunwind-1.5.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-11-12 Thread Sergei Trofimovich
commit: 59d24eb18bd59c8c42afce8d9ac48ddcd453e26a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Nov 12 08:15:10 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Nov 12 08:15:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d24eb1

sys-libs/libunwind: bump up to 1.5.0

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 +
 sys-libs/libunwind/libunwind-1.5.0.ebuild | 107 ++
 2 files changed, 108 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index c94f42495a9..aefc5f3036f 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1 +1,2 @@
 DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 
39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269
 SHA512 
60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913
+DIST libunwind-1.5.0.tar.gz 878355 BLAKE2B 
ee35441289926ac22a58bedb9f831d8e13bacd663a99b3ce25eed229f25f0423bbbd90e09e3d62b003518d7a620aa6d15b0dd5b93632736a89fa0667b35d5fc2
 SHA512 
1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab

diff --git a/sys-libs/libunwind/libunwind-1.5.0.ebuild 
b/sys-libs/libunwind/libunwind-1.5.0.ebuild
new file mode 100644
index 000..66243881006
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.5.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2005-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit autotools flag-o-matic libtool multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug debug-frame doc libatomic lzma +static-libs zlib"
+
+RESTRICT="test" # some tests are broken (toolchain version dependent, rely on 
external binaries)
+
+# We just use the header from libatomic.
+RDEPEND="
+   lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )
+   zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
+   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
+   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
+   # needs refresh:
+   #"${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
+)
+
+src_prepare() {
+   default
+   chmod +x src/ia64/mk_cursor_i || die
+   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
+   # entirely.  This works around some build errors too. #484846
+   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
+
+   elibtoolize
+   eautoreconf
+
+   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
+   append-cflags -fcommon
+}
+
+multilib_src_configure() {
+   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
+   # and on some archs it is disabled by default causing a mismatch 
between the
+   # API and the ABI, bug #418253
+   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
+   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
+   # debug useflag.
+   ECONF_SOURCE="${S}" \
+   ac_cv_header_atomic_ops_h=$(usex libatomic) \
+   econf \
+   --enable-cxx-exceptions \
+   --enable-coredump \
+   --enable-ptrace \
+   --enable-setjmp \
+   $(use_enable debug-frame) \
+   $(use_enable doc documentation) \
+   $(use_enable lzma minidebuginfo) \
+   $(use_enable static-libs static) \
+   $(use_enable zlib zlibdebuginfo) \
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/files/

2020-07-06 Thread Sergei Trofimovich
commit: 9a837fb82b78ecbbc91dbb1b629e6967f28b2368
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Jul  6 17:26:25 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 18:40:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a837fb8

sys-libs/libunwind: remove unused patches

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16615
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../files/libunwind-1.2-ia64-undwarf.patch | 17 
 .../files/libunwind-1.2.1-arm-__asm__.patch| 47 --
 .../files/libunwind-1.2.1-fix_version_macros.patch | 13 --
 .../files/libunwind-1.2.1-no-PROTECTED.patch   | 14 ---
 4 files changed, 91 deletions(-)

diff --git a/sys-libs/libunwind/files/libunwind-1.2-ia64-undwarf.patch 
b/sys-libs/libunwind/files/libunwind-1.2-ia64-undwarf.patch
deleted file mode 100644
index 1e3e2489828..000
--- a/sys-libs/libunwind/files/libunwind-1.2-ia64-undwarf.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/src/mi/Gget_proc_name.c b/src/mi/Gget_proc_name.c
-index 5376f82..64d2503 100644
 a/src/mi/Gget_proc_name.c
-+++ b/src/mi/Gget_proc_name.c
-@@ -106,8 +106,12 @@ unw_get_proc_name (unw_cursor_t *cursor, char *buf, 
size_t buf_len,
-   ip = tdep_get_ip (c);
-+#if !defined(__ia64)
-   if (c->dwarf.use_prev_instr)
- --ip;
-+#endif
-   error = get_proc_name (tdep_get_as (c), ip, buf, buf_len, offp,
-  tdep_get_as_arg (c));
-+#if !defined(__ia64)
-   if (c->dwarf.use_prev_instr && offp != NULL && error == 0)
- *offp += 1;
-+#endif
-   return error;

diff --git a/sys-libs/libunwind/files/libunwind-1.2.1-arm-__asm__.patch 
b/sys-libs/libunwind/files/libunwind-1.2.1-arm-__asm__.patch
deleted file mode 100644
index 4b6debabefc..000
--- a/sys-libs/libunwind/files/libunwind-1.2.1-arm-__asm__.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-https://bugs.gentoo.org/635674
-
-From ca6b6f3ad9190814ef7869e8c7e73dae0922f647 Mon Sep 17 00:00:00 2001
-From: Romain Naour 
-Date: Mon, 3 Jul 2017 15:31:10 +0200
-Subject: [PATCH] libunwind-arm: fix build failure due to asm()
-
-mesa3d on ARM build with libunwind support enabled fail to build due to asm()
-function used when building with -std=c99.
-The gcc documentation [1] suggest to use __asm__ instead of asm.
-
-Fixes:
-https://urldefense.proofpoint.com/v2/url?u=http-3A__autobuild.buildroot.net_results_3ef_3efe156b6494e4392b6c31de447ee2c72acc1a53&d=DwICAg&c=5VD0RTtNlTh3ycd41b3MUw&r=vou6lT5jmE_fWQWZZgNrsMWu4RT87QAB9V07tPHlP5U&m=BlAszRQ0vewy5vW7raCh9FmNOACKez_juz55zoiNfUs&s=4sXL6_rFriQz7qi5ygKXBIVHMc7YSdCBnkkHoi347CU&e=
-
-[1] 
https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
-
-Signed-off-by: Romain Naour 
-Cc: Bernd Kuhls 

- include/libunwind-arm.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/include/libunwind-arm.h b/include/libunwind-arm.h
-index f208487a..1c856faf 100644
 a/include/libunwind-arm.h
-+++ b/include/libunwind-arm.h
-@@ -265,7 +265,7 @@ unw_tdep_context_t;
- #ifndef __thumb__
- #define unw_tdep_getcontext(uc) (({ \
-   unw_tdep_context_t *unw_ctx = (uc);   \
--  register unsigned long *unw_base asm ("r0") = unw_ctx->regs;  \
-+  register unsigned long *unw_base __asm__ ("r0") = unw_ctx->regs;  \
-   __asm__ __volatile__ (\
- "stmia %[base], {r0-r15}"   \
- : : [base] "r" (unw_base) : "memory");  \
-@@ -273,7 +273,7 @@ unw_tdep_context_t;
- #else /* __thumb__ */
- #define unw_tdep_getcontext(uc) (({ \
-   unw_tdep_context_t *unw_ctx = (uc);   \
--  register unsigned long *unw_base asm ("r0") = unw_ctx->regs;  \
-+  register unsigned long *unw_base __asm__ ("r0") = unw_ctx->regs;  \
-   __asm__ __volatile__ (\
- ".align 2\nbx pc\nnop\n.code 32\n"  \
- "stmia %[base], {r0-r15}\n" \
--- 
-2.18.0
-

diff --git a/sys-libs/libunwind/files/libunwind-1.2.1-fix_version_macros.patch 
b/sys-libs/libunwind/files/libunwind-1.2.1-fix_version_macros.patch
deleted file mode 100644
index 63202937084..000
--- a/sys-libs/libunwind/files/libunwind-1.2.1-fix_version_macros.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index a254bbe..fe0247b 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -1,6 +1,6 @@
- define(pkg_major, 1)
--define(pkg_minor, 2.1)
--define(pkg_extra, )
-+define(pkg_minor, 2)
-+define(pkg_extra, 1)
- define(pkg_maintainer, libunwind-de...@nongnu.org)
- define(mkvers, $1.$2$3)
- dnl Pro

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-07-05 Thread Sergei Trofimovich
commit: 832be393cb03a68a412f948a207d37e9d2cea377
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jul  5 10:55:05 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jul  5 10:56:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832be393

sys-libs/libunwind: drop old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/Manifest  |   1 -
 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 109 ---
 2 files changed, 110 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index db6eb99143f..c94f42495a9 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1 @@
-DIST libunwind-1.2.1.tar.gz 780774 BLAKE2B 
a5be4142e1e4932231023bdec2ab3ecd6b707faf2d32d2b571239252a1d0fb6a273a6a46c4a107db63f74f7b54c0c54cf252b8b79ad53216333ba7bcf63147a1
 SHA512 
af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b
 DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 
39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269
 SHA512 
60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
deleted file mode 100644
index 873e84c38ad..000
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools eutils flag-o-matic libtool multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs"
-
-RESTRICT="test" # half of tests are broken (toolchain version dependent)
-
-# We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
-   "${FILESDIR}"/${PN}-1.2-ia64-undwarf.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
-   "${FILESDIR}"/${PN}-1.2.1-fix_version_macros.patch
-   "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
-   "${FILESDIR}"/${PN}-1.2.1-no-PROTECTED.patch #659732
-   "${FILESDIR}"/${PN}-1.2.1-arm-__asm__.patch #635674
-)
-
-src_prepare() {
-   default
-   chmod +x src/ia64/mk_cursor_i || die
-   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This worksaround some build errors too. #484846
-   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
-
-   elibtoolize
-   eautoreconf
-
-   # Let's wait for proer fix upstream in 
https://github.com/libunwind/libunwind/issues/154
-   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
-   append-cflags -fcommon
-}
-
-multilib_src_configure() {
-   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
-   # and on some archs it is disabled by default causing a mismatch 
between the
-   # API and the ABI, bug #418253
-   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
-   # debug useflag.
-   ECONF_SOURCE="${S}" \
-   ac_cv_header_atomic_ops_h=$(usex libatomic) \
-   econf \
-   --enable-cxx-exceptions \
-   --enable-coredump \
-   --enable-ptrace \
-   --enable-setjmp \
-   $(use_enable debug-frame) \
-   $(use_enable doc documentation) \
-   $(use_enable lzma minidebuginfo) \
-   $(use_

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-07-05 Thread Sergei Trofimovich
commit: d7853d285ce33fd635813886c6cf0fe67fb1abcb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jul  5 08:11:44 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jul  5 08:36:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7853d28

sys-libs/libunwind: stable 1.4.0 for hppa

stable wrt bug #728958

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index cdf70319adf..f3a6bbb9eff 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-06-21 Thread Agostino Sarubbo
commit: a7c2de160f587b0da10f81ba0c88dcc761c76e19
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 21 17:07:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 21 17:07:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c2de16

sys-libs/libunwind: ppc64 stable wrt bug #728958

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index b8a0b20a74a..6de83adecf0 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-06-21 Thread Agostino Sarubbo
commit: b26438069b82ebd0acbfb17958686072eff59e4c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 21 17:01:52 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 21 17:03:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2643806

sys-libs/libunwind: ppc stable wrt bug #728958

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index 90ff6a9c8dd..b8a0b20a74a 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-06-21 Thread Agostino Sarubbo
commit: 491c0a61f0e8747359e52e04786276924eee0ed3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 21 16:57:57 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 21 16:58:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491c0a61

sys-libs/libunwind: arm stable wrt bug #728958

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index e7d970333e5..90ff6a9c8dd 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-06-21 Thread Agostino Sarubbo
commit: 4cfca2e7e4b6fc7aa3893d095bbba919223eb587
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 21 16:53:25 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 21 16:54:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cfca2e7

sys-libs/libunwind: amd64 stable wrt bug #728958

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index 5a5273c09c8..e7d970333e5 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-06-21 Thread Thomas Deutschmann
commit: ca8f6c4894127fa7d5a7a2c48ef5120948b2c724
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jun 21 15:18:44 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jun 21 15:18:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca8f6c48

sys-libs/libunwind: x86 stable (bug #728958)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index dd6e60a6c2a..5a5273c09c8 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # some tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-05-02 Thread Sergei Trofimovich
commit: 12801c76fbd10dfed0b35418491106aaaebf2452
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat May  2 17:34:27 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May  2 17:51:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12801c76

sys-libs/libunwind: drop old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 -
 sys-libs/libunwind/libunwind-1.3.1.ebuild | 103 --
 2 files changed, 104 deletions(-)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index cbe3b9a89e6..db6eb99143f 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,3 +1,2 @@
 DIST libunwind-1.2.1.tar.gz 780774 BLAKE2B 
a5be4142e1e4932231023bdec2ab3ecd6b707faf2d32d2b571239252a1d0fb6a273a6a46c4a107db63f74f7b54c0c54cf252b8b79ad53216333ba7bcf63147a1
 SHA512 
af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b
-DIST libunwind-1.3.1.tar.gz 801262 BLAKE2B 
4dfcd5e170ef0f7626aa966672f3302b4d8f231fcda37c72fbddb9ab913e82b45bb613b22c5ead8bbd5b09fa92bc0db1c32a744b11e40fd736c3a1412ad3d842
 SHA512 
3110d0aed4f5c781ef1ff72c9337e59793c02c42066209a4ac44f50eff1c0b0e02a5ff9f66891e62016de14af065a47975763970b839b700c0ff2e9f415c8def
 DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 
39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269
 SHA512 
60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913

diff --git a/sys-libs/libunwind/libunwind-1.3.1.ebuild 
b/sys-libs/libunwind/libunwind-1.3.1.ebuild
deleted file mode 100644
index 527b3b9c823..000
--- a/sys-libs/libunwind/libunwind-1.3.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 2005-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools flag-o-matic libtool multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/8" # libunwind.so.8
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs"
-
-RESTRICT="test" # half of tests are broken (toolchain version dependent)
-
-# We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
-   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
-   "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
-)
-
-src_prepare() {
-   default
-   chmod +x src/ia64/mk_cursor_i || die
-   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This works around some build errors too. #484846
-   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
-
-   elibtoolize
-   eautoreconf
-
-   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
-   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
-   append-cflags -fcommon
-}
-
-multilib_src_configure() {
-   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
-   # and on some archs it is disabled by default causing a mismatch 
between the
-   # API and the ABI, bug #418253
-   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
-   # debug useflag.
-   ECONF_SOURCE="${S}" \
-   ac_cv_header_atomic_ops_h=$(usex libatomic) \
-   econf \
-   --enable-cxx-exceptions \
-   --enable-coredump \
-   --enable-ptrace \
-   --enable-setjmp \
-   $(use_enable debug-frame) \
-   $(use_enable doc

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-04-02 Thread Sergei Trofimovich
commit: 35f60767c873413f26fbee7ee7d48ecb9babf8b2
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Apr  2 06:42:22 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Apr  2 07:03:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f60767

sys-libs/libunwind: When USE="lzma", depend on app-arch/xz-utils[static-libs?].

libunwind*.a static libraries require liblzma.a static library.

Bug: https://bugs.gentoo.org/693250
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 sys-libs/libunwind/libunwind-1.3.1.ebuild| 2 +-
 sys-libs/libunwind/libunwind-1.4.0.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index 2a393c6232e..9e16b6ea9ee 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -19,7 +19,7 @@ IUSE="debug debug-frame doc libatomic lzma +static-libs"
 RESTRICT="test" # half of tests are broken (toolchain version dependent)
 
 # We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )"
+RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
 

diff --git a/sys-libs/libunwind/libunwind-1.3.1.ebuild 
b/sys-libs/libunwind/libunwind-1.3.1.ebuild
index 83400a3ec9b..527b3b9c823 100644
--- a/sys-libs/libunwind/libunwind-1.3.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.3.1.ebuild
@@ -19,7 +19,7 @@ IUSE="debug debug-frame doc libatomic lzma +static-libs"
 RESTRICT="test" # half of tests are broken (toolchain version dependent)
 
 # We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )"
+RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
 

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index 00f1da15174..dd6e60a6c2a 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -19,7 +19,7 @@ IUSE="debug debug-frame doc libatomic lzma +static-libs"
 RESTRICT="test" # some tests are broken (toolchain version dependent)
 
 # We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )"
+RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-04-01 Thread Sergei Trofimovich
commit: a6b6c83369a95506c769e50089c341e8e4d03bfd
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Sep  1 05:02:38 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Apr  2 06:29:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b6c833

sys-libs/libunwind: Delete obsolete code.

eutils.eclass is not used.

Broken symbolic link libunwind-generic.a is not created by build system
with --disable-static option passed since:
https://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=commit;h=4e8b7a595e144e905fd9c8aed053d7529afb78a4

Bug: https://bugs.gentoo.org/693250
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.3.1.ebuild | 12 +---
 sys-libs/libunwind/libunwind-1.4.0.ebuild | 12 +---
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.3.1.ebuild 
b/sys-libs/libunwind/libunwind-1.3.1.ebuild
index 94aac72ea36..83400a3ec9b 100644
--- a/sys-libs/libunwind/libunwind-1.3.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.3.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 2005-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
-inherit autotools eutils flag-o-matic libtool multilib-minimal
+inherit autotools flag-o-matic libtool multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -53,13 +53,13 @@ src_prepare() {
default
chmod +x src/ia64/mk_cursor_i || die
# Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This worksaround some build errors too. #484846
+   # entirely.  This works around some build errors too. #484846
sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
 
elibtoolize
eautoreconf
 
-   # Let's wait for proer fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
# Meanwhile workaround for gcc-10 with -fcommon, bug #706560
append-cflags -fcommon
 }
@@ -99,7 +99,5 @@ multilib_src_test() {
 
 multilib_src_install() {
default
-   # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and 
without
-   # shared library, so we keep it in any case
-   use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o 
-name 'libunwind*.la' ')' -delete
+   use static-libs || find "${ED}"/usr -name 'libunwind*.la' -delete
 }

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index 95a06d19298..9ca0fb123dc 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 2005-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
-inherit autotools eutils flag-o-matic libtool multilib-minimal
+inherit autotools flag-o-matic libtool multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -53,13 +53,13 @@ src_prepare() {
default
chmod +x src/ia64/mk_cursor_i || die
# Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This worksaround some build errors too. #484846
+   # entirely.  This works around some build errors too. #484846
sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
 
elibtoolize
eautoreconf
 
-   # Let's wait for proer fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Let's wait for proper fix upstream in 
https://github.com/libunwind/libunwind/issues/154
# Meanwhile workaround for gcc-10 with -fcommon, bug #706560
append-cflags -fcommon
 }
@@ -99,7 +99,5 @@ multilib_src_test() {
 
 multilib_src_install() {
default
-   # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and 
without
-   # shared library, so we keep it in any case
-   use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o 
-name 'libunwind*.la' ')' -delete
+   use static-libs || find "${ED}"/usr -name 'libunwind*.la' -delete
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-04-01 Thread Sergei Trofimovich
commit: 02d38c549998b3416f1242c58c44f2800b2eccb7
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Sep  1 05:02:38 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Apr  2 06:29:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d38c54

sys-libs/libunwind: Unconditionally drop *.la files.

*.pc files are installed.

Closes: https://bugs.gentoo.org/693250
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.4.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
index 9ca0fb123dc..00f1da15174 100644
--- a/sys-libs/libunwind/libunwind-1.4.0.ebuild
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -97,7 +97,6 @@ multilib_src_test() {
SANDBOX_ON=0 emake check
 }
 
-multilib_src_install() {
-   default
-   use static-libs || find "${ED}"/usr -name 'libunwind*.la' -delete
+multilib_src_install_all() {
+   find "${D}" -name "*.la" -type f -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-04-01 Thread Sergei Trofimovich
commit: 7d35c53ea74eff5351bf6c7f64d91c4b02220ab5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Apr  1 21:53:47 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  1 21:53:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d35c53e

sys-libs/libunwind: bump up to 1.4.0

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/Manifest   |   1 +
 sys-libs/libunwind/libunwind-1.4.0.ebuild | 105 ++
 2 files changed, 106 insertions(+)

diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index 7950dc6ece9..cbe3b9a89e6 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,2 +1,3 @@
 DIST libunwind-1.2.1.tar.gz 780774 BLAKE2B 
a5be4142e1e4932231023bdec2ab3ecd6b707faf2d32d2b571239252a1d0fb6a273a6a46c4a107db63f74f7b54c0c54cf252b8b79ad53216333ba7bcf63147a1
 SHA512 
af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b
 DIST libunwind-1.3.1.tar.gz 801262 BLAKE2B 
4dfcd5e170ef0f7626aa966672f3302b4d8f231fcda37c72fbddb9ab913e82b45bb613b22c5ead8bbd5b09fa92bc0db1c32a744b11e40fd736c3a1412ad3d842
 SHA512 
3110d0aed4f5c781ef1ff72c9337e59793c02c42066209a4ac44f50eff1c0b0e02a5ff9f66891e62016de14af065a47975763970b839b700c0ff2e9f415c8def
+DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 
39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269
 SHA512 
60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913

diff --git a/sys-libs/libunwind/libunwind-1.4.0.ebuild 
b/sys-libs/libunwind/libunwind-1.4.0.ebuild
new file mode 100644
index 000..95a06d19298
--- /dev/null
+++ b/sys-libs/libunwind/libunwind-1.4.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+inherit autotools eutils flag-o-matic libtool multilib-minimal
+
+DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
+HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
+SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/8" # libunwind.so.8
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug debug-frame doc libatomic lzma +static-libs"
+
+RESTRICT="test" # some tests are broken (toolchain version dependent)
+
+# We just use the header from libatomic.
+RDEPEND="lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+   libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/libunwind.h
+
+   # see libunwind.h for the full list of arch-specific headers
+   /usr/include/libunwind-aarch64.h
+   /usr/include/libunwind-arm.h
+   /usr/include/libunwind-hppa.h
+   /usr/include/libunwind-ia64.h
+   /usr/include/libunwind-mips.h
+   /usr/include/libunwind-ppc32.h
+   /usr/include/libunwind-ppc64.h
+   /usr/include/libunwind-sh.h
+   /usr/include/libunwind-tilegx.h
+   /usr/include/libunwind-x86.h
+   /usr/include/libunwind-x86_64.h
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
+   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
+   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
+   "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
+)
+
+src_prepare() {
+   default
+   chmod +x src/ia64/mk_cursor_i || die
+   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
+   # entirely.  This worksaround some build errors too. #484846
+   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
+
+   elibtoolize
+   eautoreconf
+
+   # Let's wait for proer fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
+   append-cflags -fcommon
+}
+
+multilib_src_configure() {
+   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
+   # and on some archs it is disabled by default causing a mismatch 
between the
+   # API and the ABI, bug #418253
+   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
+   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
+   # debug useflag.
+   ECONF_SOURCE="${S}" \
+   ac_cv_header_atomic_ops_h=$(usex libatomic) \
+   econf \
+   --enable-cxx-exceptions \
+   --enable-coredump \
+   --enable-ptrace \
+   --enable-setjmp \
+   $(use_enable debug-frame) \
+   $(use_enable doc docum

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-02-12 Thread Sergei Trofimovich
commit: c50e03e331565aa875dc7a081d9c0f865869f563
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Feb 12 23:42:18 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Feb 12 23:42:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50e03e3

sys-libs/libunwind: add -fcommon workaround for gcc-10, bug #

The source fix is not trivial as it's not clear where global
shloud be defined: in common or per-arch files. Use -fcommon
downstream and leave proper fix to upstream ticket.

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/706560
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 8 ++--
 sys-libs/libunwind/libunwind-1.3.1.ebuild| 8 ++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index 10fa1ecd3f9..9482711db4d 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
-inherit autotools eutils libtool multilib-minimal
+inherit autotools eutils flag-o-matic libtool multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -62,6 +62,10 @@ src_prepare() {
 
elibtoolize
eautoreconf
+
+   # Let's wait for proer fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
+   append-cflags -fcommon
 }
 
 multilib_src_configure() {

diff --git a/sys-libs/libunwind/libunwind-1.3.1.ebuild 
b/sys-libs/libunwind/libunwind-1.3.1.ebuild
index e91ad4925c3..908da4b4c86 100644
--- a/sys-libs/libunwind/libunwind-1.3.1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.3.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 MY_PV=${PV/_/-}
 MY_P=${PN}-${MY_PV}
-inherit autotools eutils libtool multilib-minimal
+inherit autotools eutils flag-o-matic libtool multilib-minimal
 
 DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
 HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
@@ -58,6 +58,10 @@ src_prepare() {
 
elibtoolize
eautoreconf
+
+   # Let's wait for proer fix upstream in 
https://github.com/libunwind/libunwind/issues/154
+   # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
+   append-cflags -fcommon
 }
 
 multilib_src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2020-01-12 Thread Sergei Trofimovich
commit: 6ddaf192b742383e83050945727dfded76afac72
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan 12 10:36:11 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan 12 10:36:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddaf192

sys-libs/libunwind: drop old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r1.ebuild | 104 ---
 1 file changed, 104 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r1.ebuild
deleted file mode 100644
index 6616144a486..000
--- a/sys-libs/libunwind/libunwind-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PV=${PV/_/-}
-MY_P=${PN}-${MY_PV}
-inherit autotools eutils libtool multilib-minimal
-
-DESCRIPTION="Portable and efficient API to determine the call-chain of a 
program"
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind";
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="7"
-KEYWORDS="amd64 arm arm64 hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug debug-frame doc libatomic lzma +static-libs"
-
-RESTRICT="test" # half of tests are broken (toolchain version dependent)
-
-# We just use the header from libatomic.
-RDEPEND="lzma? ( app-arch/xz-utils )"
-DEPEND="${RDEPEND}
-   libatomic? ( dev-libs/libatomic_ops )"
-
-S="${WORKDIR}/${MY_P}"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/libunwind.h
-
-   # see libunwind.h for the full list of arch-specific headers
-   /usr/include/libunwind-aarch64.h
-   /usr/include/libunwind-arm.h
-   /usr/include/libunwind-hppa.h
-   /usr/include/libunwind-ia64.h
-   /usr/include/libunwind-mips.h
-   /usr/include/libunwind-ppc32.h
-   /usr/include/libunwind-ppc64.h
-   /usr/include/libunwind-sh.h
-   /usr/include/libunwind-tilegx.h
-   /usr/include/libunwind-x86.h
-   /usr/include/libunwind-x86_64.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
-   "${FILESDIR}"/${PN}-1.2-ia64-undwarf.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
-   "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
-   "${FILESDIR}"/${PN}-1.2.1-fix_version_macros.patch
-   "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
-   "${FILESDIR}"/${PN}-1.2.1-no-PROTECTED.patch #659732
-)
-
-src_prepare() {
-   default
-   chmod +x src/ia64/mk_cursor_i || die
-   # Since we have tests disabled via RESTRICT, disable building in the 
subdir
-   # entirely.  This worksaround some build errors too. #484846
-   sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
-
-   elibtoolize
-   eautoreconf
-}
-
-multilib_src_configure() {
-   # --enable-cxx-exceptions: always enable it, headers provide the 
interface
-   # and on some archs it is disabled by default causing a mismatch 
between the
-   # API and the ABI, bug #418253
-   # conservative-checks: validate memory addresses before use; as of 
1.0.1,
-   # only x86_64 supports this, yet may be useful for debugging, couple it 
with
-   # debug useflag.
-   ECONF_SOURCE="${S}" \
-   ac_cv_header_atomic_ops_h=$(usex libatomic) \
-   econf \
-   --enable-cxx-exceptions \
-   --enable-coredump \
-   --enable-ptrace \
-   --enable-setjmp \
-   $(use_enable debug-frame) \
-   $(use_enable doc documentation) \
-   $(use_enable lzma minidebuginfo) \
-   $(use_enable static-libs static) \
-   $(use_enable debug conservative_checks) \
-   $(use_enable debug)
-}
-
-multilib_src_compile() {
-   # Bug 586208
-   CCACHE_NODIRECT=1 default
-}
-
-multilib_src_test() {
-   # Explicitly allow parallel build of tests.
-   # Sandbox causes some tests to freak out.
-   SANDBOX_ON=0 emake check
-}
-
-multilib_src_install() {
-   default
-   # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and 
without
-   # shared library, so we keep it in any case
-   use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o 
-name 'libunwind*.la' ')' -delete
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2019-12-24 Thread Mikle Kolyada
commit: 041be4995e6c05bd040d31e10c6c6ed1dc689e43
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec 24 14:10:18 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec 24 14:10:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041be499

sys-libs/libunwind: arm stable wrt bug #702306

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index 9defebe1a54..10fa1ecd3f9 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2019-12-22 Thread Sergei Trofimovich
commit: 1146659287b2815a955cae79c494b737156a7bc4
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Dec 22 10:11:51 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 22 11:03:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11466592

sys-libs/libunwind: stable 1.2.1-r3 for hppa, bug #702306

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index d9557f28c39..9defebe1a54 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/files/

2019-12-12 Thread Aaron Bauman
commit: 51bed4fe21ed5f166206ac7ab51fd937ed75d42c
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Dec 12 20:48:03 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Dec 12 20:52:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51bed4fe

sys-libs/libunwind: remove unused patches

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13959
Signed-off-by: Aaron Bauman  gentoo.org>

 .../files/libunwind-1.1-fix-CVE-2015-3239.patch| 15 --
 sys-libs/libunwind/files/libunwind-1.1-lzma.patch  | 63 --
 2 files changed, 78 deletions(-)

diff --git a/sys-libs/libunwind/files/libunwind-1.1-fix-CVE-2015-3239.patch 
b/sys-libs/libunwind/files/libunwind-1.1-fix-CVE-2015-3239.patch
deleted file mode 100644
index 153108bbb15..000
--- a/sys-libs/libunwind/files/libunwind-1.1-fix-CVE-2015-3239.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-taken from Fedora
-
-https://bugs.gentoo.org/585830
-
 libunwind-1.1/include/dwarf_i.h.CVE20153239
-+++ libunwind-1.1/include/dwarf_i.h
-@@ -20,7 +20,7 @@
- extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH];
- /* REG is evaluated multiple times; it better be side-effects free!  */
- # define dwarf_to_unw_regnum(reg)   \
--  (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
-+  (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
- #endif
- 
- #ifdef UNW_LOCAL_ONLY

diff --git a/sys-libs/libunwind/files/libunwind-1.1-lzma.patch 
b/sys-libs/libunwind/files/libunwind-1.1-lzma.patch
deleted file mode 100644
index 09cefa02853..000
--- a/sys-libs/libunwind/files/libunwind-1.1-lzma.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 38c349bb000b427c376e756e3ecdb764a2b4d297 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Sat, 15 Feb 2014 21:00:59 -0500
-Subject: [PATCH] link sublibs against liblzma as needed
-
-The coredump/elf32/elf64/elfxx libs use lzma funcs but don't link against
-it.  This produces sub-shared libs that don't link against lzma and can
-make the linker angry due to underlinking like so:
-
-libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=amdfam10 -pipe -g \
-   -frecord-gcc-switches -Wimplicit-function-declaration -fexceptions \
-   -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu \
-   -o .libs/test-coredump-unwind test-coredump-unwind.o  \
-   ../src/.libs/libunwind-coredump.so ../src/.libs/libunwind-x86_64.so
-../src/.libs/libunwind-coredump.so: error: undefined reference to 
'lzma_stream_footer_decode'
-../src/.libs/libunwind-coredump.so: error: undefined reference to 
'lzma_index_buffer_decode'
-../src/.libs/libunwind-coredump.so: error: undefined reference to 
'lzma_index_size'
-../src/.libs/libunwind-coredump.so: error: undefined reference to 
'lzma_index_end'
-../src/.libs/libunwind-coredump.so: error: undefined reference to 
'lzma_index_uncompressed_size'
-../src/.libs/libunwind-coredump.so: error: undefined reference to 
'lzma_stream_buffer_decode'
-collect2: error: ld returned 1 exit status
-
-So add LIBLZMA to the right LIBADD for each of these libraries.
-
-URL: https://bugs.gentoo.org/444050
-Signed-off-by: Mike Frysinger 

- src/Makefile.am | 4 
- 1 file changed, 4 insertions(+)
-
 a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -169,7 +169,7 @@ libunwind_arm_la_LINK = $(LIBTOOL) --tag=CC 
$(AM_LIBTOOLFLAGS) \
-   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-   $(libunwind_arm_la_LDFLAGS) $(LDFLAGS) -o $@
- @ARCH_ARM_TRUE@am_libunwind_arm_la_rpath = -rpath $(libdir)
--libunwind_coredump_la_LIBADD =
-+libunwind_coredump_la_LIBADD = $(LIBLZMA)
- am__libunwind_coredump_la_SOURCES_DIST = coredump/_UCD_accessors.c \
-   coredump/_UCD_create.c coredump/_UCD_destroy.c \
-   coredump/_UCD_access_mem.c coredump/_UCD_elf_map_image.c \
-@@ -214,15 +214,15 @@ am_libunwind_dwarf_local_la_OBJECTS = dwarf/Lexpr.lo 
dwarf/Lfde.lo \
- libunwind_dwarf_local_la_OBJECTS =  \
-   $(am_libunwind_dwarf_local_la_OBJECTS)
- @REMOTE_ONLY_FALSE@@USE_DWARF_TRUE@am_libunwind_dwarf_local_la_rpath =
--libunwind_elf32_la_LIBADD =
-+libunwind_elf32_la_LIBADD = $(LIBLZMA)
- am_libunwind_elf32_la_OBJECTS = elf32.lo
- libunwind_elf32_la_OBJECTS = $(am_libunwind_elf32_la_OBJECTS)
- @USE_ELF32_TRUE@am_libunwind_elf32_la_rpath =
--libunwind_elf64_la_LIBADD =
-+libunwind_elf64_la_LIBADD = $(LIBLZMA)
- am_libunwind_elf64_la_OBJECTS = elf64.lo
- libunwind_elf64_la_OBJECTS = $(am_libunwind_elf64_la_OBJECTS)
- @USE_ELF64_TRUE@am_libunwind_elf64_la_rpath =
--libunwind_elfxx_la_LIBADD =
-+libunwind_elfxx_la_LIBADD = $(LIBLZMA)
- am_libunwind_elfxx_la_OBJECTS = elfxx.lo
- libunwind_elfxx_la_OBJECTS = $(am_libunwind_elfxx_la_OBJECTS)
- @USE_ELFXX_TRUE@am_libunwind_elfxx_la_rpath =
--- 
-1.8.5.5
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2019-12-10 Thread Agostino Sarubbo
commit: 1be3669d02b777fdf19531e6cbd6b130126f58ea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 10 14:07:49 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 10 14:07:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be3669d

sys-libs/libunwind: ppc stable wrt bug #702306

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index 07c0400c551..d9557f28c39 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2019-12-10 Thread Agostino Sarubbo
commit: 9f9edb43ca254f0631991ee4a5309a7c16346401
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 10 12:15:53 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 10 12:15:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9edb43

sys-libs/libunwind: ppc64 stable wrt bug #702306

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index ab548212b0f..07c0400c551 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ppc64 -sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2019-12-10 Thread Agostino Sarubbo
commit: ff77e3151aba7f94c2497ee3702a47f4e33ed7a7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 10 09:17:01 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 10 09:17:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff77e315

sys-libs/libunwind: x86 stable wrt bug #702306

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index 69cb4d6a07e..ab548212b0f 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 -sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/

2019-12-09 Thread Aaron Bauman
commit: ccb4162b93ea790defa84e36c1440f6248f813cb
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec  9 19:31:48 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec  9 19:31:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb4162b

sys-libs/libunwind: arm64 stable (bug #702306)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.81, Repoman-2.3.20

 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index b5f53c0639d..69cb4d6a07e 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)



  1   2   >