public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: dev-libs/boehm-gc/files/, dev-libs/boehm-gc/
Date: Mon, 17 Feb 2014 11:53:33 +0000 (UTC)	[thread overview]
Message-ID: <1392638025.0a5cca545d702d5a9b2606983cf3cd0a496b5e0f.blueness@gentoo> (raw)

commit:     0a5cca545d702d5a9b2606983cf3cd0a496b5e0f
Author:     Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Sun Feb 16 18:18:09 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 11:53:45 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=0a5cca54

dev-libs/boehm-gc: move to tree

---
 dev-libs/boehm-gc/boehm-gc-7.2e-r99.ebuild         | 59 ++++++++++++++++++++++
 .../files/boehm-gc-7.2e-automake-1.13.patch        | 13 +++++
 dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch | 13 +++++
 dev-libs/boehm-gc/metadata.xml                     | 12 +++++
 4 files changed, 97 insertions(+)

diff --git a/dev-libs/boehm-gc/boehm-gc-7.2e-r99.ebuild b/dev-libs/boehm-gc/boehm-gc-7.2e-r99.ebuild
new file mode 100644
index 0000000..564b63e
--- /dev/null
+++ b/dev-libs/boehm-gc/boehm-gc-7.2e-r99.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.2e.ebuild,v 1.9 2014/01/18 20:05:46 ago Exp $
+
+EAPI=5
+
+inherit autotools eutils
+
+MY_P="gc-${PV/_/}"
+
+DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
+HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
+SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${MY_P}.tar.gz"
+
+LICENSE="boehm-gc"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="cxx static-libs threads"
+
+DEPEND=">=dev-libs/libatomic_ops-7.2
+	virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P/e}"
+
+src_prepare() {
+	rm -r libatomic_ops || die
+
+	epatch "${FILESDIR}"/${P}-automake-1.13.patch
+	epatch "${FILESDIR}"/${PN}-7.2e-os_dep.patch
+	eautoreconf
+}
+
+src_configure() {
+	local config=(
+		--with-libatomic-ops
+		$(use_enable cxx cplusplus)
+		$(use_enable static-libs static)
+		$(use threads || echo --disable-threads)
+	)
+	econf "${config[@]}"
+}
+
+src_install() {
+	default
+
+	rm -r "${ED}"/usr/share/gc || die
+
+	# dist_noinst_HEADERS
+	insinto /usr/include/gc
+	doins include/{cord.h,ec.h,javaxfc.h}
+	insinto /usr/include/gc/private
+	doins include/private/*.h
+
+	dodoc README.QUICK doc/README{.environment,.linux,.macros} doc/barrett_diagram
+	dohtml doc/*.html
+	newman doc/gc.man GC_malloc.1
+
+	use static-libs || prune_libtool_files #457872
+}

diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch b/dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch
new file mode 100644
index 0000000..e987c42
--- /dev/null
+++ b/dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index ee6693d..d258252 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -26,7 +26,7 @@ AC_PREREQ(2.64)
+ AC_REVISION($Revision: 1.1 $)
+ GC_SET_VERSION
+ AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc])
+-AM_CONFIG_HEADER([include/private/config.h])
++AC_CONFIG_HEADER([include/private/config.h])
+ AM_MAINTAINER_MODE
+ 
+ AC_SUBST(PACKAGE)

diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch b/dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch
new file mode 100644
index 0000000..7e30231
--- /dev/null
+++ b/dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch
@@ -0,0 +1,13 @@
+--- a/gc-7.2/os_dep.c
++++ b/gc-7.2/os_dep.c
+@@ -38,10 +38,6 @@
+         /* has the right declaration for glibc 2.1.                     */
+ #       include <sigcontext.h>
+ #     endif /* 0 == __GLIBC_MINOR__ */
+-#   else /* not 2 <= __GLIBC__ */
+-      /* libc5 doesn't have <sigcontext.h>: go directly with the kernel   */
+-      /* one.  Check LINUX_VERSION_CODE to see which we should reference. */
+-#     include <asm/sigcontext.h>
+ #   endif /* 2 <= __GLIBC__ */
+ # endif
+ #endif

diff --git a/dev-libs/boehm-gc/metadata.xml b/dev-libs/boehm-gc/metadata.xml
new file mode 100644
index 0000000..89de980
--- /dev/null
+++ b/dev-libs/boehm-gc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+	<email>sera@gentoo.org</email>
+	<name>Ralph Sennhauser</name>
+	</maintainer>
+	<maintainer>
+	<email>patrick@gentoo.org</email>
+	<name>Patrick Lauer</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2014-02-17 11:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-17 11:53 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-02-22 14:27 [gentoo-commits] proj/hardened-dev:musl commit in: dev-libs/boehm-gc/files/, dev-libs/boehm-gc/ Anthony G. Basile
2015-04-16 21:18 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392638025.0a5cca545d702d5a9b2606983cf3cd0a496b5e0f.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox