diff options
author | 2017-10-21 18:05:18 +0200 | |
---|---|---|
committer | 2017-10-21 18:05:18 +0200 | |
commit | 764da46ea3be96834c9cbd1637ab1277c90d0df8 (patch) | |
tree | 140f7d65fcb4c834482c05814caffe8a5fdf9581 /sys-apps/systemd-readahead/systemd-readahead-216.ebuild | |
parent | app-misc/carbon-c-relay: version bump to v3.2 (diff) | |
download | gentoo-764da46ea3be96834c9cbd1637ab1277c90d0df8.tar.gz gentoo-764da46ea3be96834c9cbd1637ab1277c90d0df8.tar.bz2 gentoo-764da46ea3be96834c9cbd1637ab1277c90d0df8.zip |
sys-apps/systemd-readahead: Backport fixes to append <sys/sysmacros.h> includes where needed (#604614)
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-apps/systemd-readahead/systemd-readahead-216.ebuild')
-rw-r--r-- | sys-apps/systemd-readahead/systemd-readahead-216.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild index e29293a0a6cc..e256882d9165 100644 --- a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild +++ b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit systemd toolchain-funcs udev DESCRIPTION="Split of readahead systemd implementation" @@ -13,7 +13,7 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="" -S=${WORKDIR}/systemd-${PV} +S="${WORKDIR}/systemd-${PV}" RDEPEND=">=sys-apps/systemd-217:=" DEPEND="${RDEPEND} @@ -26,7 +26,14 @@ DEPEND="${RDEPEND} virtual/pkgconfig " +PATCHES=( + # https://github.com/systemd/systemd/pull/2838 , bug #604614 + "${FILESDIR}/${P}-sysmacros.patch" +) + src_prepare() { + default + # systemd-notify no longer supports readahead playing sed -i -e 's:ExecStart=@SYSTEMD_NOTIFY@ --readahead=done:ExecStart=/bin/touch /run/systemd/readahead/done:' \ units/systemd-readahead-done.service.in || die |