diff options
Diffstat (limited to 'sys-kernel/powersave-sources/powersave-sources-2.6.22-r1.ebuild')
-rw-r--r-- | sys-kernel/powersave-sources/powersave-sources-2.6.22-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-kernel/powersave-sources/powersave-sources-2.6.22-r1.ebuild b/sys-kernel/powersave-sources/powersave-sources-2.6.22-r1.ebuild index ff13367..2c898bc 100644 --- a/sys-kernel/powersave-sources/powersave-sources-2.6.22-r1.ebuild +++ b/sys-kernel/powersave-sources/powersave-sources-2.6.22-r1.ebuild @@ -30,7 +30,7 @@ BGTIMERS_SRC="kernel-2.6.22-rc1" BGTIMERS_URI="http://www.linuxpowertop.org/patches/${BGTIMERS_SRC}.patch" UNIPATCH_LIST="${DISTDIR}/${HRTIMERS_SRC}.patch ${DISTDIR}/${RADEON_SRC}.patch - ${DISTDIR}/${BGTIMERS_SRC}.patch ${DISTDIR}/${SUSPEND2_SRC}.patch.bz2" + ${T}/${BGTIMERS_SRC}.patch ${DISTDIR}/${SUSPEND2_SRC}.patch.bz2" UNIPATCH_STRICTORDER="yes" SRC_URI="${KERNEL_URI} ${SUSPEND2_URI} ${HRTIMERS_URI} ${RADEON_URI} ${BGTIMERS_URI}" @@ -46,3 +46,9 @@ pkg_postinst() { einfo "For more info on this patchset, and how to report problems, see:" einfo "${HOMEPAGE}" } + +pkg_setup() { + ebegin "Apply a dos2unix to ${BGTIMERS_SRC}.patch" + sed 's/\r$//' "${DISTDIR}"/${BGTIMERS_SRC}.patch > "${T}"/${BGTIMERS_SRC}.patch + eend $? +} |