diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libexecinfo | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libexecinfo')
-rw-r--r-- | dev-libs/libexecinfo/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch | 13 | ||||
-rw-r--r-- | dev-libs/libexecinfo/libexecinfo-1.1.ebuild | 26 | ||||
-rw-r--r-- | dev-libs/libexecinfo/metadata.xml | 14 |
4 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/libexecinfo/Manifest b/dev-libs/libexecinfo/Manifest new file mode 100644 index 000000000000..5eebb1809e02 --- /dev/null +++ b/dev-libs/libexecinfo/Manifest @@ -0,0 +1,4 @@ +AUX libexecinfo-1.1-build.patch 479 BLAKE2B e6649b91cf56df3ed21de5a1b5af38c3fd5893fc0b1f4736da22c950ffd24e6aba09184df7ae0603a6093130422e44e56066268670ae70479d145afd0a82b313 SHA512 0eb8fe9ffc9220fb8b97508be39055999a4cb4924c2b1f770abbbdcc435deab689a95656e5de968d6ece89b4a573e7e6c3f73f6e18385467d70ca168338f6f0f +DIST libexecinfo-1.1.tar.bz2 4841 BLAKE2B c17bf0c0188c951f0cc2b8f902b5aac018cd6f7fa9666de261995605ce6b48c1692320a0f0e03ff0eb9e2b449a03b625ab88eb4a57ba5e87ed33df03838964ac SHA512 51fea7910ef6873061a25c22434ce4da724e9d8e37616a069ad0a58c0463755be4c6c7da88cd747484c2f3373909d7be4678b32a4bd91b6d9e0f74526094e92c +EBUILD libexecinfo-1.1.ebuild 590 BLAKE2B 511178d6154923bc409bb1bcffbe92869a9dd9df22c0230d7eb350d6702398c13c4913fdc481c5d5c15470abe91b3890b265c803bad921dd7d9989a7eed79c5d SHA512 f7f73f7c5744410d5bfc75548735d2c472d5134dc1acc3263c73f70dac3e1caac8ce2378f4bdaee85d2e718e001cf9fcefae7ae5e6a6b5d550bbc9982dd3224e +MISC metadata.xml 502 BLAKE2B 29b984eb295c538ec0f8eee91d0ff3b23f2b311ef89776660b57dfbacacf35976535a2fc016968e76daa0c6fc9ce8e7e1bb078dd235e7e949f3986938096d317 SHA512 8db54c3dfed9ccd03680f8e31f0225e393f74f3be9ddc5ae894c292a95ec84176ebfece151e8266d5963dfa8f62b99db492feb1ed72ebc2199efe420cfe6ef91 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..eba2bcf57e8c --- /dev/null +++ b/dev-libs/libexecinfo/libexecinfo-1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>bsd@gentoo.org</email> + <name>BSD Project</name> +</maintainer> +<longdescription lang="en"> + 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. +</longdescription> +</pkgmetadata> |