diff options
author | Eric Andersen <andersen@codepoet.org> | 2007-01-14 23:26:15 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2007-01-14 23:26:15 +0000 |
commit | 9524e48516edc5b2bd102218c4c5234f66de46e1 (patch) | |
tree | a4068b89f5e85fa12e6a85c4c3ee93d2e2898fe2 /package/libgtk2/000_gtk+-2.2.0-buildfix-immodule.patch | |
parent | a461faf1ee09deaf662a45338be1e41a3249a077 (diff) |
fix build and ensure we install needed runtime components
Diffstat (limited to 'package/libgtk2/000_gtk+-2.2.0-buildfix-immodule.patch')
-rw-r--r-- | package/libgtk2/000_gtk+-2.2.0-buildfix-immodule.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/libgtk2/000_gtk+-2.2.0-buildfix-immodule.patch b/package/libgtk2/000_gtk+-2.2.0-buildfix-immodule.patch new file mode 100644 index 000000000..5d80daf0b --- /dev/null +++ b/package/libgtk2/000_gtk+-2.2.0-buildfix-immodule.patch @@ -0,0 +1,33 @@ +diff -ruN gtk+-2.2.0.orig/modules/input/Makefile.am gtk+-2.2.0/modules/input/Makefile.am +--- gtk+-2.2.0.orig/modules/input/Makefile.am 2003-01-06 23:40:37.000000000 +0900 ++++ gtk+-2.2.0/modules/input/Makefile.am 2003-01-06 23:46:35.000000000 +0900 +@@ -118,7 +118,12 @@ + im-viqr.la + + gtk.immodules: Makefile.am $(module_LTLIBRARIES) +- $(top_builddir)/gtk/gtk-query-immodules-2.0 $(module_LTLIBRARIES) > gtk.immodules ++ @if $(RUN_QUERY_IMMODULES_TEST) ; then \ ++ $(top_builddir)/gtk/gtk-query-immodules-2.0 $(module_LTLIBRARIES) > gtk.immodules ; \ ++ else \ ++ touch $@ ; \ ++ fi ++ + + CLEANFILES = gtk.immodules + +diff -ruN gtk+-2.2.0.orig/modules/input/Makefile.in gtk+-2.2.0/modules/input/Makefile.in +--- gtk+-2.2.0.orig/modules/input/Makefile.in 2003-01-06 23:39:08.000000000 +0900 ++++ gtk+-2.2.0/modules/input/Makefile.in 2003-01-06 23:46:44.000000000 +0900 +@@ -785,7 +785,11 @@ + rm -f $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules + + gtk.immodules: Makefile.am $(module_LTLIBRARIES) +- $(top_builddir)/gtk/gtk-query-immodules-2.0 $(module_LTLIBRARIES) > gtk.immodules ++ @if $(RUN_QUERY_IMMODULES_TEST) ; then \ ++ $(top_builddir)/gtk/gtk-query-immodules-2.0 $(module_LTLIBRARIES) > gtk.immodules ; \ ++ else \ ++ touch $@ ; \ ++ fi + + @CROSS_COMPILING_FALSE@all-local: gtk.immodules + # Tell versions [3.59,3.63) of GNU make to not export all variables. |