From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/ccache: ChangeLog ccache-2.4-r9.ebuild
Date: Fri, 19 Nov 2010 07:54:40 +0000 (UTC) [thread overview]
Message-ID: <20101119075440.E37B020051@flycatcher.gentoo.org> (raw)
vapier 10/11/19 07:54:40
Modified: ChangeLog
Added: ccache-2.4-r9.ebuild
Log:
Add fix from upstream for realloc bug #338137 by Chris Coleman.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Revision Changes Path
1.67 dev-util/ccache/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ChangeLog?rev=1.67&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ChangeLog?rev=1.67&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ChangeLog?r1=1.66&r2=1.67
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- ChangeLog 19 Oct 2010 05:27:48 -0000 1.66
+++ ChangeLog 19 Nov 2010 07:54:40 -0000 1.67
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/ccache
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.66 2010/10/19 05:27:48 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.67 2010/11/19 07:54:40 vapier Exp $
+
+*ccache-2.4-r9 (19 Nov 2010)
+
+ 19 Nov 2010; Mike Frysinger <vapier@gentoo.org> +ccache-2.4-r9.ebuild,
+ +files/ccache-2.4-xrealloc.patch:
+ Add fix from upstream for realloc bug #338137 by Chris Coleman.
19 Oct 2010; Mart Raudsepp <leio@gentoo.org> ccache-2.4-r6.ebuild,
ccache-2.4-r7.ebuild:
1.1 dev-util/ccache/ccache-2.4-r9.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ccache-2.4-r9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ccache-2.4-r9.ebuild?rev=1.1&content-type=text/plain
Index: ccache-2.4-r9.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-2.4-r9.ebuild,v 1.1 2010/11/19 07:54:40 vapier Exp $
inherit eutils autotools multilib
DESCRIPTION="fast compiler cache"
HOMEPAGE="http://ccache.samba.org/"
SRC_URI="http://samba.org/ftp/ccache/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
# Note: this version is designed to be auto-detected and used if
# you happen to have Portage 2.0.X+ installed.
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/ccache-2.4-profile.patch
epatch "${FILESDIR}"/ccache-2.4-respectflags.patch
epatch "${FILESDIR}"/ccache-2.4-utimes.patch
epatch "${FILESDIR}"/ccache-2.4-xrealloc.patch #338137
eautoconf
}
do_links() {
insinto /usr/$(get_libdir)/ccache/bin
for a in ${CHOST}-{gcc,g++,c++} gcc c++ g++; do
dosym /usr/bin/ccache /usr/$(get_libdir)/ccache/bin/${a}
done
}
src_install() {
dobin ccache || die
doman ccache.1
dodoc README
dohtml web/*.html
diropts -m0755
dodir /usr/$(get_libdir)/ccache/bin
keepdir /usr/$(get_libdir)/ccache/bin
dobin "${FILESDIR}"/ccache-config || die
diropts -m0700
dodir /root/.ccache
keepdir /root/.ccache
}
pkg_preinst() {
# Do NOT duplicate this in your ebuilds or phear of the wrath!!!
if [[ ${ROOT} = "/" ]] ; then
einfo "Scanning for compiler front-ends..."
do_links
else
ewarn "Install is incomplete; you must run the following commands:"
ewarn " # ccache-config --install-links"
ewarn " # ccache-config --install-links ${CHOST}"
ewarn "after booting or chrooting to ${ROOT} to complete installation."
fi
}
pkg_postinst() {
# nuke broken symlinks from previous versions that shouldn't exist
for i in cc ${CHOST}-cc ; do
[[ -L "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}" ]] && \
rm -rf "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}"
done
[[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \
rm -fr "${ROOT}/usr/$(get_libdir)/ccache.backup"
elog "To use ccache with **non-Portage** C compiling, add"
elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin."
elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with"
elog "no additional steps. If this is your first install of ccache, type"
elog "something like this to set a maximum cache size of 2GB:"
elog "# ccache -M 2G"
}
next reply other threads:[~2010-11-19 7:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 7:54 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-17 13:33 [gentoo-commits] gentoo-x86 commit in dev-util/ccache: ChangeLog ccache-2.4-r9.ebuild Tobias Klausmann (klausman)
2010-12-18 17:08 Christian Faulhammer (fauli)
2010-12-26 17:23 Raul Porcel (armin76)
2010-12-28 15:36 Brent Baude (ranger)
2010-12-29 15:47 Markos Chandras (hwoarang)
2011-01-21 15:40 Jeroen Roovers (jer)
2011-03-06 9:07 Michael Weber (xmw)
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=20101119075440.E37B020051@flycatcher.gentoo.org \
--to=vapier@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