summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-ak
blob: 434513b63db8972e9ca84ca0b5495e1802a78b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ak,v 1.3 2004/05/11 17:33:42 recht Exp $

--- mono/metadata/mono-config.c.orig	2004-05-11 14:06:35.000000000 +0200
+++ mono/metadata/mono-config.c	2004-05-11 14:06:59.000000000 +0200
@@ -308,7 +308,7 @@
 	home = g_get_home_dir ();
 
 	for (i = 0; (aname = get_assembly_filename (assembly, i)) != NULL; ++i) {
-		cfg = g_build_filename (mono_get_config_dir (), "mono", "assemblies", aname, cfg_name, NULL);
+		cfg = g_build_filename (mono_get_config_dir (), "assemblies", aname, cfg_name, NULL);
 		got_it += mono_config_parse_file_with_context (&state, cfg);
 		g_free (cfg);
 
@@ -345,7 +345,7 @@
 		return;
 	}
 
-	mono_cfg = g_build_filename (mono_get_config_dir (), "mono", "config", NULL);
+	mono_cfg = g_build_filename (mono_get_config_dir (), "config", NULL);
 	mono_config_parse_file (mono_cfg);
 	g_free (mono_cfg);