public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/sedutil/
Date: Thu,  4 Aug 2016 19:29:51 +0000 (UTC)	[thread overview]
Message-ID: <1470338985.bc9e1b1929349952aefaf1577dfdccd917d0cdf6.vapier@gentoo> (raw)

commit:     bc9e1b1929349952aefaf1577dfdccd917d0cdf6
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 19:29:15 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Aug  4 19:29:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9e1b19

sys-block/sedutil: only apply nvme.h fix w/newer linux-headers #590486

 sys-block/sedutil/sedutil-1.12.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-block/sedutil/sedutil-1.12.ebuild b/sys-block/sedutil/sedutil-1.12.ebuild
index 7e65008..f2aa19f 100644
--- a/sys-block/sedutil/sedutil-1.12.ebuild
+++ b/sys-block/sedutil/sedutil-1.12.ebuild
@@ -17,8 +17,10 @@ IUSE=""
 src_prepare() {
 	# https://github.com/Drive-Trust-Alliance/sedutil/pull/49
 	find -name '*.mk' -exec sed -E -i 's: -(Werror|g|O[0-9]?) : :g' {} + || die
-	mkdir linux/linux || die
-	cp "${FILESDIR}"/nvme.h linux/linux/ || die
+	if has_version '>=sys-kernel/linux-headers-4.4' ; then
+		mkdir linux/linux || die
+		cp "${FILESDIR}"/nvme.h linux/linux/ || die
+	fi
 }
 
 src_configure() {


             reply	other threads:[~2016-08-04 19:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 19:29 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-10  5:40 [gentoo-commits] repo/gentoo:master commit in: sys-block/sedutil/ Mike Frysinger
2017-07-20 12:06 Lars Wendler
2017-11-07 10:00 Lars Wendler
2020-10-18 18:06 Thomas Deutschmann
2020-11-02  9:47 Sam James
2021-05-14 22:14 David Seifert
2021-05-14 22:14 David Seifert
2022-02-03 23:37 Georgy Yakovlev
2022-06-02  3:12 Sam James
2022-06-02  3:12 Sam James
2022-06-21  9:41 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470338985.bc9e1b1929349952aefaf1577dfdccd917d0cdf6.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox