gtk3/gtk3-find-wayland-includedir.patch

27 lines
844 B
Diff

Index: gtk+-3.13.3/gtk/Makefile.am
===================================================================
--- gtk+-3.13.3.orig/gtk/Makefile.am
+++ gtk+-3.13.3/gtk/Makefile.am
@@ -74,7 +74,8 @@ AM_CPPFLAGS = \
$(GTK_DEBUG_FLAGS) \
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
$(GTK_DEP_CFLAGS) \
- $(INCLUDED_IMMODULE_DEFINE)
+ $(INCLUDED_IMMODULE_DEFINE) \
+ $(GDK_DEP_CFLAGS)
if PLATFORM_WIN32
no_undefined = -no-undefined
Index: gtk+-3.13.3/gtk/inspector/Makefile.am
===================================================================
--- gtk+-3.13.3.orig/gtk/inspector/Makefile.am
+++ gtk+-3.13.3/gtk/inspector/Makefile.am
@@ -75,6 +75,7 @@ libgtkinspector_la_CPPFLAGS = \
libgtkinspector_la_CFLAGS = \
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
+ $(GDK_DEP_CFLAGS) \
$(GTK_DEP_CFLAGS) \
$(GTK_DEBUG_FLAGS) \
$(AM_CFLAGS)