summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/pass/no-darwin-getopt.patch
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-04-26 21:06:17 +0200
committermakefu <github@syntax-fehler.de>2018-04-26 21:06:17 +0200
commit87b1aa3cdd796238ecbf61d3fcd5fcc08563aa82 (patch)
treeedf59f73bd0c61beb1a5e19f3661310031e7c5f5 /krebs/5pkgs/simple/pass/no-darwin-getopt.patch
parent309124175425cb7abd6dad166f485ae832435562 (diff)
parent0b9727b3ad324b1d1f6a8db4181be546eb5ec397 (diff)
Merge branch 'master' of prism:stockholm
Diffstat (limited to 'krebs/5pkgs/simple/pass/no-darwin-getopt.patch')
-rw-r--r--krebs/5pkgs/simple/pass/no-darwin-getopt.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/pass/no-darwin-getopt.patch b/krebs/5pkgs/simple/pass/no-darwin-getopt.patch
new file mode 100644
index 000000000..e8f7e138f
--- /dev/null
+++ b/krebs/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"