summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/pass/no-darwin-getopt.patch
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-04-10 13:25:51 +0200
committertv <tv@krebsco.de>2018-04-10 13:25:51 +0200
commit81b001e825e08007b8751d128b6388a50208ed7c (patch)
tree4717ec1da4ec6f37313e20b58a34ae69bf5e5cc0 /tv/5pkgs/simple/pass/no-darwin-getopt.patch
parenteb684c7618697b370cf69c175ef43e0ced361407 (diff)
tv pass: init at 1.7.1
Import from nixpkgs 09bca91e3b5a18d7f37f7632175ac71f2bf369ff.
Diffstat (limited to 'tv/5pkgs/simple/pass/no-darwin-getopt.patch')
-rw-r--r--tv/5pkgs/simple/pass/no-darwin-getopt.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/tv/5pkgs/simple/pass/no-darwin-getopt.patch b/tv/5pkgs/simple/pass/no-darwin-getopt.patch
new file mode 100644
index 000000000..e8f7e138f
--- /dev/null
+++ b/tv/5pkgs/simple/pass/no-darwin-getopt.patch
@@ -0,0 +1,9 @@
+diff -Naur password-store-1.6.5-orig/src/platform/darwin.sh password-store-1.6.5/src/platform/darwin.sh
+--- password-store-1.6.5-orig/src/platform/darwin.sh 2015-01-28 16:43:02.000000000 +0000
++++ password-store-1.6.5/src/platform/darwin.sh 2015-02-15 16:09:02.000000000 +0000
+@@ -31,5 +31,4 @@
+ mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk."
+ }
+
+-GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt"
+ SHRED="srm -f -z"