From d5094f447a1433978cff63283329e1659b3b1bc4 Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Sun, 4 Oct 2015 23:58:52 +0800 Subject: app-admin/keepass: patch to build to support >=mono-4 pacthes supplied by maintainer via the gentoo bug Gentoo bug #558094 Package-Manager: portage-2.2.20.1 --- .../files/keepass-2.30-mono-4-support.patch | 92 ++++++++++++++++++++++ app-admin/keepass/keepass-2.30.ebuild | 3 + 2 files changed, 95 insertions(+) create mode 100644 app-admin/keepass/files/keepass-2.30-mono-4-support.patch (limited to 'app-admin') diff --git a/app-admin/keepass/files/keepass-2.30-mono-4-support.patch b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch new file mode 100644 index 000000000000..5794ba03eb42 --- /dev/null +++ b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch @@ -0,0 +1,92 @@ +File keepass-2.30-original/.ipc_in is a fifo while file keepass-2.30/.ipc_in is a fifo +File keepass-2.30-original/.ipc_out is a fifo while file keepass-2.30/.ipc_out is a fifo +diff -ur keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln +--- keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln 2008-09-11 18:19:14.000000000 +0200 ++++ keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln 2015-09-28 17:21:23.640007000 +0200 +@@ -1,5 +1,5 @@ +  +-Microsoft Visual Studio Solution File, Format Version 10.00 ++Microsoft Visual Studio Solution File, Format Version 11.00 + # Visual Studio 2008 + Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "KeePassMsi", "KeePassMsi.vdproj", "{C4135368-4A84-4924-B5CE-82B18FAADFD4}" + EndProject +diff -ur keepass-2.30-original/work/KeePass/KeePass.csproj keepass-2.30/work/KeePass/KeePass.csproj +--- keepass-2.30-original/work/KeePass/KeePass.csproj 2015-09-28 17:20:19.828006799 +0200 ++++ keepass-2.30/work/KeePass/KeePass.csproj 2015-09-28 17:21:26.160007008 +0200 +@@ -1,5 +1,5 @@ +- +- ++ ++ v4.5 + Debug + AnyCPU + 9.0.30729 +@@ -1315,6 +1315,6 @@ + + + --> +- ++ v4.5 + + +diff -ur keepass-2.30-original/work/KeePassLib/KeePassLib.csproj keepass-2.30/work/KeePassLib/KeePassLib.csproj +--- keepass-2.30-original/work/KeePassLib/KeePassLib.csproj 2015-09-28 17:20:19.836006799 +0200 ++++ keepass-2.30/work/KeePassLib/KeePassLib.csproj 2015-09-28 17:21:26.148007008 +0200 +@@ -1,5 +1,5 @@ +- +- ++ ++ v4.5 + Debug + AnyCPU + 9.0.30729 +diff -ur keepass-2.30-original/work/KeePassLibSD/KeePassLibSD.csproj keepass-2.30/work/KeePassLibSD/KeePassLibSD.csproj +--- keepass-2.30-original/work/KeePassLibSD/KeePassLibSD.csproj 2014-05-08 15:00:06.000000000 +0200 ++++ keepass-2.30/work/KeePassLibSD/KeePassLibSD.csproj 2015-09-28 17:21:26.148007008 +0200 +@@ -1,5 +1,5 @@ +- +- ++ ++ v4.5 + Debug + AnyCPU + 9.0.30729 +@@ -14,7 +14,7 @@ + 3C41C503-53EF-4c2a-8DD4-A8217CAD115E + 4.20 + KeePassLibSD +- v2.0 ++ + + + true +diff -ur keepass-2.30-original/work/KeePass.sln keepass-2.30/work/KeePass.sln +--- keepass-2.30-original/work/KeePass.sln 2015-09-28 17:20:19.848006799 +0200 ++++ keepass-2.30/work/KeePass.sln 2015-09-28 17:21:23.632007000 +0200 +@@ -1,4 +1,4 @@ +-Microsoft Visual Studio Solution File, Format Version 10.00 ++Microsoft Visual Studio Solution File, Format Version 11.00 + # Visual Studio 2008 + Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeePassLib", "KeePassLib\KeePassLib.csproj", "{53573E4E-33CB-4FDB-8698-C95F5E40E7F3}" + EndProject +diff -ur keepass-2.30-original/work/ShInstUtil/ShInstUtil.sln keepass-2.30/work/ShInstUtil/ShInstUtil.sln +--- keepass-2.30-original/work/ShInstUtil/ShInstUtil.sln 2011-09-10 13:21:28.000000000 +0200 ++++ keepass-2.30/work/ShInstUtil/ShInstUtil.sln 2015-09-28 17:21:23.636007000 +0200 +@@ -1,5 +1,5 @@ +  +-Microsoft Visual Studio Solution File, Format Version 10.00 ++Microsoft Visual Studio Solution File, Format Version 11.00 + # Visual Studio 2008 + Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ShInstUtil", "ShInstUtil.vcproj", "{C9FBA6FD-04AC-4B2F-8277-B852B8013DAE}" + EndProject +diff -ur keepass-2.30-original/work/Translation/TrlUtil/TrlUtil.csproj keepass-2.30/work/Translation/TrlUtil/TrlUtil.csproj +--- keepass-2.30-original/work/Translation/TrlUtil/TrlUtil.csproj 2013-07-21 10:06:38.000000000 +0200 ++++ keepass-2.30/work/Translation/TrlUtil/TrlUtil.csproj 2015-09-28 17:21:26.140007008 +0200 +@@ -1,5 +1,5 @@ +- +- ++ ++ v4.5 + Debug + AnyCPU + 9.0.30729 diff --git a/app-admin/keepass/keepass-2.30.ebuild b/app-admin/keepass/keepass-2.30.ebuild index 55cdd13ba19c..d98b4e7987fc 100644 --- a/app-admin/keepass/keepass-2.30.ebuild +++ b/app-admin/keepass/keepass-2.30.ebuild @@ -33,6 +33,9 @@ src_prepare() { # KeePass looks for some XSL files in the same folder as the executable, # we prefer to have it in /usr/share/KeePass epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch" + # bug # 558094 + has_version ">=dev-lang/mono-4" && epatch \ + "${FILESDIR}/${P}-mono-4-support.patch" } src_compile() { -- cgit v1.2.3-65-gdbad