Date: Fri, 28 Feb 2014 08:34:52 +0100 (CET) From: Marcus von Appen <mva@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: mono@FreeBSD.org Subject: Unbreak relative paths for xbuild Message-ID: <201402280734.s1S7YqK5052242@medusa.sysfault.org>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users
>Originator: Marcus von Appen
>Organization:
>Confidential: no
>Synopsis: Unbreak relative paths for xbuild
>Severity: non-critical
>Priority: medium
>Category: ports
>Class: sw-bug
>Release: FreeBSD 9.2-STABLE amd64
>Environment:
System: FreeBSD medusa.sysfault.org 9.2-STABLE FreeBSD 9.2-STABLE #14 r260254: Sat Jan 4 14:59:59 CET 2014 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA amd64
>Description:
The update of mono to version 3.2.8 introduced a bug, which breaks
lang/ironpython due to relative paths with wildcards.
The attached patch fixes xbuild to use the correct paths.
A revision bump is necessary.
>How-To-Repeat:
Try to build lang/ironpython
>Fix:
--- mono.diff begins here ---
Index: files/patch-mcs_class_Microsoft.Build.Engine_Microsoft.Build.BuildEngine_DirectoryScanner.cs
===================================================================
--- files/patch-mcs_class_Microsoft.Build.Engine_Microsoft.Build.BuildEngine_DirectoryScanner.cs (revision 0)
+++ files/patch-mcs_class_Microsoft.Build.Engine_Microsoft.Build.BuildEngine_DirectoryScanner.cs (working copy)
@@ -0,0 +1,11 @@
+--- mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs.orig 2014-02-28 08:27:40.000000000 +0100
++++ mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs 2014-02-28 08:28:16.000000000 +0100
+@@ -98,7 +98,7 @@
+ int offset = 0;
+ string full_path;
+ if (Path.IsPathRooted (name)) {
+- full_path = name;
++ full_path = Path.GetFullPath (name);
+ baseDirectory = new DirectoryInfo (Path.GetPathRoot (name));
+ if (IsRunningOnWindows)
+ // skip the "drive:"
Property changes on: files/patch-mcs_class_Microsoft.Build.Engine_Microsoft.Build.BuildEngine_DirectoryScanner.cs
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- mono.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280734.s1S7YqK5052242>
