From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oOB/J8ZjYGdQgAEAe85BDQ:P1 (envelope-from ) for ; Mon, 16 Dec 2024 17:30:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oOB/J8ZjYGdQgAEAe85BDQ (envelope-from ) for ; Mon, 16 Dec 2024 18:30:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CrrE78py; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Cnk8m79v; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734370246; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YjikGg/6fXCa8j7BFRdVC+FFo8oNH5WmWT8jiICWye8=; b=ItC+QV7WYP8gwKOISY9lPmIqdFIeQq0/10LXR8PIiXBjR2ook66Fv3ksZnu2pCZA5SnTSI O8Z9Ipnqy8i2xrqvmkMQapSfyOnYh/eA1LrcbZBsSgV0iKyZkyp9ofjPAcqyXf5DKm970K 424Zp5eq78k6LsUzmOCqm8d+gVqCn0A1JDNyUdw7A5Ptk8XP/kHfm7bd/pEfUt4tqmE0h5 FDMhNvoI2+eWkftnkUjdhJhtqfXMVUo3wHOCA1semxCGy0DAzk/pjik421HQd2jvR3vlZy VnlJWxl5ZwPSaZDxnhhOdUGGf67wxIBomNKJVl68Aixk/l12Bin0rWV3nuw/zA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734370246; a=rsa-sha256; cv=none; b=dYJNLaOjCbSK4UZxaSVgHntjcQw+Tw+LekxKxjJUoQkMu8RwtNjbGLdyK4mR4Djfqqv5ke H3L1OusRnzZrbMzjoU9hDSJFxFt1/vM62Qj+jHqvOA29NFX7XQWqOoeT97xJD4yDA6JxLX RMYy6mFLsZS7Gdc+E4YSYwWQ6/uqHzg0ctXm3DdtiyLJotxZhDw5+6ppUS6z5iX+lWJCiW 6f632b16s/UqLt48tymBBSXoK3EBIFX4qodrbSOP9uRRiucxDH3xA767Atu5vx2dWqUPZY 4i57k5l64accO8/uVXmdG9Yr34Wxlx4Rb1w4p/AcFOuMytoGbWTU769QD3aFyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CrrE78py; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Cnk8m79v; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3B6D244732 for ; Mon, 16 Dec 2024 18:30:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNEuv-0000xl-9Y; Mon, 16 Dec 2024 12:30:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNEuE-0000QT-Hr for guix-patches@gnu.org; Mon, 16 Dec 2024 12:29:19 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNEuB-0001wr-Rh for guix-patches@gnu.org; Mon, 16 Dec 2024 12:29:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=YjikGg/6fXCa8j7BFRdVC+FFo8oNH5WmWT8jiICWye8=; b=CrrE78py5eLOymfb+YYfLzJci0g3tEji33gQ1d0xfnRjYqgsP3AOIJET5F22br2hku1LJ1iM08kqDroeujBtfoef5WbcI/oiiRIJV7ofd+EwYcDgUUicW9mh+yrep5qZA8WZj9jVJ4hhp3P62gWg0C92ATRACiJ3pct+EqHN+d805pDYbSiRyeE/rGFiS4xFrvpBeOYptn3osnAZHM/WuBzJjAPxhbeyZ/rtFRXRiNJ3kLDOA/GpxL17hbTmqv/xvrxz9k4bNcm0k7NwUeR7FNonvDJwWA9c+QVqG9i5w7Kt6M8lTN7vVTG4noEkSn+DfSIfVGwx1naqfcFol05VHQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNEuB-0006Ma-Hu for guix-patches@gnu.org; Mon, 16 Dec 2024 12:29:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74609] [PATCH 17/21] gnu: Add mono-5.8.0. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Dec 2024 17:29:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74609@debbugs.gnu.org Cc: aaron.covrig.us@ieee.org, ludo@gnu.org, unmush , richard@freakingpenguin.com, unmush@proton.me, janneke@gnu.org Received: via spool by 74609-submit@debbugs.gnu.org id=B74609.173437014724328 (code B ref 74609); Mon, 16 Dec 2024 17:29:15 +0000 Received: (at 74609) by debbugs.gnu.org; 16 Dec 2024 17:29:07 +0000 Received: from localhost ([127.0.0.1]:55882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNEu0-0006Ju-Ls for submit@debbugs.gnu.org; Mon, 16 Dec 2024 12:29:06 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:55616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNEtn-0006Hl-4R for 74609@debbugs.gnu.org; Mon, 16 Dec 2024 12:28:52 -0500 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4361dc6322fso28856445e9.3 for <74609@debbugs.gnu.org>; Mon, 16 Dec 2024 09:28:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734370065; x=1734974865; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=YjikGg/6fXCa8j7BFRdVC+FFo8oNH5WmWT8jiICWye8=; b=Cnk8m79vI+OEYmNP90ty10Tk9FOBvxdTXqpgIy/lwRM3cwW4To1NqqrFNlf5kOAvJV lT/MVi/sm4Md60IG/Jf2ep7UmQuU1VJ5z8dX9Zl0AyMEJJ2kWhgLapO2TpLFKVIxDWWo GT8vJW143udVelKJsaFvUnGy0Pft7uvgW1llLsd1wEMPJZH7M8PI+wai+vBSb2XMZqJ0 ppvp/T7M/rrcE6mw1HKBMH6uD59iuX0eXvWB7i/VG79L4TlKjNMBGKpF1OfUJLESbvsg fwpx5QemDBz9s34WaPb355r5U2Cb9izIITicq6s6dz6i7qzAUNGWozzqGHFr1xV9IAMF S+cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734370065; x=1734974865; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=YjikGg/6fXCa8j7BFRdVC+FFo8oNH5WmWT8jiICWye8=; b=l4xvws1ieA0frqjQ/TSrZ+jv5g+FiomZNda+BP4bkcbMLO12lFMXY0U6EhsoUk/0ab 1DwumAefFxfhLKPJgbUjpaTG0/LOolUsrBVL3+E+JRTTyQ/uLWw9sCYabWMMFaYRXspF dFVLsCd/kucOPOOyj6Bh+1yG7BLoJEiTufpgg4KPYbhZTHYYJGK1SG63VmBeJmpS/hu1 3ATHyDg+p68oid3QQ07vXhj4zguHIzlWE+Eg4ZXGH0djgilehHkhfwDI22+FpZ9alqdo zkrQrX2So/a+1P4JLgyVLOWM9/ghiA2SL0H/pXB+Kfa+4Prj8TKWM03gEVZQTtml2THo c24g== X-Gm-Message-State: AOJu0Ywsc9dGmlRxyy3K0zjSk2vKtS/Lk5r4o7zw3eKhh5DHIJ+7jTtf eyo+sFaT8wWVVaMZ15Dn7fLJXi3aietp3GSPecGSGypadwjqhhd96O5Qw3I6 X-Gm-Gg: ASbGncvVEFEnMhODXSPGOkBysjG/TLEr7t+BUAfe4TVv4DgS9yqwMLA4w0qU+rvu4rt KNV0XaQsoSk0HEMwejxLEy/ZdweExq1Y3PPbGYQyEpCIj/Pan7Iu07Yvk1YZqvJ78xA2bLLYGQc kXV6BrRcAGqK77h2gGUemZGlK4/u7m3XArPhMmqItjmSAjgd54pnBXRRN9wLz0p/MWSe6PKzr0L gYy7425F9eg32cCKCENgS5BSjwcVaPCzT3zwkXKvlhlgiN+41qPjyb05jpyHg== X-Google-Smtp-Source: AGHT+IHmejVFGWF5g8dolBgkX+Vt9RjlIXe9CvBKNGx0k0dJT3sou3DrirJlUpHXCOFRzEpjx2wOqg== X-Received: by 2002:a05:6000:188f:b0:386:5b2:a9d9 with SMTP id ffacd0b85a97d-3888e0c04aemr10585186f8f.53.1734370065281; Mon, 16 Dec 2024 09:27:45 -0800 (PST) Received: from localhost ([31.210.180.118]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-388c8049facsm8867328f8f.79.2024.12.16.09.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 09:27:44 -0800 (PST) From: Efraim Flashner Date: Mon, 16 Dec 2024 19:26:40 +0200 Message-ID: <6bb9968172b788d893ce204e2c8ac9c4a9142b39.1734369314.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.85 X-Spam-Score: -7.85 X-Migadu-Queue-Id: 3B6D244732 X-Migadu-Scanner: mx11.migadu.com X-TUID: hAvlLpxNeuIE From: unmush * gnu/packages/dotnet.scm (mono-5.8.0-external-repo-specs, mono-5.8.0): New variables. * gnu/packages/patches/mono-5.8.0-patches.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register new patch. Change-Id: Iea71bf52d67a182f7543adaba44409dbf6c3c0e2 --- gnu/local.mk | 1 + gnu/packages/dotnet.scm | 123 ++++++++++++++++++ gnu/packages/patches/mono-5.8.0-patches.patch | 60 +++++++++ 3 files changed, 184 insertions(+) create mode 100644 gnu/packages/patches/mono-5.8.0-patches.patch diff --git a/gnu/local.mk b/gnu/local.mk index 788f3bb835a..2b1a6f7c782 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1828,6 +1828,7 @@ dist_patch_DATA = \ %D%/packages/patches/mono-2.11.4-fixes.patch \ %D%/packages/patches/mono-4.9.0-fix-runtimemetadataversion.patch \ %D%/packages/patches/mono-5.4.0-patches.patch \ + %D%/packages/patches/mono-5.8.0-patches.patch \ %D%/packages/patches/mosaicatcher-unbundle-htslib.patch \ %D%/packages/patches/mrrescue-support-love-11.patch \ %D%/packages/patches/mtools-mformat-uninitialized.patch \ diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm index 7799f9b951a..82fc2033707 100644 --- a/gnu/packages/dotnet.scm +++ b/gnu/packages/dotnet.scm @@ -1275,3 +1275,126 @@ (define-public mono-pre-5.8.0 ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (delete 'patch-sub-autogen.sh-shebang)))))))) + +(define mono-5.8.0-external-repo-specs + '(("api-doc-tools" "d03e819838c6241f92f90655cb448cc47c9e8791" + "1riki79f3ig3cxigviss81dz601hn92a1gifglm0mzjbs76sf3fj" + #:recursive? #t) + ("api-snapshot" "6668c80a9499218c0b8cc41f48a9e242587df756" + "0vbwbwa1hr4jlj7283w8bk3v5i8s43h8413r2pkh4hf38b2rks7d") + ("aspnetwebstack" "e77b12e6cc5ed260a98447f609e887337e44e299" + "0rks344qr4fmp3fs1264d2qkmm348m8d1kjd7z4l94iiirwn1fq1") + (("reference-assemblies" "binary-reference-assemblies") + "e048fe4a88d237d105ae02fe0363a68296099362" + "0i87i3x694f4g8s2flflv0ah88blxds7gbiyrwrmscqdjsifhy49") + ("bockbuild" "cb4545409dafe16dfe86c7d8e6548a69c369e2a2" + "0svdfv61d6ppwd4zgki129r9prf75fnsqihna253zfwfpzpingx7") + ("boringssl" "3e0770e18835714708860ba9fe1af04a932971ff" + "139a0gl91a52k2r6na6ialzkqykaj1rk88zjrkaz3sdxx7nmmg6y") + ("cecil" "76ffcdabae660e9586273c9b40db180a0dc8d4c8" + "0f3bsfri28pxmnb0m6074bnmmjgsr7cjixv9fhnp6aimhvy4l5p4") + (("cecil" "cecil-legacy") "33d50b874fd527118bc361d83de3d494e8bb55e1" + "1p4hl1796ib26ykyf5snl6cj0lx0v7mjh0xqhjw6qdh753nsjyhb") + ("corefx" "b965d1f8b5281712c4400ef28ed97670ffd4880d" + "0r9hr0bs3j3agqi2pq4n1km9jfycaqvxf6756y7r5l3ykqsd6wsr") + ("corert" "48dba73801e804e89f00311da99d873f9c550278" + "1zw47jf4cwqmaixylisxi73xf6cap41bwf9vlmpxanzxaqklzsvk") + ("ikdasm" "465c0815558fd43c0110f8d00fc186ac0044ac6a" + "0xir7pcgq04hb7s8g9wsqdrypb6l29raj3iz5rcqzdm0056k75w2") + (("ikvm-fork" "ikvm") "847e05fced5c9a41ff0f24f1f9d40d5a8a5772c1" + "1fl9bm3lmzf8iqv3x4iqkz9fc54mwdvrxisxg2nvwwcsi4saffpi") + ("linker" "c62335c350f3902ff0459112f7efc8b926f4f15d" + "015191sdw9i7vnhlsycv65pw8nnfpkd65k11jw1y9bikb4x3aj8x") + ("Newtonsoft.Json" "471c3e0803a9f40a0acc8aeceb31de6ff93a52c4" + "0dgngd5hqk6yhlg40kabn6qdnknm32zcx9q6bm2w31csnsk5978s") + (("NuGet.BuildTasks" "nuget-buildtasks") + "b2c30bc81b2a7733a4eeb252a55f6b4d50cfc3a1" + "01vajrfx6y12f525xdiwfbn9qzmym2s65rbiqpy9d9xw0pnq7gbl") + (("NUnitLite" "nunit-lite") "764656cdafdb3acd25df8cb52a4e0ea14760fccd" + "0pc7lk3p916is8cn4ngaqvjlmlzv3vvjpyksy4pvb3qb5iiaw0vq") + ;; ("roslyn-binaries" "e484c75e2edd3c3f1870a2468a71a56220cf1f7f" + ;; "") + ("rx" "b29a4b0fda609e0af33ff54ed13652b6ccf0e05e" + "1n1jwhmsbkcv2d806immcpzkb72rz04xy98myw355a8w5ah25yiv") + ;; ("xunit-binaries" "d4433b0972f40cb3efaa3fbba52869bde5df8fa8" + ;; "") + )) + +(define-public mono-5.8.0 + (package + (inherit mono-pre-5.8.0) + (version "5.8.0.129") + (name "mono") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.winehq.org/mono/mono.git") + (commit "mono-5.8.0.129"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0130vd33yzp4w7570qw9xjq2g7b2xmacjbpkmzrpbhy8as5hy4z6")) + (modules '((guix build utils) + (ice-9 string-fun))) + (snippet #~(begin + #$(add-external-repos + mono-5.8.0-external-repo-specs) + #$@prepare-mono-source-0)) + (patches + (search-patches "mono-5.8.0-patches.patch")))) + (native-inputs (modify-inputs (package-native-inputs mono-pre-5.8.0) + (replace "mono" mono-pre-5.8.0))) + (arguments + (substitute-keyword-arguments (package-arguments mono-pre-5.8.0) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (replace 'build-reference-assemblies + ;; More references need updating this time... + (lambda* (#:key make-flags #:allow-other-keys) + (let ((top (getcwd))) + (with-directory-excursion + "external/binary-reference-assemblies" + (substitute* (find-files "." "^Makefile$") + (("CSC_COMMON_ARGS := " all) + (string-append all "-delaysign+ ")) + (("IBM\\.Data\\.DB2_REFS := " all) + (string-append all "System.Xml ")) + (("Mono\\.Data\\.Sqlite_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.Data\\.DataSetExtensions_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.Data\\.OracleClient_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.IdentityModel_REFS := " all) + (string-append all "System.Configuration ")) + (("System\\.Design_REFS := " all) + (string-append all "Accessibility ")) + (("System\\.Web\\.Extensions\\.Design_REFS := " all) + (string-append all "System.Windows.Forms System.Web ")) + (("System\\.ServiceModel\\.Routing_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.Web\\.Abstractions_REFS := " all) + (string-append all "System ")) + (("System\\.Reactive\\.Windows\\.Forms_REFS := " all) + (string-append all "System ")) + (("System\\.Windows\\.Forms\\.DataVisualization_REFS := " all) + (string-append all "Accessibility ")) + (("Facades/System\\.ServiceModel\\.Primitives_REFS := " all) + (string-append all "System.Xml ")) + (("Facades/System\\.Dynamic\\.Runtime_REFS := " all) + (string-append all "System ")) + (("Facades/System\\.Xml\\.XDocument_REFS := " all) + (string-append all "System.Xml ")) + (("Facades/System\\.Runtime\\.Serialization.Xml_REFS := " all) + (string-append all "System.Xml ")) + (("Facades/System\\.Data\\.Common_REFS := " all) + (string-append all "System System.Xml "))) + (apply invoke "make" + (string-append "CSC=MONO_PATH=" + top "/mcs/class/lib/build" + " " + top "/runtime/mono-wrapper" + " " + top "/mcs/class/lib/build/mcs.exe") + make-flags))))))))))) 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 00000000000..f73c51d92f5 --- /dev/null +++ b/gnu/packages/patches/mono-5.8.0-patches.patch @@ -0,0 +1,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 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 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 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 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 Read (byte[] buffer, int offset, int count); + +- public abstract (int ret, bool wantMore) Write (byte[] buffer, int offset, int count); ++ public abstract System.ValueTuple Write (byte[] buffer, int offset, int count); + + public abstract void Shutdown (); + -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted