summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2007-02-24 06:39:55 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2007-02-24 06:39:55 +0000
commit7d6f581795c939153bf79ee1f5223b3e915a443c (patch)
tree58bd9730d0a3a4a37a5abe545487820cac623ab0 /dev-dotnet
parentVersion bump. (diff)
downloadgentoo-2-7d6f581795c939153bf79ee1f5223b3e915a443c.tar.gz
gentoo-2-7d6f581795c939153bf79ee1f5223b3e915a443c.tar.bz2
gentoo-2-7d6f581795c939153bf79ee1f5223b3e915a443c.zip
fix for current mono builds
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/nant/ChangeLog6
-rw-r--r--dev-dotnet/nant/files/nant-0.85-obselencense.patch12
-rw-r--r--dev-dotnet/nant/nant-0.85.ebuild7
3 files changed, 22 insertions, 3 deletions
diff --git a/dev-dotnet/nant/ChangeLog b/dev-dotnet/nant/ChangeLog
index b49c0effb9d7..cc0267ad57b0 100644
--- a/dev-dotnet/nant/ChangeLog
+++ b/dev-dotnet/nant/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-dotnet/nant
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.11 2007/02/21 23:10:15 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.12 2007/02/24 06:39:55 compnerd Exp $
+
+ 24 Feb 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ +files/nant-0.85-obselencense.patch, nant-0.85.ebuild:
+ Fix for current mono releases
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-dotnet/nant/files/nant-0.85-obselencense.patch b/dev-dotnet/nant/files/nant-0.85-obselencense.patch
new file mode 100644
index 000000000000..5d326a79d376
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.85-obselencense.patch
@@ -0,0 +1,12 @@
+--- 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
+@@ -400,7 +400,9 @@
+ #region Protected Instance Methods
+
+ /// <summary><note>Deprecated (to be deleted).</note></summary>
++#if !MONO
+ [Obsolete("Deprecated- Use InitializeTask instead")]
++#endif
+ protected override void InitializeElement(XmlNode elementNode) {
+ // Just defer for now so that everything just works
+ InitializeTask(elementNode);
diff --git a/dev-dotnet/nant/nant-0.85.ebuild b/dev-dotnet/nant/nant-0.85.ebuild
index daeed85c8439..e534d300062e 100644
--- a/dev-dotnet/nant/nant-0.85.ebuild
+++ b/dev-dotnet/nant/nant-0.85.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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.3 2006/12/18 21:31:01 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.85.ebuild,v 1.4 2007/02/24 06:39:55 compnerd Exp $
inherit mono eutils
@@ -31,6 +31,9 @@ src_unpack() {
# Build against the .NET 2.0 Framework, as it is backwards compatible
sed -i -e "s/-f:NAnt.build/-t:mono-2.0 -f:NAnt.build/" \
${S}/Makefile || die "sed failed"
+
+ # Patch to allow building on current mono releases
+ epatch ${FILESDIR}/${PN}-0.85-obselencense.patch
}
src_compile() {