package/mono-gtksharp3: fix build with latest mono

Fix build failure with latest mono which is raised since commit
4c8a285b6e

Fixes:
 - http://autobuild.buildroot.org/results/ff3edfe406f00a29429d2fa4258af12c87e5fb96

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-06-05 23:14:25 +02:00 committed by Yann E. MORIN
parent 8601137c08
commit 11e8ced584

View File

@ -0,0 +1,25 @@
From fe18352a4bc9f0cf3b6cf63b8cc03c5d6e41863b Mon Sep 17 00:00:00 2001
From: plprevost <plprevost@sii.fr>
Date: Wed, 12 May 2021 16:46:16 +0200
Subject: [PATCH] refs issue:#298 Fix mono compilation errors
[Retrieved from:
https://github.com/mono/gtk-sharp/pull/299/commits/fe18352a4bc9f0cf3b6cf63b8cc03c5d6e41863b]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
sample/test/TestRange.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs
index 82fb81105..8727c9a77 100644
--- a/sample/test/TestRange.cs
+++ b/sample/test/TestRange.cs
@@ -8,7 +8,7 @@
using System;
-using Gtk;
+using Gtk; using Range = Gtk.Range;
namespace WidgetViewer {