$OpenBSD: patch-mcs_class_corlib_System_IO_Path_cs,v 1.2 2020/04/06 15:11:11 robert Exp $

fix dealing with double directory separators in relative paths
https://github.com/mono/mono/issues/15407

Index: mcs/class/corlib/System.IO/Path.cs
--- mcs/class/corlib/System.IO/Path.cs.orig
+++ mcs/class/corlib/System.IO/Path.cs
@@ -408,6 +408,7 @@ namespace System.IO {
 						path = cwd + path;
 					else
 						path = cwd + DirectorySeparatorChar + path;					
+					path = path.Replace(@"//", @"/");
 				} else if (DirectorySeparatorChar == '\\' &&
 					path.Length >= 2 &&
 					IsDirectorySeparator (path [0]) &&
