diff options
author | 2023-01-25 21:38:31 -0500 | |
---|---|---|
committer | 2023-07-16 19:36:50 +0100 | |
commit | 4479023e5819adff874f352c311ac1f074940ae4 (patch) | |
tree | 265d0ba76f599ea91cf7e36f2d1666de9b7bbc8f /app-admin/keepass/files | |
parent | media-video/ffmpeg: subscribe to libplacebo subslot (diff) | |
download | gentoo-4479023e5819adff874f352c311ac1f074940ae4.tar.gz gentoo-4479023e5819adff874f352c311ac1f074940ae4.tar.bz2 gentoo-4479023e5819adff874f352c311ac1f074940ae4.zip |
app-admin/keepass: version bump 2.53 fix xsl patch
Closes: https://bugs.gentoo.org/835662
Signed-off-by: Tom Gillespie <tgbugs@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29273
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/keepass/files')
-rw-r--r-- | app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch b/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch new file mode 100644 index 000000000000..19701410cae6 --- /dev/null +++ b/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch @@ -0,0 +1,22 @@ +--- a/KeePass/Forms/AboutForm.cs ++++ b/KeePass/Forms/AboutForm.cs +@@ -135,7 +135,18 @@ + m_lvComponents.Columns.Add(strValueColumn, 100); + + string strExe = WinUtil.GetExecutable(); +- string strDir = UrlUtil.GetFileDirectory(strExe, true, false); ++ string strDir = null; ++ if (KeePassLib.Native.NativeLib.IsUnix()) ++ { ++ string strBPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData); ++ strBPath = UrlUtil.EnsureTerminatingSeparator(strBPath, false); ++ strBPath += PwDefs.ShortProductName.ToLower(); ++ strDir = UrlUtil.EnsureTerminatingSeparator(strBPath, false); ++ } ++ else ++ { ++ strDir = UrlUtil.GetFileDirectory(strExe, true, false); ++ } + + AddComponentItem(PwDefs.ShortProductName, strMainVersion, strExe); + |