diff --git a/pango-1.21.4-lib64.patch b/pango-1.21.4-lib64.patch new file mode 100644 index 0000000..4bcfe50 --- /dev/null +++ b/pango-1.21.4-lib64.patch @@ -0,0 +1,33 @@ +diff -up pango-1.21.4/pango/Makefile.am.lib64 pango-1.21.4/pango/Makefile.am +--- pango-1.21.4/pango/Makefile.am.lib64 2008-08-06 04:38:38.000000000 -0400 ++++ pango-1.21.4/pango/Makefile.am 2008-08-11 23:05:06.000000000 -0400 +@@ -19,6 +19,7 @@ INCLUDES = \ + -DPANGO_ENABLE_BACKEND \ + -DPANGO_ENABLE_ENGINE \ + -DSYSCONFDIR=\"$(sysconfdir)\" \ ++ -DHOST=\"$(host_triplet)\" \ + -DLIBDIR=\"$(libdir)\" \ + -I$(top_srcdir) \ + $(PANGO_DEBUG_FLAGS) \ +diff -up pango-1.21.4/pango/Makefile.in.lib64 pango-1.21.4/pango/Makefile.in +--- pango-1.21.4/pango/Makefile.in.lib64 2008-08-11 19:36:44.000000000 -0400 ++++ pango-1.21.4/pango/Makefile.in 2008-08-11 23:05:37.000000000 -0400 +@@ -427,6 +427,7 @@ INCLUDES = \ + -DPANGO_ENABLE_BACKEND \ + -DPANGO_ENABLE_ENGINE \ + -DSYSCONFDIR=\"$(sysconfdir)\" \ ++ -DHOST=\"$(host_triplet)\" \ + -DLIBDIR=\"$(libdir)\" \ + -I$(top_srcdir) \ + $(PANGO_DEBUG_FLAGS) \ +diff -up pango-1.21.4/pango/modules.c.lib64 pango-1.21.4/pango/modules.c +--- pango-1.21.4/pango/modules.c.lib64 2008-07-05 14:34:52.000000000 -0400 ++++ pango-1.21.4/pango/modules.c 2008-08-11 23:01:27.000000000 -0400 +@@ -508,6 +508,7 @@ read_modules (void) + + if (!file_str) + file_str = g_build_filename (pango_get_sysconf_subdirectory (), ++ HOST, + "pango.modules", + NULL); + diff --git a/pango.spec b/pango.spec index cb5e215..73b2161 100644 --- a/pango.spec +++ b/pango.spec @@ -37,7 +37,7 @@ BuildRequires: libthai-devel >= %{libthai_version} BuildRequires: gtk-doc # Look for pango.modules in an arch-specific directory -Patch0: pango-1.2.5-lib64.patch +Patch0: pango-1.21.4-lib64.patch %description Pango is a system for layout and rendering of internationalized text.