summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-05-15 07:22:15 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-05-15 07:22:15 +0000
commitdc590d44e8c527fbde235c5e1d365fc3be3a6e1f (patch)
treee715de6ca4c3c8d877a0d065da457e61bc830ebc /dev-libs/libexecinfo
parentVersion bump. (diff)
downloadhistorical-dc590d44e8c527fbde235c5e1d365fc3be3a6e1f.tar.gz
historical-dc590d44e8c527fbde235c5e1d365fc3be3a6e1f.tar.bz2
historical-dc590d44e8c527fbde235c5e1d365fc3be3a6e1f.zip
initial import, ebuild by me
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libexecinfo')
-rw-r--r--dev-libs/libexecinfo/ChangeLog10
-rw-r--r--dev-libs/libexecinfo/Manifest15
-rw-r--r--dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch13
-rw-r--r--dev-libs/libexecinfo/libexecinfo-1.1.ebuild24
-rw-r--r--dev-libs/libexecinfo/metadata.xml12
5 files changed, 74 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/Manifest b/dev-libs/libexecinfo/Manifest
new file mode 100644
index 000000000000..39a7127789c9
--- /dev/null
+++ b/dev-libs/libexecinfo/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX libexecinfo-1.1-build.patch 479 RMD160 b61dde5ed59bbfb681d67fd857c04f652be213d3 SHA1 a01be1322f9b957e0eaa0777a852815d1e25925f SHA256 039d1bcf347a32b6c8ae5301a996aa1617b2ea46ccc37b21e5a7b6a84ca44be4
+DIST libexecinfo-1.1.tar.bz2 4841 RMD160 b2227d4095be0002185b667b9fde71cd876a4ed7 SHA1 a2330eae993880850a90ccfdc389a89cdd7f95ab SHA256 c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f
+EBUILD libexecinfo-1.1.ebuild 627 RMD160 846142d28fc2eb3764e55c6c9e53a7a57b18c450 SHA1 4d2b19121e76c8691ee00260df80f8bdafad7c86 SHA256 75f163e03c340b9d496196c1b80c05df91c624c37b50110d27db8b5aa688979f
+MISC ChangeLog 409 RMD160 8e0326c8c1e3d819c33a3f6f94e7af311acf15c4 SHA1 0c3aaedae423ba4dd77f2aeb43537437c32d9cb4 SHA256 67ea3ad995643c8a201d7cf7f6bcc9e9e358246970d4f96611b847bdafd094ab
+MISC metadata.xml 421 RMD160 743d23808979efb88cc1e3a269bc41d4639f01d6 SHA1 84699a59852825f23b6434908e74d625c987af28 SHA256 7a93d2039c6679c79599b7eaaadd26a5e60479f98131addbbf4182a62786f76d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkoNGCwACgkQvFcC4BYPU0r0pwCgpOc9OMvqkliCb5aftoHE1I9V
+VIsAoIWH3FBVG5L1su4xE14893sKQ750
+=xIie
+-----END PGP SIGNATURE-----
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>
+