summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-10-14 14:36:17 -0700
committerMatt Turner <mattst88@gentoo.org>2020-10-14 14:36:31 -0700
commita169584e8c4aae302c73f7feeb6458cf21170432 (patch)
tree1b4d2b56f1f22755b60d263f2ccc3f043a8271c1 /sys-boot
parentsys-fs/fuse: 3.10.0 version bump (diff)
downloadgentoo-a169584e8c4aae302c73f7feeb6458cf21170432.tar.gz
gentoo-a169584e8c4aae302c73f7feeb6458cf21170432.tar.bz2
gentoo-a169584e8c4aae302c73f7feeb6458cf21170432.zip
sys-boot/yaboot-static: Fix EAPI=7 port
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/yaboot-static/files/new-ofpath-devspec.patch4
-rw-r--r--sys-boot/yaboot-static/yaboot-static-1.3.17-r2.ebuild3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-boot/yaboot-static/files/new-ofpath-devspec.patch b/sys-boot/yaboot-static/files/new-ofpath-devspec.patch
index f225e8e1bb4b..822173904ad3 100644
--- a/sys-boot/yaboot-static/files/new-ofpath-devspec.patch
+++ b/sys-boot/yaboot-static/files/new-ofpath-devspec.patch
@@ -1,7 +1,7 @@
Fix the devspec path on newer kernels
---- usr/sbin/ofpath
-+++ usr/sbin/ofpath
+--- a/usr/sbin/ofpath
++++ b/usr/sbin/ofpath
@@ -85,11 +85,20 @@
[ "$DEBUG" = 1 ] && echo "Devpath is: $DEVPATH"
diff --git a/sys-boot/yaboot-static/yaboot-static-1.3.17-r2.ebuild b/sys-boot/yaboot-static/yaboot-static-1.3.17-r2.ebuild
index b49e62ff1e90..cf88b3abb22c 100644
--- a/sys-boot/yaboot-static/yaboot-static-1.3.17-r2.ebuild
+++ b/sys-boot/yaboot-static/yaboot-static-1.3.17-r2.ebuild
@@ -33,7 +33,8 @@ QA_PRESTRIPPED="
"
src_prepare() {
- epatch "${FILESDIR}/new-ofpath-devspec.patch"
+ default
+ eapply "${FILESDIR}/new-ofpath-devspec.patch"
}
src_install() {