summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild b/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild
index 86958fec..8aeb65dc 100644
--- a/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild
+++ b/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild
@@ -20,10 +20,14 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
+PATCHES=(
+ "${FILESDIR}"/"${P}"-conf.patch
+)
+
src_prepare() {
+ default
# Fix build failure, bug #513542
sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile
- epatch ${FILESDIR}/${P}-conf.patch
}
src_compile() {