ports/187130: Unbreak relative paths for xbuild

Marcus von Appen mva at FreeBSD.org
Fri Feb 28 07:50:00 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list