]> git.pld-linux.org Git - packages/mono.git/commitdiff
- added mdoc patch (backport from git, should fix Gendarme docs build) auto/th/mono-3.2.5-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 11 Jan 2014 06:55:12 +0000 (07:55 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 11 Jan 2014 06:55:12 +0000 (07:55 +0100)
- release 2

mono-mdoc.patch [new file with mode: 0644]
mono.spec

diff --git a/mono-mdoc.patch b/mono-mdoc.patch
new file mode 100644 (file)
index 0000000..7ee7795
--- /dev/null
@@ -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")))
index c33481a4ba1dedd449de0098edda706ac3afd19e..8a77a307518b060aa6185e425f036ea619d48c86 100644 (file)
--- 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'
This page took 0.041335 seconds and 4 git commands to generate.