add a patch so that the documentation for asmx is displayed again

fixing upstream bug #37137
This commit is contained in:
Timotheus Pokorra 2016-02-09 10:22:48 +01:00
parent 01adafd580
commit 5d9ae82a1d
2 changed files with 34 additions and 2 deletions

30
mono-4.2.2-asmx.patch Normal file
View File

@ -0,0 +1,30 @@
From 054efb814f0498927d8046fc015a4926968d51b1 Mon Sep 17 00:00:00 2001
From: Timotheus Pokorra <timotheus.pokorra@gmail.com>
Date: Mon, 8 Feb 2016 21:55:36 +0100
Subject: [PATCH] fixing display of asmx help page (#37137)
if MONO_BROKEN_CONFIGURATION_DLL is defined, make sure that actualPath always gets set
---
.../System/Web/Services/Configuration/WsdlHelpGeneratorElement.cs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/System.Web.Services/System/Web/Services/Configuration/WsdlHelpGeneratorElement.cs b/System.Web.Services/System/Web/Services/Configuration/WsdlHelpGeneratorElement.cs
index c1e6007..e03a305 100644
--- a/external/referencesource/System.Web.Services/System/Web/Services/Configuration/WsdlHelpGeneratorElement.cs
+++ b/external/referencesource/System.Web.Services/System/Web/Services/Configuration/WsdlHelpGeneratorElement.cs
@@ -75,6 +75,7 @@ protected override void DeserializeElement(XmlReader reader, bool serializeColle
try {
var hack = this.EvaluationContext;
} catch (ConfigurationErrorsException) {
+ this.actualPath = GetConfigurationDirectory();
return;
}
#endif
@@ -127,6 +128,7 @@ protected override void Reset(ConfigurationElement parentElement)
var hack = this.EvaluationContext;
} catch (ConfigurationErrorsException) {
base.Reset(parentElement);
+ this.actualPath = GetConfigurationDirectory();
return;
}
#endif

View File

@ -34,6 +34,7 @@ Patch1: mono-4.2.0-tlab_next_addr_offset.patch
Patch2: mono-4.0.0-libgdiplusconfig.patch
Patch3: mono-4.2.1-ppc.patch
Patch4: mono-4.2.1-s390.patch
Patch5: mono-4.2.2-asmx.patch
BuildRequires: bison
BuildRequires: gcc-c++
@ -274,6 +275,7 @@ Development file for monodoc
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
# Add undeclared Arg
sed -i "61a #define ARG_MAX _POSIX_ARG_MAX" mono/io-layer/wapi_glob.h
@ -747,8 +749,8 @@ mkdir -p %{buildroot}%{_datadir}/gdb/auto-load%{_bindir}
%{_libdir}/pkgconfig/monodoc.pc
%changelog
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Feb 09 2016 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 4.2.2-2
- add a patch so that the documentation for asmx is displayed again; fixing upstream bug #37137
* Fri Jan 29 2016 Claudio Rodrigo Pereyra Diaz <elsupergomez@fedoraproject.org> - 4.2.2-1
- Update to 4.2.2.30 Cycle 6 Service Release 1