commit:     90baba4a678764fcbe0773c3073ae25e96f66208
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 11:51:15 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 11:51:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90baba4a

sys-fs/lvm2: remove stale hppa fixes

* lvm2-2.02.166-HPPA-no-O_DIRECT.patch is not needed anymore,
  since upstream fixed this more than a year ago:
  
https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=df70dca995e5593e27e13cf00311d961b4def0e2;hp=9971459d19e93ff652eeaff165da72e51b256299
* Passing --disable-o_direct on hppa also isn't necessary anymore, since
  the O_DIRECT codepaths seem to work just fine in 2022.

Tested-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-fs/lvm2/lvm2-2.03.17.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys-fs/lvm2/lvm2-2.03.17.ebuild b/sys-fs/lvm2/lvm2-2.03.17.ebuild
index 91f4b5074807..bac333f06f9e 100644
--- a/sys-fs/lvm2/lvm2-2.03.17.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.17.ebuild
@@ -67,7 +67,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.03.12-static-pkgconfig-libs-2.patch
        "${FILESDIR}"/${PN}-2.03.17-pthread-pkgconfig.patch #492450
        "${FILESDIR}"/${PN}-2.03.12-static-libm.patch #617756
-       "${FILESDIR}"/${PN}-2.02.166-HPPA-no-O_DIRECT.patch #657446
        "${FILESDIR}"/${PN}-2.03.05-dmeventd-no-idle-exit.patch
        "${FILESDIR}"/${PN}-2.03.14-r1-fopen-to-freopen.patch
        "${FILESDIR}"/${PN}-2.03.14-freopen_n2.patch
@@ -139,9 +138,6 @@ src_configure() {
                # so we cannot disable them
                --with-mirrors="$(usex lvm internal none)"
                --with-snapshots="$(usex lvm internal none)"
-
-               # disable O_DIRECT support on hppa, breaks pv detection (#99532)
-               $(usev hppa --disable-o_direct)
        )
 
        if use lvm && use thin; then

Reply via email to