unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob f73c51d92f560b5c4dc7347b35b4b1430ae023d5 3076 bytes (raw)
name: gnu/packages/patches/mono-5.8.0-patches.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
 
diff --git a/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs b/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs
index 0cc69e47648..51ded713ba6 100644
--- a/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs
+++ b/mcs/class/System/Mono.AppleTls/AppleTlsContext.cs
@@ -775,7 +775,7 @@ namespace Mono.AppleTls
 		[DllImport (SecurityLibrary)]
 		extern unsafe static /* OSStatus */ SslStatus SSLRead (/* SSLContextRef */ IntPtr context, /* const void* */ byte* data, /* size_t */ IntPtr dataLength, /* size_t* */ out IntPtr processed);
 
-		public override unsafe (int ret, bool wantMore) Read (byte[] buffer, int offset, int count)
+		public override unsafe System.ValueTuple<int, bool> Read (byte[] buffer, int offset, int count)
 		{
 			if (Interlocked.Exchange (ref pendingIO, 1) == 1)
 				throw new InvalidOperationException ();
@@ -816,7 +816,7 @@ namespace Mono.AppleTls
 		[DllImport (SecurityLibrary)]
 		extern unsafe static /* OSStatus */ SslStatus SSLWrite (/* SSLContextRef */ IntPtr context, /* const void* */ byte* data, /* size_t */ IntPtr dataLength, /* size_t* */ out IntPtr processed);
 
-		public override unsafe (int ret, bool wantMore) Write (byte[] buffer, int offset, int count)
+		public override unsafe System.ValueTuple<int, bool> Write (byte[] buffer, int offset, int count)
 		{
 			if (Interlocked.Exchange (ref pendingIO, 1) == 1)
 				throw new InvalidOperationException ();
diff --git a/mcs/class/System/Mono.Btls/MonoBtlsContext.cs b/mcs/class/System/Mono.Btls/MonoBtlsContext.cs
index 559db4aca5d..b70239c5163 100644
--- a/mcs/class/System/Mono.Btls/MonoBtlsContext.cs
+++ b/mcs/class/System/Mono.Btls/MonoBtlsContext.cs
@@ -300,7 +300,7 @@ namespace Mono.Btls
 			throw new NotImplementedException ();
 		}
 
-		public override (int ret, bool wantMore) Read (byte[] buffer, int offset, int size)
+		public override System.ValueTuple<int, bool> Read (byte[] buffer, int offset, int size)
 		{
 			Debug ("Read: {0} {1} {2}", buffer.Length, offset, size);
 
@@ -329,7 +329,7 @@ namespace Mono.Btls
 			}
 		}
 
-		public override (int ret, bool wantMore) Write (byte[] buffer, int offset, int size)
+		public override System.ValueTuple<int, bool> Write (byte[] buffer, int offset, int size)
 		{
 			Debug ("Write: {0} {1} {2}", buffer.Length, offset, size);
 
diff --git a/mcs/class/System/Mono.Net.Security/MobileTlsContext.cs b/mcs/class/System/Mono.Net.Security/MobileTlsContext.cs
index 74410976a85..46f0eb59b9c 100644
--- a/mcs/class/System/Mono.Net.Security/MobileTlsContext.cs
+++ b/mcs/class/System/Mono.Net.Security/MobileTlsContext.cs
@@ -165,9 +165,9 @@ namespace Mono.Net.Security
 
 		public abstract void Flush ();
 
-		public abstract (int ret, bool wantMore) Read (byte[] buffer, int offset, int count);
+		public abstract System.ValueTuple<int, bool> Read (byte[] buffer, int offset, int count);
 
-		public abstract (int ret, bool wantMore) Write (byte[] buffer, int offset, int count);
+		public abstract System.ValueTuple<int, bool> Write (byte[] buffer, int offset, int count);
 
 		public abstract void Shutdown ();
 

debug log:

solving f73c51d92f ...
found f73c51d92f in https://yhetil.org/guix-patches/iMoekcfwEfCp2uLTWzr-P2_OVyzTF-420AoXae5W6GK2kP5NvueOXBRzAIJBRN2U0c7Sl0HUzUy8eKWNuTs2uaiapCUkJUo5Ng9ahfsfGZ8=@proton.me/

applying [1/1] https://yhetil.org/guix-patches/iMoekcfwEfCp2uLTWzr-P2_OVyzTF-420AoXae5W6GK2kP5NvueOXBRzAIJBRN2U0c7Sl0HUzUy8eKWNuTs2uaiapCUkJUo5Ng9ahfsfGZ8=@proton.me/
diff --git a/gnu/packages/patches/mono-5.8.0-patches.patch b/gnu/packages/patches/mono-5.8.0-patches.patch
new file mode 100644
index 0000000000..f73c51d92f

1:12: space before tab in indent.
 		[DllImport (SecurityLibrary)]
1:13: space before tab in indent.
 		extern unsafe static /* OSStatus */ SslStatus SSLRead (/* SSLContextRef */ IntPtr context, /* const void* */ byte* data, /* size_t */ IntPtr dataLength, /* size_t* */ out IntPtr processed);
1:14: trailing whitespace.
 
1:17: space before tab in indent.
 		{
1:18: space before tab in indent.
 			if (Interlocked.Exchange (ref pendingIO, 1) == 1)
Checking patch gnu/packages/patches/mono-5.8.0-patches.patch...
Applied patch gnu/packages/patches/mono-5.8.0-patches.patch cleanly.
warning: squelched 27 whitespace errors
warning: 32 lines add whitespace errors.

index at:
100644 f73c51d92f560b5c4dc7347b35b4b1430ae023d5	gnu/packages/patches/mono-5.8.0-patches.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).