commit: b28d37bb050204162e4854346cc87d0960dec923 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jul 18 20:03:06 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jul 18 20:03:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28d37bb
dev-dotnet/gtk-sharp: fix build This is a long-standing bug with a simple patch to fix an ambiguous property reference. Closes: https://bugs.gentoo.org/697108 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/gtk-sharp-2.12.21-mono-ambiguous-range.patch | 15 +++++++++++++++ dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.21-mono-ambiguous-range.patch b/dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.21-mono-ambiguous-range.patch new file mode 100644 index 00000000000..048373a3ec7 --- /dev/null +++ b/dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.21-mono-ambiguous-range.patch @@ -0,0 +1,15 @@ +https://github.com/mono/gtk-sharp/commit/a00552ad68ae349e89e440dca21b86dbd6bccd30 +https://bugs.gentoo.org/697108 +--- a/sample/test/TestRange.cs 2012-09-25 14:19:02.000000000 -0700 ++++ b/sample/test/TestRange.cs 2020-07-05 09:07:25.112932811 -0700 +@@ -10,6 +10,10 @@ + + using Gtk; + ++// disambiguate, Gtk.Range vs System.Range ++using Range=Gtk.Range; ++ ++ + namespace WidgetViewer { + + public class TestRange diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild index 9d011d0f9f4..91c76012d1d 100644 --- a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild +++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild @@ -35,6 +35,10 @@ DEPEND="${RDEPEND} virtual/pkgconfig sys-devel/automake:1.11" +PATCHES=( + "${FILESDIR}/${PN}-2.12.21-mono-ambiguous-range.patch" +) + src_prepare() { base_src_prepare eautoreconf