From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-libs/libexecinfo/Manifest | 6 ++++++ .../libexecinfo/files/libexecinfo-1.1-build.patch | 13 ++++++++++++ dev-libs/libexecinfo/libexecinfo-1.1.ebuild | 24 ++++++++++++++++++++++ dev-libs/libexecinfo/metadata.xml | 14 +++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 dev-libs/libexecinfo/Manifest create mode 100644 dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch create mode 100644 dev-libs/libexecinfo/libexecinfo-1.1.ebuild create mode 100644 dev-libs/libexecinfo/metadata.xml (limited to 'dev-libs/libexecinfo') diff --git a/dev-libs/libexecinfo/Manifest b/dev-libs/libexecinfo/Manifest new file mode 100644 index 000000000000..68dc919714ec --- /dev/null +++ b/dev-libs/libexecinfo/Manifest @@ -0,0 +1,6 @@ +AUX libexecinfo-1.1-build.patch 479 SHA256 039d1bcf347a32b6c8ae5301a996aa1617b2ea46ccc37b21e5a7b6a84ca44be4 SHA512 0eb8fe9ffc9220fb8b97508be39055999a4cb4924c2b1f770abbbdcc435deab689a95656e5de968d6ece89b4a573e7e6c3f73f6e18385467d70ca168338f6f0f WHIRLPOOL 29d4ebd61a81699afdb269cb02c5de185850342cc40efed53667405035d4547f3a47a2769ce2785b2e91ed3847b54f8a8b5c2e6031930f8c8ba5e5afdd4e9d88 +DIST libexecinfo-1.1.tar.bz2 4841 SHA256 c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f SHA512 51fea7910ef6873061a25c22434ce4da724e9d8e37616a069ad0a58c0463755be4c6c7da88cd747484c2f3373909d7be4678b32a4bd91b6d9e0f74526094e92c WHIRLPOOL a915ceb897905755ac87cbd9297f47ddd20fedf033aac89896187bacc91ead40ab655069bc1ba828396fa0d7ab1af5d5eca3aacc51240f08cb7f54607252cef0 +EBUILD libexecinfo-1.1.ebuild 582 SHA256 aec1cc719fa58c947bd390c47b128eab23d5a2329b300936e2fa72e3f28a6b29 SHA512 b6a7370101f4cac5e785d91e3936208d5c26d4a06d2db37953925161db02a34cc001787b3c08297bb45cbf9b402c8f3c9de30c33ef5d104568d36e4c081193ec WHIRLPOOL d0dc0ed3e09337103aefafdcca2f9131696cdf6dd48122af510bbbe0805f50497e0dbf4f0c440427d2f246de3860ba081dc2915f8c122ee9977a467f5cdf2fa2 +MISC ChangeLog 2864 SHA256 7704782a1a692dc5124ab78548ab6824c288375cd74aa94a4b16fc1fe5753fdc SHA512 2675666845f277c5b1f5661813638cf4ec450cfd23e8f83ab233be0f3e80c9bc759dbe7b9b35677effc530d036815a2879917e0f317c14f4bedf90c14462f290 WHIRLPOOL 0ecf00cc1f6e7c9c7ee0192042b986c297836f535e7d4b9ed2794603fb5cb15d487bbe1099da2d832a10889d2765b4cfb678f6ac853a353dd8cf1f569a9b73dc +MISC ChangeLog-2015 532 SHA256 7a140cc24d12068827bae95772aae7a501bcc5840ef6a9876d81cf2029234456 SHA512 07c5c8f9b2144de3c65b3b3ef5cf3237a7538cb3a377c640de52f9bf0efafdc4a86005db0f0802f4cd27fd85a866acdfe6c1da5421e2788a0f5347e4ad2c56e4 WHIRLPOOL 00a426d3f11708ca62b8811f5eedda8a28c5555cdd711d0a03747b996673feaf4f7df49f701b8dc660db1110a2cbc3c49af8ed8ef34a2d30cd5624f85b0c3e46 +MISC metadata.xml 502 SHA256 daf4a11e0b1d4e386d515ed1dcb6e4f29aea23e5e51f44006372d0deaad2274b SHA512 8db54c3dfed9ccd03680f8e31f0225e393f74f3be9ddc5ae894c292a95ec84176ebfece151e8266d5963dfa8f62b99db492feb1ed72ebc2199efe420cfe6ef91 WHIRLPOOL adc4fbd0efdc8899ec2479cda29e7b3c654df76ef938bc7117487943ec70feb3e34e43f25b25fecb569459f7045c5527cd2732ce190808e4a9d673069d9fd36e diff --git a/dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch b/dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch new file mode 100644 index 000000000000..b295cf71bfd0 --- /dev/null +++ b/dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch @@ -0,0 +1,13 @@ +Index: libexecinfo-1.1/execinfo.c +=================================================================== +--- libexecinfo-1.1.orig/execinfo.c ++++ libexecinfo-1.1/execinfo.c +@@ -78,7 +78,7 @@ backtrace_symbols(void *const *buffer, i + rval = malloc(clen); + if (rval == NULL) + return NULL; +- (char **)cp = &(rval[size]); ++ cp = &(rval[size]); + for (i = 0; i < size; i++) { + if (dladdr(buffer[i], &info) != 0) { + if (info.dli_sname == NULL) diff --git a/dev-libs/libexecinfo/libexecinfo-1.1.ebuild b/dev-libs/libexecinfo/libexecinfo-1.1.ebuild new file mode 100644 index 000000000000..fd5a34fdc085 --- /dev/null +++ b/dev-libs/libexecinfo/libexecinfo-1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit bsdmk freebsd multilib + +DESCRIPTION="A library for inspecting program's backtrace" +HOMEPAGE="http://www.freebsdsoftware.org/devel/libexecinfo.html" +SRC_URI="mirror://freebsd/distfiles/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="sys-freebsd/freebsd-mk-defs" +RDEPEND="" + +PATCHES=( "${FILESDIR}/${P}-build.patch" ) + +src_install() { + mymakeopts="${mymakeopts} LIBDIR=/usr/$(get_libdir)" + freebsd_src_install + dodoc README +} diff --git a/dev-libs/libexecinfo/metadata.xml b/dev-libs/libexecinfo/metadata.xml new file mode 100644 index 000000000000..d7dec5e4ab8b --- /dev/null +++ b/dev-libs/libexecinfo/metadata.xml @@ -0,0 +1,14 @@ + + + + + bsd@gentoo.org + BSD Project + + + This is a quick-n-dirty BSD licensed clone of backtrace facility found + in the GNU libc, mainly intended for porting linuxish code to BSD + platforms, however it can be used at any platform which has a gcc + compiler. + + -- cgit v1.2.3