[packages/mono] - added mdoc patch (backport from git, should fix Gendarme docs build) - release 2
qboosh
qboosh at pld-linux.org
Sat Jan 11 07:54:25 CET 2014
commit 682e8c2702f6162b99919f6da36f349c5a8d19a9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jan 11 07:55:12 2014 +0100
- added mdoc patch (backport from git, should fix Gendarme docs build)
- release 2
mono-mdoc.patch | 12 ++++++++++++
mono.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/mono.spec b/mono.spec
index c33481a..8a77a30 100644
--- a/mono.spec
+++ b/mono.spec
@@ -19,7 +19,7 @@ Summary: Common Language Infrastructure implementation
Summary(pl.UTF-8): Implementacja Common Language Infrastructure
Name: mono
Version: 3.2.5
-Release: 1
+Release: 2
License: LGPL v2 (VM), MIT X11/GPL v2 (C# compilers), MIT X11 (classes, tools), GPL v2 (tools)
Group: Development/Languages
# latest downloads summary at http://download.mono-project.com/sources-stable/
@@ -34,6 +34,7 @@ Patch6: %{name}-ARG_MAX.patch
Patch7: %{name}-fix-null-requirement.patch
Patch8: %{name}-docs-build.patch
Patch9: %{name}-format-security.patch
+Patch10: %{name}-mdoc.patch
URL: http://www.mono-project.com/
%if %(test -r /dev/random; echo $?)
BuildRequires: ACCESSIBLE_/dev/random
@@ -230,6 +231,7 @@ oraz dotGNU.
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
# for jay
cat >> mcs/build/config-default.make <<'EOF'
diff --git a/mono-mdoc.patch b/mono-mdoc.patch
new file mode 100644
index 0000000..7ee7795
--- /dev/null
+++ b/mono-mdoc.patch
@@ -0,0 +1,12 @@
+From commit ba222d4eb939ef097dd2b77b1fea5c3b8a60b310:
+[monodoc] Ensure we don't try to use <Parameters> when it might be null. Fixes Gendarme doc generation.
+--- mono-3.2.5/mcs/class/monodoc/Monodoc/providers/EcmaDoc.cs.orig 2014-01-10 22:50:32.232754015 +0100
++++ mono-3.2.5/mcs/class/monodoc/Monodoc/providers/EcmaDoc.cs 2014-01-10 22:49:58.674597265 +0100
+@@ -551,6 +551,7 @@
+ break;
+ // binary operators: overloading is possible [ECMA-335 §10.3.2]
+ default:
++ if (member.Element ("Parameters") != null)
+ memberSignature =
+ nicename + "("
+ + string.Join (",", member.Element ("Parameters").Elements ("Parameter").Select (p => (string)p.Attribute ("Type")))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mono.git/commitdiff/682e8c2702f6162b99919f6da36f349c5a8d19a9
More information about the pld-cvs-commit
mailing list