add(sys-devel/bc): required for 3.9 kernel builds

This commit is contained in:
Brandon Philips 2013-05-23 15:06:57 -07:00
parent dd8bfc92d1
commit 1430e1ee06
6 changed files with 264 additions and 0 deletions

View File

@ -0,0 +1,147 @@
# ChangeLog for sys-devel/bc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/ChangeLog,v 1.41 2012/04/26 13:55:58 aballier Exp $
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> bc-1.06.95-r1.ebuild:
keyword ~amd64-fbsd
27 Mar 2012; Mike Frysinger <vapier@gentoo.org> bc-1.06.95.ebuild,
bc-1.06.95-r1.ebuild:
Migrate to gnu-alpha mirror.
15 Feb 2011; Fabian Groffen <grobian@gentoo.org> bc-1.06.95-r1.ebuild:
Marked ~sparc64-solaris
*bc-1.06.95-r1 (26 Dec 2010)
26 Dec 2010; Mike Frysinger <vapier@gentoo.org> +bc-1.06.95-r1.ebuild,
+files/bc-1.06.95-void_uninitialized.patch:
Fix uninitialized memory usage #349339 by David Flogeras. Convert to
EAPI=2 for fun.
05 Feb 2010; Alexis Ballier <aballier@gentoo.org> bc-1.06.95.ebuild:
freebsd-lib does not ship libedit anymore
15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> bc-1.06.95.ebuild:
Transfer Prefix keywords
09 Jun 2008; Jeroen Roovers <jer@gentoo.org> bc-1.06.95.ebuild:
Stable for HPPA (bug #224863).
07 Jun 2008; Kenneth Prugh <ken69267@gentoo.org> bc-1.06.95.ebuild:
amd64 stable, bug #224863
07 Jun 2008; nixnut <nixnut@gentoo.org> bc-1.06.95.ebuild:
Stable on ppc wrt bug 224863
07 Jun 2008; Raúl Porcel <armin76@gentoo.org> bc-1.06.95.ebuild:
ia64/sparc stable wrt #224863
06 Jun 2008; Christian Faulhammer <opfer@gentoo.org> bc-1.06.95.ebuild:
stable x86, bug 224863
05 Jun 2008; Tobias Klausmann <klausman@gentoo.org> bc-1.06.95.ebuild:
Stable on alpha, bug #224973
05 Jun 2008; Markus Rothe <corsair@gentoo.org> bc-1.06.95.ebuild:
Stable on ppc64; bug #224863
31 Dec 2006; Mike Frysinger <vapier@gentoo.org> bc-1.06-r6.ebuild,
bc-1.06.95.ebuild:
Punt old flag filters and use emake in install.
18 Oct 2006; Roy Marples <uberlord@gentoo.org> bc-1.06.95.ebuild:
Added ~sparc-fbsd keyword.
*bc-1.06.95 (05 Sep 2006)
05 Sep 2006; Mike Frysinger <vapier@gentoo.org> +bc-1.06.95.ebuild:
Version bump for #136643.
11 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> bc-1.06.94.ebuild:
Add freebsd-lib as option for libedit.
*bc-1.06.94 (10 Jun 2006)
10 Jun 2006; Mike Frysinger <vapier@gentoo.org> +bc-1.06.94.ebuild:
Version bump.
30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> bc-1.06-r6.ebuild:
Add ~x86-fbsd keyword.
28 Jun 2005; Joshua Kinard <kumba@gentoo.org> bc-1.06-r6.ebuild:
Marked stable on mips.
09 Apr 2005; Markus Rothe <corsair@gentoo.org> bc-1.06-r6.ebuild:
Stable on ppc64
19 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> bc-1.06-r6.ebuild:
Stable on alpha.
17 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> bc-1.06-r6.ebuild:
Stable on ppc.
09 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> bc-1.06-r6.ebuild:
Stable on sparc
*bc-1.06-r6 (11 Feb 2005)
11 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+files/bc-1.06-longopts.patch, +files/bc-1.06-static-save.patch,
+bc-1.06-r6.ebuild:
Add patch to fix longopts handling #51525 and a patch from fedora to fix
saved register handling.
08 Nov 2004; Mike Frysinger <vapier@gentoo.org> bc-1.06-r5.ebuild:
USE=static support #70276 by Sascha Silbe.
02 Mar 2004; Brian Jackson <iggy@gentoo.org> bc-1.06-r5.ebuild:
adding initial s390 support
27 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> bc-1.06-r5.ebuild:
replace-flags for amd64.
*bc-1.06-r5 (19 Feb 2003)
17 Sep 2003; Jon Portnoy <avenj@gentoo.org> bc-1.06-r5.ebuild :
ia64 keywords.
16 Jul Jan Seidel <tuxus@gentoo.org> bc-1.06-r5.ebuild :
Mark stable on mips
14 Mar 2003; Seemant Kulleen <seemant@gentoo.org> bc-1.06-r3.ebuild,
bc-1.06-r3.ebuild, bc-1.06-r4.ebuild, bc-1.06-r4.ebuild, bc-1.06-r5.ebuild:
change -Os to -O2 on x86. Closes bug #17536 by frank <frbiscani@libero.it>
19 Feb 2003; Mark Guertin <gerk@gentoo.org> bc-1.06-r5.ebuild
files/digest-bc-1.06-r5 :
rev bump to close bug #16043, -O2 on ppc causes segfault.
Kept stable all arches (only change)
20 Feb 2003; Zach Welch <zwelch@gentoo.org> bc-1.06-r4.ebuild :
Added arm to keywords.
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> bc-1.06-r4.ebuild :
Added hppa to keywords.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*bc-1.06-r4 (11 Nov 2002)
11 Nov 2002; Martin Schlemmer <azarah@gentoo.org> bc-1.06-r4.ebuild :
Fix bug #10546.
*bc-1.06-r3 (1 Feb 2002)
23 Oct 2002; Martin Schlemmer <azarah@gentoo.org> bc-1.06-r3.ebuild :
Fix to work with flex-2.5.22 and up.
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX bc-1.06.95-void_uninitialized.patch 351 RMD160 ddf88b268b16975378dabe9290724f3b8c4d1925 SHA1 c6f8d7a3081990273aa8a8574fc67327043f78b5 SHA256 440a9a20633317204a0205962f573a932ef4493b1dc9ff3253bfed22c8caf5cd
DIST bc-1.06.95.tar.bz2 290069 RMD160 d58c2d7a1f4b7bfa910f26e5809f3169a6e0da76 SHA1 18717e0543b1dda779a71e6a812f11b8261a705a SHA256 7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
EBUILD bc-1.06.95-r1.ebuild 1397 RMD160 e5f488d15242986a63546b999e42164d60aee143 SHA1 6222e261a5d53a44818ab73d543f7e58f468f25e SHA256 bb071ff7d1b9dc258381d9b68fe0c96c0d85dd0d5fae29989d6d962fbea5c73d
EBUILD bc-1.06.95.ebuild 1298 RMD160 9cdfcf6f3ccc9cdb0c4b6787a9924c0f6eab8e56 SHA1 0473b824f005b03ecc721951e7c29c68765daff5 SHA256 7211a0f1abb703fa4fc4fa7ecc49179aed7482f5445e4fddc7033bae142fd68c
MISC ChangeLog 4971 RMD160 21db57f2f1280118cbbb22e8f1cbe0069e7772fa SHA1 58b827e5570a7c5360dce0ae5741ebd92612706c SHA256 c76dd71a48a8677ede7cb8ce83f548b7d96e6943a54b7f007b4a0315874f98c4
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iEYEARECAAYFAk+ZU/QACgkQvFcC4BYPU0qp5gCcCG2KmlAE1vjzYPQ7cI+q1bZM
WMsAn1OAf+txjMXRtCNhx0BjSCnd1HIv
=BEOw
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,44 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06.95-r1.ebuild,v 1.4 2012/04/26 13:55:58 aballier Exp $
EAPI="2"
inherit eutils flag-o-matic
DESCRIPTION="Handy console-based calculator utility"
HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
SRC_URI="mirror://gnu-alpha/bc/${P}.tar.bz2
mirror://gnu/bc/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="libedit readline static"
RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
libedit? ( dev-libs/libedit )"
DEPEND="${RDEPEND}
sys-devel/flex"
src_prepare() {
epatch "${FILESDIR}"/${P}-void_uninitialized.patch #349339
}
src_configure() {
local myconf
if use readline ; then
myconf="--with-readline --without-libedit"
elif use libedit ; then
myconf="--without-readline --with-libedit"
else
myconf="--without-readline --without-libedit"
fi
use static && append-ldflags -static
econf ${myconf}
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS FAQ NEWS README ChangeLog
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06.95.ebuild,v 1.14 2012/03/27 18:26:34 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Handy console-based calculator utility"
HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
SRC_URI="mirror://gnu-alpha/bc/${P}.tar.bz2
mirror://gnu/bc/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="libedit readline static"
RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
libedit? ( dev-libs/libedit )"
DEPEND="${RDEPEND}
sys-devel/flex"
src_compile() {
local myconf
if use readline ; then
myconf="--with-readline --without-libedit"
elif use libedit ; then
myconf="--without-readline --with-libedit"
else
myconf="--without-readline --without-libedit"
fi
use static && append-ldflags -static
econf ${myconf} || die
emake || die
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS FAQ NEWS README ChangeLog
}

View File

@ -0,0 +1,13 @@
http://www.pixelbeat.org/programming/oss_bug_flow.html
https://bugs.gentoo.org/349339
--- bc/storage.c
+++ bc/storage.c
@@ -99,6 +99,7 @@
{
f = &functions[indx];
f->f_defined = FALSE;
+ f->f_void = FALSE;
f->f_body = (char *) bc_malloc (BC_START_SIZE);
f->f_body_size = BC_START_SIZE;
f->f_code_size = 0;

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
</pkgmetadata>