diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-04-03 21:09:19 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-04-03 21:09:19 -0400 |
commit | c9ce43617c821f90c6f1bc0e1ab5fe0aa4d3b0d6 (patch) | |
tree | 75c7d4ac470f2c8744dd9ec1fe77b0c90d6eeee8 /dev-lang/mono/files | |
parent | da1ab50ce917ab4b45f13b877f334680b724576d (diff) | |
download | gentoo-overlay-c9ce43617c821f90c6f1bc0e1ab5fe0aa4d3b0d6.tar.xz gentoo-overlay-c9ce43617c821f90c6f1bc0e1ab5fe0aa4d3b0d6.zip |
dev-lang/mono: drop
Diffstat (limited to 'dev-lang/mono/files')
-rw-r--r-- | dev-lang/mono/files/mono-5.12-try-catch.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-lang/mono/files/mono-5.12-try-catch.patch b/dev-lang/mono/files/mono-5.12-try-catch.patch deleted file mode 100644 index 051c72b..0000000 --- a/dev-lang/mono/files/mono-5.12-try-catch.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -ur mono-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs mono-patched-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs ---- mono-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs 2017-11-17 18:12:57.000000000 +0300 -+++ mono-patched-5.9.0.398/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs 2017-12-06 06:24:45.067519852 +0300 -@@ -2810,14 +2810,21 @@ - - internal override object ClipboardRetrieve(IntPtr handle, int type, XplatUI.ClipboardToObject converter) - { -- XConvertSelection(DisplayHandle, handle, (IntPtr)type, (IntPtr)type, FosterParent, IntPtr.Zero); -+ try -+ { -+ XConvertSelection(DisplayHandle, handle, (IntPtr)type, (IntPtr)type, FosterParent, IntPtr.Zero); - -- Clipboard.Retrieving = true; -- while (Clipboard.Retrieving) { -- UpdateMessageQueue(null, false); -- } -+ Clipboard.Retrieving = true; -+ while (Clipboard.Retrieving) { -+ UpdateMessageQueue(null, false); -+ } - -- return Clipboard.Item; -+ return Clipboard.Item; -+ } -+ catch (Exception ex) -+ { -+ return null; -+ } - } - - internal override void ClipboardStore (IntPtr handle, object obj, int type, XplatUI.ObjectToClipboard converter, bool copy) |