public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Heather Cynede" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-lang/mono/files/, dev-lang/mono/
Date: Thu, 10 Dec 2015 07:44:56 +0000 (UTC)	[thread overview]
Message-ID: <1448972131.6204c7bc4c99e7d9c873c199132492e23a7fdabf.cynede@gentoo> (raw)

commit:     6204c7bc4c99e7d9c873c199132492e23a7fdabf
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Tue Dec  1 07:50:18 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 12:15:31 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=6204c7bc

add patch for GitExtensions issue 2710

 dev-lang/mono/files/2710.patch        | 28 ++++++++++++++++++++++++++++
 dev-lang/mono/mono-4.2.1.60-r1.ebuild |  1 +
 2 files changed, 29 insertions(+)

diff --git a/dev-lang/mono/files/2710.patch b/dev-lang/mono/files/2710.patch
new file mode 100644
index 0000000..3d60923
--- /dev/null
+++ b/dev-lang/mono/files/2710.patch
@@ -0,0 +1,28 @@
+diff --git a/mcs/class/System/System.Configuration/SettingsPropertyValue.cs b/mcs/class/System/System.Configuration/SettingsPropertyValue.cs
+index 9bf62c0..9f026461 100644
+--- a/mcs/class/System/System.Configuration/SettingsPropertyValue.cs
++++ b/mcs/class/System/System.Configuration/SettingsPropertyValue.cs
+@@ -118,11 +118,18 @@ namespace System.Configuration
+ #if (XML_DEP)
+ 					case SettingsSerializeAs.Xml:
+ 						if (propertyValue != null) {
+-							XmlSerializer serializer = new XmlSerializer (propertyValue.GetType ());
+-							StringWriter w = new StringWriter(CultureInfo.InvariantCulture);
+-	
+-							serializer.Serialize (w, propertyValue);
+-							serializedValue = w.ToString();
++							using (StringWriter w = new StringWriter(CultureInfo.InvariantCulture))
++							{
++								var xmlSettings = new XmlWriterSettings();
++								xmlSettings.OmitXmlDeclaration = true;
++								using (var writer = XmlWriter.Create(w, xmlSettings))
++								{
++									XmlSerializer serializer = new XmlSerializer(propertyValue.GetType ());
++									var emptyNamespaces = new XmlSerializerNamespaces(new[] { XmlQualifiedName.Empty });
++									serializer.Serialize(writer, propertyValue, emptyNamespaces);
++								} // writer.Flush happens here
++								serializedValue = w.ToString();
++							}
+ 						}
+ 						else
+ 							serializedValue = null;

diff --git a/dev-lang/mono/mono-4.2.1.60-r1.ebuild b/dev-lang/mono/mono-4.2.1.60-r1.ebuild
index db52e5c..a85802d 100644
--- a/dev-lang/mono/mono-4.2.1.60-r1.ebuild
+++ b/dev-lang/mono/mono-4.2.1.60-r1.ebuild
@@ -78,6 +78,7 @@ src_prepare() {
 	autotools-utils_src_prepare
 
 	epatch "${FILESDIR}/systemweb3.patch"
+	epatch "${FILESDIR}/2710.patch"
 }
 
 src_configure() {


             reply	other threads:[~2015-12-10  7:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10  7:44 Heather Cynede [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-06 10:36 [gentoo-commits] proj/dotnet:master commit in: dev-lang/mono/files/, dev-lang/mono/ Mikhail Pukhlikov
2015-12-28  7:54 Heather Cynede
2015-12-10  7:44 Heather Cynede
2015-08-01 13:21 Heather Cynede
2015-07-20 12:56 Heather Cynede
2015-07-20 12:56 Heather Cynede
2015-05-21 17:43 Heather Cynede
2015-03-23  3:56 Heather Cynede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448972131.6204c7bc4c99e7d9c873c199132492e23a7fdabf.cynede@gentoo \
    --to=cynede@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox