1 Index: pango1.0-1.16.0/pango/modules.c
2 ===================================================================
3 --- pango1.0-1.16.0.orig/pango/modules.c 2007-03-07 11:16:26.000000000 +0100
4 +++ pango1.0-1.16.0/pango/modules.c 2007-03-07 11:16:33.000000000 +0100
12 #include <glib/gstdio.h>
18 +#if defined(__linux__) && defined (__i386__)
19 + char *compat_module_files_d_str = g_build_filename ("/usr/lib32/pango",
23 +#elif defined(__linux__) && ( defined (__x86_64__) || defined(__ia64__) )
24 + char *compat_module_files_d_str = g_build_filename ("/usr/lib64/pango",
36 +#if defined(__linux__) && ( defined(__i386__) || defined (__x86_64__) || defined(__ia64__) )
37 + /* prefer compat_module_files_d_str over module_files_d_str on the above
38 + * arches if it's usable */
39 + if (! g_access(compat_module_files_d_str, R_OK|X_OK))
40 + list_str = g_strjoin (G_SEARCHPATH_SEPARATOR_S,
42 + compat_module_files_d_str,
44 + else /* continued below */
47 list_str = g_strjoin (G_SEARCHPATH_SEPARATOR_S,
53 g_free (module_files_d_str);
54 +#if defined(__linux__) && ( defined(__i386__) || defined (__x86_64__) || defined(__ia64__) )
55 + g_free (compat_module_files_d_str);
59 dlloaded_engines = g_slist_reverse (dlloaded_engines);