Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133621 Details for
Bug 164518
app-laptop/hdapsd pkg_config() looking for wrong patches
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hdapsd ebuild now installing to /usr/share
hdapsd-ebuild.diff (text/plain), 1.18 KB, created by
René 'Necoro' Neumann
on 2007-10-16 14:42:38 UTC
(
hide
)
Description:
hdapsd ebuild now installing to /usr/share
Filename:
MIME Type:
Creator:
René 'Necoro' Neumann
Created:
2007-10-16 14:42:38 UTC
Size:
1.18 KB
patch
obsolete
>--- hdapsd-20060409-r1.ebuild.old 2007-10-16 16:33:25.000000000 +0200 >+++ hdapsd-20060409-r1.ebuild 2007-10-16 16:35:22.000000000 +0200 >@@ -34,7 +34,8 @@ > newinitd "${FILESDIR}"/hdapsd.init hdapsd > > # Install our kernel patches >- dodoc *.patch "${FILESDIR}"/hdaps-Z60m.patch >+ insinto /usr/share/${PN} >+ doins *.patch "${FILESDIR}"/hdaps-Z60m.patch > } > > # Yes, this sucks as the source location may change, kernel sources may not be >@@ -53,11 +54,11 @@ > pkg_config() { > kernel_patched && return 0 > >- local docdir="${ROOT}/usr/share/doc/${PF}/" >+ local dir="${ROOT}/usr/share/${PN}" > local p="hdaps_protect-${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}.patch.gz" > > # We need to find our FILESDIR as it's now lost >- if [[ ! -e ${docdir}/${p} ]] ; then >+ if [[ ! -e ${dir}/${p} ]] ; then > eerror "We don't have a patch for kernel ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} yet" > return 1 > fi >@@ -68,11 +69,11 @@ > fi > > cd "${KERNEL_DIR}" >- epatch "${docdir}/${p}" >+ epatch "${dir}/${p}" > > # This is just a nice to have for me as I use a Z60m myself > if ! grep -q "Z60m" "${KERNEL_DIR}"/drivers/hwmon/hdaps.c ; then >- epatch "${docdir}"/hdaps-Z60m.patch.gz >+ epatch "${dir}"/hdaps-Z60m.patch.gz > fi > > echo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164518
:
108601
|
120051
| 133621