diff mbox series

[1/1] package/mono-gtksharp3: fix build with latest mono

Message ID 20210605211425.2350294-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/mono-gtksharp3: fix build with latest mono | expand

Commit Message

Fabrice Fontaine June 5, 2021, 9:14 p.m. UTC
Fix build failure with latest mono which is raised since commit
4c8a285b6e35c4028341f874760bfa9226ebff94

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0002-Mono-compilation-error-branch.patch  | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch

Comments

Yann E. MORIN June 6, 2021, 7:43 a.m. UTC | #1
Fabrice, All,

On 2021-06-05 23:14 +0200, Fabrice Fontaine spake thusly:
> Fix build failure with latest mono which is raised since commit
> 4c8a285b6e35c4028341f874760bfa9226ebff94
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/ff3edfe406f00a29429d2fa4258af12c87e5fb96
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  .../0002-Mono-compilation-error-branch.patch  | 25 +++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch
> 
> diff --git a/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch b/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch
> new file mode 100644
> index 0000000000..0d52401b4a
> --- /dev/null
> +++ b/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch
> @@ -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 {
> + 
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Peter Korsgaard June 10, 2021, 8:27 p.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

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

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

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2021.02.x, thanks.
diff mbox series

Patch

diff --git a/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch b/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch
new file mode 100644
index 0000000000..0d52401b4a
--- /dev/null
+++ b/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch
@@ -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 {
+