From 6842a7e725fa9c7fb638dd10f2ff4e3b8b6546c2 Mon Sep 17 00:00:00 2001 From: Pascal Winkelmann Date: Wed, 3 Jun 2020 10:27:46 +0200 Subject: [PATCH] keepass: pbpaste and pbcopy do not need to be replaced. Those are command builtin to MacOS --- pkgs/applications/misc/keepass/fix-paths.patch | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/pkgs/applications/misc/keepass/fix-paths.patch b/pkgs/applications/misc/keepass/fix-paths.patch index 0a99f506b94b..5ff36a21c002 100644 --- a/pkgs/applications/misc/keepass/fix-paths.patch +++ b/pkgs/applications/misc/keepass/fix-paths.patch @@ -56,24 +56,6 @@ diff --git a/KeePass/Util/ClipboardUtil.Unix.cs b/KeePass/Util/ClipboardUtil.Uni index ab49ee2..7f6c50f 100644 --- a/KeePass/Util/ClipboardUtil.Unix.cs +++ b/KeePass/Util/ClipboardUtil.Unix.cs -@@ -42,7 +42,7 @@ namespace KeePass.Util - // string strGtk = GtkGetString(); - // if(strGtk != null) return strGtk; - -- return (NativeLib.RunConsoleApp("pbpaste", "-pboard general") ?? -+ return (NativeLib.RunConsoleApp("@pbpaste@", "-pboard general") ?? - string.Empty); - } - -@@ -50,7 +50,7 @@ namespace KeePass.Util - { - // if(GtkSetString(str)) return; - -- NativeLib.RunConsoleApp("pbcopy", "-pboard general", str); -+ NativeLib.RunConsoleApp("@pbcopy@", "-pboard general", str); - } - - private static string GetStringU() @@ -62,7 +62,7 @@ namespace KeePass.Util // "-out -selection clipboard"); // if(str != null) return str;