Skip to content

Commit

Permalink
dev-dotnet/gtk-sharp: fix build
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Jul 18, 2020
1 parent f327271 commit b28d37b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b28d37b

Please sign in to comment.