commit:     f74eb2044f59e2d83967582a7f59b638c4b1d8f7
Author:     layman <layman <AT> localhost>
AuthorDate: Fri Jul 17 09:49:11 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 09:49:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=f74eb204

some fixes was moved into upstream

 dev-lang/mono/files/systemweb2.patch | 65 ++++++++++++++++++++++++++++++++++++
 dev-lang/mono/mono-9999.ebuild       |  2 +-
 2 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/dev-lang/mono/files/systemweb2.patch 
b/dev-lang/mono/files/systemweb2.patch
new file mode 100644
index 0000000..188162f
--- /dev/null
+++ b/dev-lang/mono/files/systemweb2.patch
@@ -0,0 +1,65 @@
+From 65bd3eea445ee926e85050c848027bb341a1b2dc Mon Sep 17 00:00:00 2001
+From: Chris F Carroll <[email protected]>
+Date: Mon, 20 Jan 2014 21:39:12 +0000
+Subject: [PATCH] Added missing properties for net 4.5:
+ System.Web.RouteCollection.AppendTrailingSlash and .LowercaseUrl, and
+ RouteBase.RouteExistingFiles
+
+---
+ .../System.Web.Routing/RouteBase.cs                |  3 +++
+ .../System.Web.Routing/RouteCollection.cs          |  4 ++++
+ .../Test/System.Web.Routing/RouteCollectionTest.cs | 22 +++++++++++++++++++++-
+ .../Test/System.Web.Routing/RouteTest.cs           | 12 ++++++++++++
+ 4 files changed, 40 insertions(+), 1 deletion(-)
+
+diff --git a/mcs/class/System.Web.Routing/System.Web.Routing/RouteBase.cs 
b/mcs/class/System.Web.Routing/System.Web.Routing/RouteBase.cs
+index 077f987..eadc047 100644
+--- a/mcs/class/System.Web.Routing/System.Web.Routing/RouteBase.cs
++++ b/mcs/class/System.Web.Routing/System.Web.Routing/RouteBase.cs
+@@ -41,6 +41,9 @@ namespace System.Web.Routing
+       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = 
AspNetHostingPermissionLevel.Minimal)]
+       public abstract class RouteBase
+       {
++#if NET_4_5
++              public bool RouteExistingFiles { get; set; }
++#endif
+               public abstract RouteData GetRouteData (HttpContextBase 
httpContext);
+               public abstract VirtualPathData GetVirtualPath (RequestContext 
requestContext, RouteValueDictionary values);
+       }
+diff --git 
a/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteCollectionTest.cs 
b/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteCollectionTest.cs
+index 18b52ea..cd1a12f 100644
+--- 
a/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteCollectionTest.cs
++++ 
b/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteCollectionTest.cs
+@@ -595,7 +595,6 @@ namespace MonoTests.System.Web.Routing
+               }
+ 
+               [Test]
+-              [Ignore ("looks like RouteExistingFiles ( = false) does not 
affect... so this test needs more investigation")]
+               public void GetVirtualPathToExistingFile ()
+               {
+                       var c = new RouteCollection ();
+diff --git a/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteTest.cs 
b/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteTest.cs
+index e431177..f7a5988 100644
+--- a/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteTest.cs
++++ b/mcs/class/System.Web.Routing/Test/System.Web.Routing/RouteTest.cs
+@@ -1775,5 +1775,17 @@ namespace MonoTests.System.Web.Routing
+                               "#6"
+                       );
+               }
++
++#if NET_4_5
++              [Test]
++              public void RouteExistingFiles ()
++              {
++                      var route = new Route ("foo", null);
++                      route.RouteExistingFiles = true;
++                      Assert.IsTrue (route.RouteExistingFiles);
++                      route.RouteExistingFiles = false;
++                      Assert.IsFalse (route.RouteExistingFiles);
++              }
++#endif
+       }
+ }
+-- 
+2.0.5
+

diff --git a/dev-lang/mono/mono-9999.ebuild b/dev-lang/mono/mono-9999.ebuild
index fd34cd2..998979c 100644
--- a/dev-lang/mono/mono-9999.ebuild
+++ b/dev-lang/mono/mono-9999.ebuild
@@ -44,7 +44,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-       epatch "${FILESDIR}/systemweb.patch"
+       epatch "${FILESDIR}/systemweb2.patch"
        cat "${S}/mono/mini/Makefile.am.in" > "${S}/mono/mini/Makefile.am" || 
die
 
        eautoreconf

Reply via email to