gtk3/gtk3-find-wayland-includedir.patch

27 lines
827 B
Diff

Index: gtk+-3.13.9/gtk/Makefile.am
===================================================================
--- gtk+-3.13.9.orig/gtk/Makefile.am
+++ gtk+-3.13.9/gtk/Makefile.am
@@ -79,7 +79,8 @@ AM_CPPFLAGS = \
$(GTK_DEBUG_FLAGS) \
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
$(GTK_DEP_CFLAGS) \
- $(INCLUDED_IMMODULE_DEFINE)
+ $(INCLUDED_IMMODULE_DEFINE) \
+ $(GDK_DEP_CFLAGS)
if OS_WIN32
gtk_def = gtk.def
Index: gtk+-3.13.9/gtk/inspector/Makefile.am
===================================================================
--- gtk+-3.13.9.orig/gtk/inspector/Makefile.am
+++ gtk+-3.13.9/gtk/inspector/Makefile.am
@@ -78,6 +78,7 @@ libgtkinspector_la_CPPFLAGS = \
libgtkinspector_la_CFLAGS = \
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
+ $(GDK_DEP_CFLAGS) \
$(GTK_DEP_CFLAGS) \
$(GTK_DEBUG_FLAGS) \
$(AM_CFLAGS)