vapier      15/05/21 08:28:24

  Modified:             ChangeLog
  Added:                libnih-1.0.3-r3.ebuild
  Log:
  Workaround from Chromium OS for race in signal loop processing.
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.7                  sys-libs/libnih/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/ChangeLog?rev=1.7&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/ChangeLog?rev=1.7&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/ChangeLog?r1=1.6&r2=1.7

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog   5 Mar 2015 21:18:32 -0000       1.6
+++ ChangeLog   21 May 2015 08:28:24 -0000      1.7
@@ -1,6 +1,12 @@
 # ChangeLog for sys-libs/libnih
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v 1.6 2015/03/05 
21:18:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v 1.7 2015/05/21 
08:28:24 vapier Exp $
+
+*libnih-1.0.3-r3 (21 May 2015)
+
+  21 May 2015; Mike Frysinger <[email protected]>
+  +files/libnih-1.0.3-signal-race.patch, +libnih-1.0.3-r3.ebuild:
+  Workaround from Chromium OS for race in signal loop processing.
 
 *libnih-1.0.3-r2 (05 Mar 2015)
 



1.1                  sys-libs/libnih/libnih-1.0.3-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r3.ebuild?rev=1.1&content-type=text/plain

Index: libnih-1.0.3-r3.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r3.ebuild,v 1.1 
2015/05/21 08:28:24 vapier Exp $

EAPI="4"

inherit versionator eutils autotools toolchain-funcs multilib flag-o-matic

DESCRIPTION="Light-weight 'standard library' of C functions"
HOMEPAGE="https://launchpad.net/libnih";
SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 
1-2)/${PV}/+download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
IUSE="+dbus nls static-libs test +threads"

RDEPEND="dbus? ( dev-libs/expat >=sys-apps/dbus-1.2.16 )"
DEPEND="${RDEPEND}
        sys-devel/gettext
        virtual/pkgconfig
        test? ( dev-util/valgrind )"

src_prepare() {
        epatch "${FILESDIR}"/${PN}-1.0.3-optional-dbus.patch
        epatch "${FILESDIR}"/${PN}-1.0.3-pkg-config.patch
        epatch "${FILESDIR}"/${PN}-1.0.3-signal-race.patch
        eautoreconf
}

src_configure() {
        append-lfs-flags
        econf \
                $(use_with dbus) \
                $(use_enable nls) \
                $(use_enable static-libs static) \
                $(use_enable threads) \
                $(use_enable threads threading)
}

src_install() {
        default

        # we need to be in / because upstart needs libnih
        gen_usr_ldscript -a nih $(use dbus && echo nih-dbus)
        use static-libs || rm "${ED}"/usr/$(get_libdir)/*.la
}




Reply via email to