[Pkg-mono-svn-commits] rev 2484 - non-group/nunit/branches/2.2/debian/patches

Jelmer Vernooij ctrlsoft-guest at costa.debian.org
Tue Apr 25 22:38:52 UTC 2006


Author: ctrlsoft-guest
Date: 2006-04-25 22:38:44 +0000 (Tue, 25 Apr 2006)
New Revision: 2484

Added:
   non-group/nunit/branches/2.2/debian/patches/02_sign_nunit_util.dpatch
Modified:
   non-group/nunit/branches/2.2/debian/patches/00list
Log:
Add the actual patch that fixes the signing...


Modified: non-group/nunit/branches/2.2/debian/patches/00list
===================================================================
--- non-group/nunit/branches/2.2/debian/patches/00list	2006-04-25 22:31:02 UTC (rev 2483)
+++ non-group/nunit/branches/2.2/debian/patches/00list	2006-04-25 22:38:44 UTC (rev 2484)
@@ -1 +1,2 @@
 01_dir_seperator.dpatch
+02_sign_nunit_util.dpatch

Added: non-group/nunit/branches/2.2/debian/patches/02_sign_nunit_util.dpatch
===================================================================
--- non-group/nunit/branches/2.2/debian/patches/02_sign_nunit_util.dpatch	2006-04-25 22:31:02 UTC (rev 2483)
+++ non-group/nunit/branches/2.2/debian/patches/02_sign_nunit_util.dpatch	2006-04-25 22:38:44 UTC (rev 2484)
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_sign_nunit_util.dpatch by  <jelmer at samba.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix dir seperator for POSIX
+
+ at DPATCH@
+
+--- nunit2.2-2.2.0/util/AssemblyInfo.cs	2004-08-06 18:35:12.000000000 +0200
++++ nunit2.2-2.2.0-new/util/AssemblyInfo.cs	2006-04-26 00:34:28.000000000 +0200
+@@ -82,6 +82,9 @@
+ //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
+ //       documentation for more information on this.
+ //
++#if !StronglyNamedAssembly
+ [assembly: AssemblyDelaySign(false)]
+-[assembly: AssemblyKeyFile("")]
++#else
++[assembly: AssemblyKeyFile("../../../nunit.key")]
+ [assembly: AssemblyKeyName("")]
++#endif
+--- nunit2.2-2.2.0/util/nunit.util.build	2004-07-19 15:23:06.000000000 +0200
++++ nunit2.2-2.2.0-new/util/nunit.util.build	2006-04-26 00:34:50.000000000 +0200
+@@ -12,7 +12,7 @@
+ 
+     <target name="build" depends="copy">
+         <csc target="library" output="${bin.dir}/nunit.util.dll"
+-                debug="${build.debug}" define="${build.defines.csc}">
++                debug="${build.debug}" define="${build.defines.csc},StronglyNamedAssembly">
+             <sources basedir="${src.dir}/util">
+                 <include name="**/*.cs"/>
+             </sources>


Property changes on: non-group/nunit/branches/2.2/debian/patches/02_sign_nunit_util.dpatch
___________________________________________________________________
Name: svn:executable
   + *




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