Unbreak relative paths for xbuild
PR: ports/187130 Submitted by: mva
This commit is contained in:
parent
b78025f085
commit
c0981d276a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347977
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= mono
|
||||
PORTVERSION= 3.2.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/
|
||||
|
||||
|
|
|
@ -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:"
|
Loading…
Reference in a new issue