diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-03-11 17:36:15 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-03-11 17:36:15 +0000 |
commit | e087bfba5367ee639f4a76b8a70882756e686a25 (patch) | |
tree | 67cad5707ceb6b62533dffd5f84c6c71d8ca5908 /www-client/surfraw/files | |
parent | x11-base/xorg-server: add a patch to fix xfs (bug #236847), remove unsupporte... (diff) | |
download | gentoo-2-e087bfba5367ee639f4a76b8a70882756e686a25.tar.gz gentoo-2-e087bfba5367ee639f4a76b8a70882756e686a25.tar.bz2 gentoo-2-e087bfba5367ee639f4a76b8a70882756e686a25.zip |
Version bump. Remove old.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'www-client/surfraw/files')
-rw-r--r-- | www-client/surfraw/files/surfraw-gentoo_pkg_tools.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/www-client/surfraw/files/surfraw-gentoo_pkg_tools.patch b/www-client/surfraw/files/surfraw-gentoo_pkg_tools.patch deleted file mode 100644 index 58e2dc49f269..000000000000 --- a/www-client/surfraw/files/surfraw-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. - -Index: surfraw-2.0.2/surfraw-bash-completion -=================================================================== ---- surfraw-2.0.2/surfraw-bash-completion {cset 4e580034-b124-4c8c-a69c-350d291577a1} -+++ surfraw-2.0.2/surfraw-bash-completion {local clone} -@@ -1,4 +1,20 @@ - # -*- sh -*- bash programmable completion for Surfraw, v2.2 -+_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]} -@@ -14,7 +30,7 @@ _surfraw() - then COMPREPLY=( $( compgen -W "$elvi" -- $cur ) ) - # "sr g<tab>" for google - elif [[ $prev == @(alioth|deb@(bug|content|package|pt)s|freshmeat|sourceforge) ]] -- then COMPREPLY=( $(apt-cache --generate pkgnames $cur) ) -+ then _srpkgname ${cur} - # "sr debbugs 4<tab>" to check 44bsd-rdist bugs... - elif test -x /usr/bin/look # in bsdmainutils, "important" - then COMPREPLY=( $(/usr/bin/look ${cur:-''}) ) |