public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/elt-patches:master commit in: /
Date: Sat, 26 Aug 2017 07:10:30 +0000 (UTC)	[thread overview]
Message-ID: <1503667295.f632a16afebd48162815c3001554cf9bbb91e1da.mgorny@gentoo> (raw)

commit:     f632a16afebd48162815c3001554cf9bbb91e1da
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 25 11:06:40 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 25 13:21:35 2017 +0000
URL:        https://gitweb.gentoo.org/proj/elt-patches.git/commit/?id=f632a16a

Prefer GNU tools on BSD systems

Bug: https://bugs.gentoo.org/628882

 eltpatch.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eltpatch.in b/eltpatch.in
index a4e87d2..8f6f9f3 100644
--- a/eltpatch.in
+++ b/eltpatch.in
@@ -2,6 +2,12 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# BSD support; https://bugs.gentoo.org/628882
+# note: this need to happen before function definitions
+type -P gfind &>/dev/null && alias find=gfind
+type -P gpatch &>/dev/null && alias patch=gpatch
+type -P gsed &>/dev/null && alias sed=gsed
+
 source "@ELT_gentoofuncs@" || exit 1
 
 die() {


             reply	other threads:[~2017-08-26  7:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-26  7:10 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19  9:20 [gentoo-commits] proj/elt-patches:master commit in: / Sam James
2024-10-19  9:17 Sam James
2024-05-12 15:38 Sam James
2024-01-14 18:35 Sam James
2021-11-04 10:33 Mike Frysinger
2021-11-04 10:33 Mike Frysinger
2020-03-13 14:37 Michael Haubenwallner
2017-08-26 11:38 Michał Górny
2017-08-15 11:40 Michał Górny

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=1503667295.f632a16afebd48162815c3001554cf9bbb91e1da.mgorny@gentoo \
    --to=mgorny@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