pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xclip xclip: Add "-f -" flags to tar in xclip-past...
details: https://anonhg.NetBSD.org/pkgsrc/rev/52712bb7a824
branches: trunk
changeset: 441660:52712bb7a824
user: kim <kim%pkgsrc.org@localhost>
date: Sun Nov 08 15:25:58 2020 +0000
description:
xclip: Add "-f -" flags to tar in xclip-pastefile
BSD implementations of tar use tape device as default file, so "tar xv"
would extract files from tape device instead of standard input.
diffstat:
x11/xclip/Makefile | 3 ++-
x11/xclip/distinfo | 3 ++-
x11/xclip/patches/patch-xclip-pastefile | 24 ++++++++++++++++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
diffs (52 lines):
diff -r 976be3c7f2f9 -r 52712bb7a824 x11/xclip/Makefile
--- a/x11/xclip/Makefile Sun Nov 08 14:59:28 2020 +0000
+++ b/x11/xclip/Makefile Sun Nov 08 15:25:58 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2016/11/23 23:41:30 wiedi Exp $
+# $NetBSD: Makefile,v 1.21 2020/11/08 15:25:58 kim Exp $
DISTNAME= xclip-0.13
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=astrand/}
diff -r 976be3c7f2f9 -r 52712bb7a824 x11/xclip/distinfo
--- a/x11/xclip/distinfo Sun Nov 08 14:59:28 2020 +0000
+++ b/x11/xclip/distinfo Sun Nov 08 15:25:58 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2016/11/16 15:29:35 leot Exp $
+$NetBSD: distinfo,v 1.9 2020/11/08 15:25:58 kim Exp $
SHA1 (xclip-0.13.tar.gz) = 0231194c2d244213f5b8d83e3e676aa3cb0ef8eb
RMD160 (xclip-0.13.tar.gz) = be74e3bf01e4444d2b6224cf75bbfec06eadb8c9
SHA512 (xclip-0.13.tar.gz) = 191a86194a1503a47c6641a55855dc4aaa8c2c99d2e6f1d46e727feec85a6639041f37ec2265c05c178c0c7d791d3e88bde89223f879effa878812f078485ed2
Size (xclip-0.13.tar.gz) = 30461 bytes
+SHA1 (patch-xclip-pastefile) = a7f465d2f1344855bfbe3badd4eb3b7337da629c
diff -r 976be3c7f2f9 -r 52712bb7a824 x11/xclip/patches/patch-xclip-pastefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xclip/patches/patch-xclip-pastefile Sun Nov 08 15:25:58 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-xclip-pastefile,v 1.1 2020/11/08 15:25:58 kim Exp $
+
+https://github.com/astrand/xclip/commit/db74a39e15f1a75bb1f828103ae7a8d2b4d8ccc3.patch
+
+From: "Dmitrij D. Czarkoff" <czarkoff%gmail.com@localhost>
+Date: Tue, 13 Sep 2016 17:57:12 +0200
+Subject: [PATCH] Add "-f -" flags to tar
+
+BSD implementations of tar use tape device as default file, so "tar xv" would
+extract files from tape device instead of standard input.
+---
+ xclip-pastefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xclip-pastefile b/xclip-pastefile
+index bb3209f..4ac2eae 100755
+--- xclip-pastefile
++++ xclip-pastefile
+@@ -4,4 +4,4 @@ if [ "x$1" != "x" ]; then
+ echo "Usage: $0" >&2
+ exit 1
+ fi
+-xclip -selection secondary -o | gunzip -c | tar xv
++xclip -selection secondary -o | gunzip -c | tar xvf -
Home |
Main Index |
Thread Index |
Old Index