about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/keepass
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/keepass')
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch18
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch2
-rw-r--r--nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch2
3 files changed, 2 insertions, 20 deletions
diff --git a/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch b/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch
index 0a99f506b94b..5ff36a21c002 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/fix-paths.patch
+++ b/nixpkgs/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;

diff --git a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch
index ca52e7ef191a..e6a6bff8dad3 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch
+++ b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins-load.patch
@@ -1 +1 @@
-+			m_pluginManager.LoadAllPlugins("$PATH$/lib/dotnet/keepass", SearchOption.TopDirectoryOnly, new string[] {});
++			m_pluginManager.LoadAllPlugins("$PATH$/lib/dotnet/keepass", System.IO.SearchOption.TopDirectoryOnly, new string[] {});
diff --git a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch
index 9a7e3fe99832..891be1ffa314 100644
--- a/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch
+++ b/nixpkgs/pkgs/applications/misc/keepass/keepass-plugins.patch
@@ -11,7 +11,7 @@ diff --git a/KeePass/Forms/MainForm.cs b/KeePass/Forms/MainForm.cs
 index 347eaf5..b92e1e2 100644
 --- a/KeePass/Forms/MainForm.cs
 +++ b/KeePass/Forms/MainForm.cs
-@@ -440,7 +440,7 @@ namespace KeePass.Forms
+@@ -440,7 +440,$OUTPUT_LC$ @@ namespace KeePass.Forms
  				ToolStripItemCollection tsicT = m_ctxTray.Items;
  				ToolStripItem tsiPrevT = m_ctxTrayOptions;