summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2008-06-01 11:21:09 +0000
committerJurek Bartuszek <jurek@gentoo.org>2008-06-01 11:21:09 +0000
commit7da5b3aa51456dd385bde2c59f55de82ed077473 (patch)
tree8f86ff1035021b7b9b5598c4514e900e7e928c9e /dev-dotnet
parentAdded ~ppc wrt bug 218794 (diff)
downloadgentoo-2-7da5b3aa51456dd385bde2c59f55de82ed077473.tar.gz
gentoo-2-7da5b3aa51456dd385bde2c59f55de82ed077473.tar.bz2
gentoo-2-7da5b3aa51456dd385bde2c59f55de82ed077473.zip
dev-dotnet/nant: Fixed mono-1.9 compatibility issues - removed usage of deprecated method (bug #218613)
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/nant/ChangeLog7
-rw-r--r--dev-dotnet/nant/files/nant-0.85-obselencense.patch17
-rw-r--r--dev-dotnet/nant/nant-0.85.ebuild4
3 files changed, 23 insertions, 5 deletions
diff --git a/dev-dotnet/nant/ChangeLog b/dev-dotnet/nant/ChangeLog
index 0da771f4f7f4..557e38004b2d 100644
--- a/dev-dotnet/nant/ChangeLog
+++ b/dev-dotnet/nant/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-dotnet/nant
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.19 2008/05/30 23:05:34 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.20 2008/06/01 11:21:09 jurek Exp $
+
+ 01 Jun 2008; Jurek Bartuszek <jurek@gentoo.org>
+ files/nant-0.85-obselencense.patch, nant-0.85.ebuild:
+ Fixed mono-1.9 compatibility issues - removed usage of deprecated method
+ (bug #218613)
30 May 2008; Jurek Bartuszek <jurek@gentoo.org> nant-0.85.ebuild:
Added dev-util/pkgconfig dependency (bug #216416)
diff --git a/dev-dotnet/nant/files/nant-0.85-obselencense.patch b/dev-dotnet/nant/files/nant-0.85-obselencense.patch
index 5d326a79d376..8e42dab5a058 100644
--- a/dev-dotnet/nant/files/nant-0.85-obselencense.patch
+++ b/dev-dotnet/nant/files/nant-0.85-obselencense.patch
@@ -1,5 +1,6 @@
---- src/NAnt.Core/Task.cs.orig 2007-02-24 00:08:34.000000000 -0600
-+++ src/NAnt.Core/Task.cs 2007-02-24 00:08:45.000000000 -0600
+diff -Naur nant-0.85_a/src/NAnt.Core/Task.cs nant-0.85_b/src/NAnt.Core/Task.cs
+--- nant-0.85_a/src/NAnt.Core/Task.cs 2005-10-21 19:13:06.000000000 +0200
++++ nant-0.85_b/src/NAnt.Core/Task.cs 2008-04-20 18:27:02.000000000 +0200
@@ -400,7 +400,9 @@
#region Protected Instance Methods
@@ -10,3 +11,15 @@
protected override void InitializeElement(XmlNode elementNode) {
// Just defer for now so that everything just works
InitializeTask(elementNode);
+diff -Naur nant-0.85_a/src/NAnt.DotNet/Tasks/ScriptTask.cs nant-0.85_b/src/NAnt.DotNet/Tasks/ScriptTask.cs
+--- nant-0.85_a/src/NAnt.DotNet/Tasks/ScriptTask.cs 2006-09-13 18:31:26.000000000 +0200
++++ nant-0.85_b/src/NAnt.DotNet/Tasks/ScriptTask.cs 2008-04-20 18:25:39.000000000 +0200
+@@ -516,7 +516,7 @@
+ #region Private Static Methods
+
+ private static CodeDomProvider CreateCodeDomProvider(string typeName, string assemblyName) {
+- Assembly providerAssembly = Assembly.LoadWithPartialName(assemblyName);
++ Assembly providerAssembly = Assembly.Load(assemblyName);
+ if (providerAssembly == null) {
+ throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
+ ResourceUtils.GetString("NA2037"), assemblyName));
diff --git a/dev-dotnet/nant/nant-0.85.ebuild b/dev-dotnet/nant/nant-0.85.ebuild
index a26ac299f9f0..9d96741b6635 100644
--- a/dev-dotnet/nant/nant-0.85.ebuild
+++ b/dev-dotnet/nant/nant-0.85.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.85.ebuild,v 1.9 2008/05/30 23:05:34 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.85.ebuild,v 1.10 2008/06/01 11:21:09 jurek Exp $
inherit mono eutils
@@ -37,7 +37,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-threadingfix.patch
# Patch to allow building on current mono releases
- epatch "${FILESDIR}"/${PN}-0.85-obselencense.patch
+ epatch "${FILESDIR}"/${P}-obselencense.patch
}
src_compile() {