From owner-freebsd-mono@FreeBSD.ORG Fri Feb 28 07:44:35 2014 Return-Path: Delivered-To: mono@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 777F4857; Fri, 28 Feb 2014 07:44:35 +0000 (UTC) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36BDA1B05; Fri, 28 Feb 2014 07:44:34 +0000 (UTC) Received: from [89.182.180.110] (helo=medusa.sysfault.org) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1WJHy9-00018D-Bo; Fri, 28 Feb 2014 08:34:53 +0100 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WJHy8-000Dad-Ma; Fri, 28 Feb 2014 08:34:52 +0100 Received: (from marcus@localhost) by medusa.sysfault.org (8.14.7/8.14.7/Submit) id s1S7YqK5052242; Fri, 28 Feb 2014 08:34:52 +0100 (CET) (envelope-from marcus) Date: Fri, 28 Feb 2014 08:34:52 +0100 (CET) Message-Id: <201402280734.s1S7YqK5052242@medusa.sysfault.org> To: FreeBSD-gnats-submit@freebsd.org Subject: Unbreak relative paths for xbuild From: Marcus von Appen X-send-pr-version: 3.114 X-GNATS-Notify: X-Df-Sender: OTM2OTM0 Cc: mono@FreeBSD.org X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Marcus von Appen List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 07:44:35 -0000 >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 ---