summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 07:51:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 07:51:31 +0100
commitbb2cef5edf85ffacc36a97c394c4af0115c6ffcd (patch)
tree519d3483decefdc26d92b8b6f1e5ce1a153beab7
parent21feaf18c1048ba4dada97e0b1e69bcd56d4e6a9 (diff)
sys-kernel/bbswitch-dkms : fix src_prepare, patch EAPI7 way
-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() {