vapier      15/07/13 05:01:23

  Modified:             ChangeLog
  Added:                bc-1.06.95-r2.ebuild
  Log:
  Fix for mem leaks #264889 by Mattias Nissler. Upgrade to EAPI=5 for subslot 
usage.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.44                 sys-devel/bc/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bc/ChangeLog?rev=1.44&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bc/ChangeLog?rev=1.44&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bc/ChangeLog?r1=1.43&r2=1.44

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/bc/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog   18 Jan 2014 03:08:46 -0000      1.43
+++ ChangeLog   13 Jul 2015 05:01:23 -0000      1.44
@@ -1,6 +1,13 @@
 # ChangeLog for sys-devel/bc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/ChangeLog,v 1.43 2014/01/18 
03:08:46 vapier Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/ChangeLog,v 1.44 2015/07/13 
05:01:23 vapier Exp $
+
+*bc-1.06.95-r2 (13 Jul 2015)
+
+  13 Jul 2015; Mike Frysinger <[email protected]> +bc-1.06.95-r2.ebuild,
+  +files/bc-1.06.95-mem-leak.patch:
+  Fix for mem leaks #264889 by Mattias Nissler. Upgrade to EAPI=5 for subslot
+  usage.
 
   18 Jan 2014; Mike Frysinger <[email protected]> bc-1.06.95-r1.ebuild,
   bc-1.06.95.ebuild:



1.1                  sys-devel/bc/bc-1.06.95-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bc/bc-1.06.95-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/bc/bc-1.06.95-r2.ebuild?rev=1.1&content-type=text/plain

Index: bc-1.06.95-r2.ebuild
===================================================================
# Copyright 1999-2015 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-r2.ebuild,v 1.1 
2015/07/13 05:01:23 vapier Exp $

EAPI="5"

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 ~arm64 ~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? ( libedit? ( dev-libs/libedit:= ) )
        readline? (
                >=sys-libs/readline-4.1:0=
                >=sys-libs/ncurses-5.2:=
        )"
DEPEND="${RDEPEND}
        sys-devel/flex"

src_prepare() {
        epatch "${FILESDIR}"/${P}-void_uninitialized.patch #349339
        epatch "${FILESDIR}"/${P}-mem-leak.patch #264889
}

src_configure() {
        local libedit
        if use readline ; then
                libedit="--without-libedit"
        else
                libedit=$(use_with libedit)
        fi
        use static && append-ldflags -static
        econf \
                $(use_with readline) \
                ${libedit}
}

src_compile() {
        emake AR="$(tc-getAR)"
}




Reply via email to