libpango/libpango-1.38-lib64.patch

25 lines
966 B
Diff

--- pango-1.38.0/pango/pango-utils.c.orig 2015-10-10 15:03:27.799554998 +0200
+++ pango-1.38.0/pango/pango-utils.c 2015-10-10 15:38:46.820822615 +0200
@@ -607,9 +607,9 @@
const char *tmp_result = NULL;
const char *sysconfdir = g_getenv ("PANGO_SYSCONFDIR");
if (sysconfdir != NULL)
- tmp_result = g_build_filename (sysconfdir, "pango", NULL);
+ tmp_result = g_build_filename (sysconfdir, "pango", HOST, NULL);
else
- tmp_result = SYSCONFDIR "/pango";
+ tmp_result = SYSCONFDIR "/pango/" HOST;
g_once_init_leave(&result, tmp_result);
}
return result;
--- pango-1.38.0/pango/Makefile.am.orig 2015-09-01 00:47:11.000000000 +0200
+++ pango-1.38.0/pango/Makefile.am 2015-10-10 15:03:27.799554998 +0200
@@ -18,6 +18,7 @@
-DPANGO_ENABLE_BACKEND \
-DPANGO_ENABLE_ENGINE \
-DSYSCONFDIR=\"$(sysconfdir)\" \
+ -DHOST=\"$(host_triplet)\" \
-DLIBDIR=\"$(libdir)\" \
-I$(top_srcdir) \
-I$(top_builddir) \