gtk3/gtk3-introspection-build-fix.patch

27 lines
1.4 KiB
Diff
Raw Normal View History

Index: gtk+-2.91.4/gtk/Makefile.am
===================================================================
--- gtk+-2.91.4.orig/gtk/Makefile.am
+++ gtk+-2.91.4/gtk/Makefile.am
@@ -918,7 +918,7 @@ Gtk_3_0_gir_CFLAGS = \
-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
Gtk_3_0_gir_LIBS = $(gtktargetlib)
if USE_X11
-Gtk_3_0_gir_LIBS += $(top_builddir)/gdk/x11/libgdk-x11.la
+Gtk_3_0_gir_LIBS += $(top_builddir)/gdk/libgdk-x11-3.0.la
endif
Gtk_3_0_gir_FILES = $(introspection_files)
INTROSPECTION_GIRS += Gtk-3.0.gir
Index: gtk+-2.91.4/gtk/Makefile.in
===================================================================
--- gtk+-2.91.4.orig/gtk/Makefile.in
+++ gtk+-2.91.4/gtk/Makefile.in
@@ -68,7 +68,7 @@ DIST_COMMON = $(am__gtkunixprintinclude_
@USE_QUARTZ_TRUE@@USE_WIN32_FALSE@@USE_X11_FALSE@am__append_12 = $(gtk_use_quartz_c_sources)
@USE_QUARTZ_FALSE@@USE_WIN32_FALSE@@USE_X11_FALSE@am__append_13 = $(gtk_use_stub_c_sources)
@HAVE_INTROSPECTION_TRUE@@USE_X11_TRUE@am__append_14 = --add-include-path=$(top_builddir)/gdk/x11
-@HAVE_INTROSPECTION_TRUE@@USE_X11_TRUE@am__append_15 = $(top_builddir)/gdk/x11/libgdk-x11.la
+@HAVE_INTROSPECTION_TRUE@@USE_X11_TRUE@am__append_15 = $(top_builddir)/gdk/libgdk-x11-3.0.la
@HAVE_INTROSPECTION_TRUE@am__append_16 = Gtk-3.0.gir
@HAVE_INTROSPECTION_TRUE@am__append_17 = $(gir_DATA) $(typelibs_DATA)
bin_PROGRAMS = gtk-query-immodules-3.0$(EXEEXT) \