summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/pass/no-darwin-getopt.patch
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-04-17 20:30:45 +0200
committerjeschli <jeschli@gmail.com>2018-04-17 20:30:45 +0200
commit537806ba0f3043d31e0b4c10edb8b6ba035d9dad (patch)
tree64ebd7d443b97c6d8ec34132f40d864e2a0c179f /krebs/5pkgs/simple/pass/no-darwin-getopt.patch
parent511b45543ad8a0a135425c71108c6907180444d5 (diff)
parent554026a7796e59fcbc82fa44c11636e56a25a9f2 (diff)
Merge remote-tracking branch 'ni/master'
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 00000000..e8f7e138
--- /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"