zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Gentoo is special
@ 2014-12-10 14:18 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2014-12-10 14:18 UTC (permalink / raw)
  To: zsh-workers

I don't know what this does on BSD/Gentoo if that's still active, but
they get to keep the pieces.

% getent --version
getent (Gentoo 2.19-r1 p3) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Thorsten Kukuk.

% iconv --version
iconv (Gentoo 2.19-r1 p3) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.

% ldd --version
ldd (Gentoo 2.19-r1 p3) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

---
 Completion/Unix/Command/_getent | 2 +-
 Completion/Unix/Command/_iconv  | 2 +-
 Completion/Unix/Command/_ldd    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Completion/Unix/Command/_getent b/Completion/Unix/Command/_getent
index 3ea148b..b9aff66 100755
--- a/Completion/Unix/Command/_getent
+++ b/Completion/Unix/Command/_getent
@@ -5,7 +5,7 @@ local services databases keys
 local -a args
 typeset -A opt_args
 
-if _pick_variant -r is_gnu gnu='(GNU|EGLIBC)' unix --version; then
+if _pick_variant -r is_gnu gnu='(GNU|EGLIBC|Gentoo)' unix --version; then
   args+=(
     '(- 1 *)'{-\?,--help}'[display help information]'
     '(- 1 *)--usage[display a short usage message]'
diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv
index 82c2d32..4bf29d4 100644
--- a/Completion/Unix/Command/_iconv
+++ b/Completion/Unix/Command/_iconv
@@ -2,7 +2,7 @@
 
 local expl curcontext="$curcontext" state line ret=1
 
-if _pick_variant libiconv='GNU*libiconv' glibc='(GNU*libc|EGLIBC)' unix --version; then
+if _pick_variant libiconv='GNU*libiconv' glibc='(GNU*libc|EGLIBC|Gentoo)' unix --version; then
   local -a args
   local exargs="-l --list -? --help --usage --version -V"
 
diff --git a/Completion/Unix/Command/_ldd b/Completion/Unix/Command/_ldd
index 0980bc0..381d127 100644
--- a/Completion/Unix/Command/_ldd
+++ b/Completion/Unix/Command/_ldd
@@ -1,6 +1,6 @@
 #compdef ldd
 
-if _pick_variant gnu='(GNU|EGLIBC)' solaris --version; then
+if _pick_variant gnu='(GNU|EGLIBC|Gentoo)' solaris --version; then
   args=(
     '(- *)--version[display version information]'
     '(- *)--help[display help information]'
-- 
2.2.0.GIT


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-10 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-10 14:18 PATCH: Gentoo is special Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).