diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-05-15 07:22:15 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-05-15 07:22:15 +0000 |
commit | c62e55cbf08b47792cca739c9b71735eeb26b07e (patch) | |
tree | 5c59d75223978f85a7d73d0c06f46ecf45bfb5f6 /dev-libs/libexecinfo | |
parent | Version bump. (diff) | |
download | gentoo-2-c62e55cbf08b47792cca739c9b71735eeb26b07e.tar.gz gentoo-2-c62e55cbf08b47792cca739c9b71735eeb26b07e.tar.bz2 gentoo-2-c62e55cbf08b47792cca739c9b71735eeb26b07e.zip |
initial import, ebuild by me
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libexecinfo')
-rw-r--r-- | dev-libs/libexecinfo/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch | 13 | ||||
-rw-r--r-- | dev-libs/libexecinfo/libexecinfo-1.1.ebuild | 24 | ||||
-rw-r--r-- | dev-libs/libexecinfo/metadata.xml | 12 |
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/libexecinfo/ChangeLog b/dev-libs/libexecinfo/ChangeLog new file mode 100644 index 000000000000..a0eca0eb8734 --- /dev/null +++ b/dev-libs/libexecinfo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/libexecinfo +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexecinfo/ChangeLog,v 1.1 2009/05/15 07:22:15 aballier Exp $ + +*libexecinfo-1.1 (15 May 2009) + + 15 May 2009; Alexis Ballier <aballier@gentoo.org> +libexecinfo-1.1.ebuild, + +files/libexecinfo-1.1-build.patch, +metadata.xml: + initial import, ebuild by me + 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..62fb99363cff --- /dev/null +++ b/dev-libs/libexecinfo/libexecinfo-1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexecinfo/libexecinfo-1.1.ebuild,v 1.1 2009/05/15 07:22:15 aballier Exp $ + +inherit bsdmk freebsd + +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="~x86-fbsd" +IUSE="" + +DEPEND="sys-freebsd/freebsd-mk-defs" +RDEPEND="" + +PATCHES=( "${FILESDIR}/${P}-build.patch" ) + +src_install() { + 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..5d71e6fb3da7 --- /dev/null +++ b/dev-libs/libexecinfo/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>bsd</herd> +<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> + |