Skip site navigation (1)Skip section navigation (2)
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:   ports/187130: Unbreak relative paths for xbuild
Message-ID:  <201402280734.s1S7YqK5052242@medusa.sysfault.org>
Resent-Message-ID: <201402280750.s1S7o03u038495@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187130
>Category:       ports
>Synopsis:       Unbreak relative paths for xbuild
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 28 07:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Marcus von Appen
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280734.s1S7YqK5052242>