summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/md5-cache/sys-kernel/bbswitch-dkms-0.8-r22
-rw-r--r--sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild6
2 files changed, 6 insertions, 2 deletions
diff --git a/metadata/md5-cache/sys-kernel/bbswitch-dkms-0.8-r2 b/metadata/md5-cache/sys-kernel/bbswitch-dkms-0.8-r2
index ae161e48..411bda29 100644
--- a/metadata/md5-cache/sys-kernel/bbswitch-dkms-0.8-r2
+++ b/metadata/md5-cache/sys-kernel/bbswitch-dkms-0.8-r2
@@ -10,4 +10,4 @@ RDEPEND=sys-kernel/dkms
SLOT=0
SRC_URI=https://github.com/Bumblebee-Project/bbswitch/archive/v0.8.tar.gz -> bbswitch-0.8.tar.gz
_eclasses_=edos2unix 33e347e171066657f91f8b0c72ec8773 eutils dab5d8ec471d025b79c9e6906bcf3bff strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c
-_md5_=e67f1751bc3f9f260043d6c5eb916ee5
+_md5_=d55fc7c6746a96a23de1f552f5c6a2e1
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() {