aboutsummaryrefslogtreecommitdiff
path: root/accessibility/wgetpaste/no_gentooisms.diff
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/wgetpaste/no_gentooisms.diff')
-rw-r--r--accessibility/wgetpaste/no_gentooisms.diff25
1 files changed, 19 insertions, 6 deletions
diff --git a/accessibility/wgetpaste/no_gentooisms.diff b/accessibility/wgetpaste/no_gentooisms.diff
index a0720cc8061a..0751ff54d0c9 100644
--- a/accessibility/wgetpaste/no_gentooisms.diff
+++ b/accessibility/wgetpaste/no_gentooisms.diff
@@ -1,7 +1,7 @@
-diff -Naur wgetpaste-2.13.orig/wgetpaste wgetpaste-2.13/wgetpaste
---- wgetpaste-2.13.orig/wgetpaste 2009-05-27 09:46:48.000000000 -0400
-+++ wgetpaste-2.13/wgetpaste 2009-06-12 07:12:45.000000000 -0400
-@@ -99,7 +99,7 @@
+diff -Naur wgetpaste-2.20/wgetpaste wgetpaste-2.20.patched/wgetpaste
+--- wgetpaste-2.20/wgetpaste 2012-05-05 15:15:32.000000000 -0400
++++ wgetpaste-2.20.patched/wgetpaste 2012-12-20 17:14:06.000000000 -0500
+@@ -134,7 +134,7 @@
noxclip() {
cat <<EOF >&2
Could not find xclip on your system. In order to use --x$1 you must either
@@ -10,8 +10,21 @@ diff -Naur wgetpaste-2.13.orig/wgetpaste wgetpaste-2.13/wgetpaste
per user in ~/.wgetpaste.conf to use another program (such as e.g. xcut or
klipper) to $2 your clipboard.
-@@ -603,8 +603,8 @@
- [[ -z $SOURCE ]] && SOURCE="stdin" && FILES[${#FILES[*]}]="/dev/stdin"
+@@ -312,9 +312,9 @@
+ -c, --command COMMAND paste COMMAND and the output of COMMAND
+ -i, --info append the output of \`$INFO_COMMAND\`
+ -I, --info-only paste the output of \`$INFO_COMMAND\` only
+- -x, --xcut read input from clipboard (requires x11-misc/xclip)
+- -X, --xpaste write resulting url to the X primary selection buffer (requires x11-misc/xclip)
+- -C, --xclippaste write resulting url to the X clipboard selection buffer (requires x11-misc/xclip)
++ -x, --xcut read input from clipboard (requires xclip)
++ -X, --xpaste write resulting url to the X primary selection buffer (requires xclip)
++ -C, --xclippaste write resulting url to the X clipboard selection buffer (requires xclip)
+
+ -r, --raw show url for the raw paste (no syntax highlighting or html)
+ -t, --tee use tee to show what is being pasted
+@@ -647,8 +647,8 @@
+ [[ -z $SOURCE ]] && SOURCE="stdin"
CVT_TABS=No
-INFO_COMMAND=${INFO_COMMAND:-"emerge --info"}