[Pkg-mono-svn-commits] [SCM] mono branch, master, updated. debian/2.4.2.3+dfsg-3-18-gfa8d11f

Mirco Bauer meebey at meebey.net
Sun Dec 13 14:57:15 UTC 2009


The following commit has been merged in the master branch:
commit fa8d11fdda70cea34922ce4d5ef4a5c6f7b7640e
Author: Mirco Bauer <meebey at meebey.net>
Date:   Sun Dec 13 15:56:58 2009 +0100

      * debian/patches/fix_DynamicMethod_restrictedSkipVisibility_r138886.dpatch:
        + Pass restrictedSkipVisibility parameter correctly to the called
          constructor as needed by the DbLinq library. (Closes: #551964)
          (thanks goes to Silviu Paragina for the investigation and the patch)

diff --git a/debian/changelog b/debian/changelog
index c20cda6..db04b6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,8 +44,12 @@ mono (2.4.3+dfsg-1~pre1) UNRELEASED; urgency=medium
       compiler from the chicken-bin package. Most source packages were
       transitioned to use /usr/bin/mono-csc or /usr/bin/cli-csc instead.
       (Closes: #509367, #518106)
+  * debian/patches/fix_DynamicMethod_restrictedSkipVisibility_r138886.dpatch:
+    + Pass restrictedSkipVisibility parameter correctly to the called
+      constructor as needed by the DbLinq library. (Closes: #551964)
+      (thanks goes to Silviu Paragina for the investigation and the patch)
 
- -- Mirco Bauer <meebey at debian.org>  Sun, 13 Dec 2009 15:33:04 +0100
+ -- Mirco Bauer <meebey at debian.org>  Sun, 13 Dec 2009 15:56:14 +0100
 
 mono (2.4.2.3+dfsg-3) unstable; urgency=low
 
diff --git a/debian/patches/fix_DynamicMethod_restrictedSkipVisibility_r138886.dpatch b/debian/patches/fix_DynamicMethod_restrictedSkipVisibility_r138886.dpatch
new file mode 100755
index 0000000..67dba80
--- /dev/null
+++ b/debian/patches/fix_DynamicMethod_restrictedSkipVisibility_r138886.dpatch
@@ -0,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_DynamicMethod_restrictedSkipVisibility_r138886.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad git~/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs git/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs
+--- git~/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs	2009-10-26 21:44:45.000000000 +0100
++++ git/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs	2009-12-13 15:53:46.000000000 +0100
+@@ -92,7 +92,10 @@
+ 		public DynamicMethod (string name, Type returnType, Type[] parameterTypes) : this (name, returnType, parameterTypes, false) {
+ 		}
+ 
+-		public DynamicMethod (string name, Type returnType, Type[] parameterTypes, bool restrictedSkipVisibility) : this (name, MethodAttributes.Public | MethodAttributes.Static, CallingConventions.Standard, returnType, parameterTypes, null, null, false, true) {
++		[MonoTODO ("Visibility is not restricted")]
++		public DynamicMethod (string name, Type returnType, Type[] parameterTypes, bool restrictedSkipVisibility)
++			: this (name, MethodAttributes.Public | MethodAttributes.Static, CallingConventions.Standard, returnType, parameterTypes, null, null, restrictedSkipVisibility, true)
++		{
+ 		}
+ 
+ 		DynamicMethod (string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type [] parameterTypes, Type owner, Module m, bool skipVisibility, bool anonHosted)

-- 
mono



More information about the Pkg-mono-svn-commits mailing list