diff options
author | Dane Smith <c1pher@gentoo.org> | 2011-07-14 17:12:37 +0000 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2011-07-14 17:12:37 +0000 |
commit | b624d01233d69b34d9f1e19cb8586e673d74c46c (patch) | |
tree | 9352a5ac96f2d7b3d0a85a5046968c6878ca967a /sys-apps/fakechroot | |
parent | version bump (diff) | |
download | gentoo-2-b624d01233d69b34d9f1e19cb8586e673d74c46c.tar.gz gentoo-2-b624d01233d69b34d9f1e19cb8586e673d74c46c.tar.bz2 gentoo-2-b624d01233d69b34d9f1e19cb8586e673d74c46c.zip |
sys-apps/fakechroot: Version bump. Add new patch.
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/fakechroot')
-rw-r--r-- | sys-apps/fakechroot/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/fakechroot/fakechroot-2.14.ebuild | 33 | ||||
-rw-r--r-- | sys-apps/fakechroot/files/fakechroot-2.14-fix_chk_fail.patch | 25 |
3 files changed, 65 insertions, 1 deletions
diff --git a/sys-apps/fakechroot/ChangeLog b/sys-apps/fakechroot/ChangeLog index 16664bd7e9f4..bf708bb86ef6 100644 --- a/sys-apps/fakechroot/ChangeLog +++ b/sys-apps/fakechroot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/fakechroot # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fakechroot/ChangeLog,v 1.15 2011/06/21 21:44:28 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fakechroot/ChangeLog,v 1.16 2011/07/14 17:12:37 c1pher Exp $ + +*fakechroot-2.14 (14 Jul 2011) + + 14 Jul 2011; Dane Smith <c1pher@gentoo.org> +fakechroot-2.14.ebuild, + +files/fakechroot-2.14-fix_chk_fail.patch: + Version bump. Add patch to fix chk_fail. Thanks Anthony Bourgeois. 21 Jun 2011; Andreas K. Huettel <dilfridge@gentoo.org> metadata.xml: Add proxy maintainership diff --git a/sys-apps/fakechroot/fakechroot-2.14.ebuild b/sys-apps/fakechroot/fakechroot-2.14.ebuild new file mode 100644 index 000000000000..787c8e1b3a01 --- /dev/null +++ b/sys-apps/fakechroot/fakechroot-2.14.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fakechroot/fakechroot-2.14.ebuild,v 1.1 2011/07/14 17:12:37 c1pher Exp $ + +EAPI="4" +inherit eutils + +DESCRIPTION="Provide a faked chroot environment without requiring root privileges" +HOMEPAGE="http://fakechroot.alioth.debian.org/" +SRC_URI="mirror://debian/pool/main/f/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}"/${P}-fix_chk_fail.patch +} + +src_configure() { + econf \ + --disable-static \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install + dodoc NEWS README THANKS + find "${D}" -name '*.la' -exec rm -f '{}' + +} diff --git a/sys-apps/fakechroot/files/fakechroot-2.14-fix_chk_fail.patch b/sys-apps/fakechroot/files/fakechroot-2.14-fix_chk_fail.patch new file mode 100644 index 000000000000..a714d02a59c4 --- /dev/null +++ b/sys-apps/fakechroot/files/fakechroot-2.14-fix_chk_fail.patch @@ -0,0 +1,25 @@ +# This patch fix the availablity of __chk_fail function. +# patch from blueness@gentoo.org + +diff -ur fakechroot-2.14.orig//src/__realpath_chk.c fakechroot-2.14/src/__realpath_chk.c +--- fakechroot-2.14.orig//src/__realpath_chk.c 2011-07-04 16:59:16.176441002 +0200 ++++ fakechroot-2.14/src/__realpath_chk.c 2011-07-04 17:00:23.718441000 +0200 +@@ -24,10 +24,18 @@ + + #define _FORTIFY_SOURCE 2 + #include <stddef.h> ++#include <stdlib.h> + #include "libfakechroot.h" + + ++#ifdef HAVE___CHK_FAIL + extern void __chk_fail (void) __attribute__((__noreturn__)); ++#else ++__attribute__((__noreturn__)) void __chk_fail (void) ++{ ++ exit(-1); ++} ++#endif + + wrapper(__realpath_chk, char *, (const char * path, char * resolved, size_t resolvedlen)) + { |