summaryrefslogtreecommitdiff
path: root/www-client/surfraw/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-19 22:05:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-19 22:05:27 +0100
commit121ed4eec41fbf03e1998d09eede1bf449da63b9 (patch)
treece9341d77d1507f67d4a3a1472da9011b5baa0a8 /www-client/surfraw/files
parentdd762ff83c330186ee2ede002e08b2f780cddd51 (diff)
gentoo resync : 19.07.2019
Diffstat (limited to 'www-client/surfraw/files')
-rw-r--r--www-client/surfraw/files/surfraw-2.2.6-gentoo_pkg_tools.patch37
-rw-r--r--www-client/surfraw/files/surfraw-2.2.9-completion.patch10
2 files changed, 0 insertions, 47 deletions
diff --git a/www-client/surfraw/files/surfraw-2.2.6-gentoo_pkg_tools.patch b/www-client/surfraw/files/surfraw-2.2.6-gentoo_pkg_tools.patch
deleted file mode 100644
index e43b24e46710..000000000000
--- a/www-client/surfraw/files/surfraw-2.2.6-gentoo_pkg_tools.patch
+++ /dev/null
@@ -1,37 +0,0 @@
- Needs a little more thought, or some method which would allow for an upstream
-push without affecting the non-Gentoo users.
-
---- i/surfraw-bash-completion.IN
-+++ w/surfraw-bash-completion.IN
-@@ -4,6 +4,22 @@
- # installing the bash-completion package which sets this explicitly.
- shopt -s extglob
-
-+_srpkgname()
-+{
-+ local pd
-+ local dir=$(sed -n -e '/^PORTDIR=/ { s/^[^=]\+="\?\([^"]\+\|\S\+\).*/\1/p ; q }' \
-+ /etc/make.{conf,globals})/*
-+ local cur="$1"
-+
-+ COMPREPLY=($(compgen -W "$(
-+ for pd in $dir
-+ do
-+ [ ! -d ${pd} ] && continue
-+ builtin cd ${pd}
-+ echo *
-+ done)" -- ${cur})
-+ )
-+}
- _surfraw()
- { COMPREPLY=()
- local cur=${COMP_WORDS[COMP_CWORD]}
-@@ -20,7 +36,7 @@ _surfraw()
- then COMPREPLY=( $( compgen -W "$elvi" -- $cur ) )
- # "sr go<tab>" for google
- elif [[ $prev == @(alioth|deb@(bugs|contents|packages|pts|sec)|freshmeat|fsfdir|sourceforge) ]]
-- then COMPREPLY=( $(apt-cache --generate pkgnames $cur) )
-+ then _srpkgname ${cur}
- # "sr debbugs 4<tab>" to check 44bsd-rdist bugs...
- elif [[ -x /usr/bin/look ]] # in bsdmainutils, "important"
- then COMPREPLY=( $(/usr/bin/look ${cur:-''}) )
diff --git a/www-client/surfraw/files/surfraw-2.2.9-completion.patch b/www-client/surfraw/files/surfraw-2.2.9-completion.patch
deleted file mode 100644
index 0fb759f864b5..000000000000
--- a/www-client/surfraw/files/surfraw-2.2.9-completion.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/surfraw-bash-completion.IN
-+++ b/surfraw-bash-completion.IN
-@@ -45,5 +45,5 @@
- fi
- return 0
- }
--# test first in case removed-but-unpurged
--type -p surfraw >/dev/null 2>&1 && complete -F _surfraw surfraw sr
-+
-+complete -F _surfraw surfraw sr