summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch b/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch
new file mode 100644
index 0000000000..9b10d1a26d
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch
@@ -0,0 +1,14 @@
1This patch makes the build use its own Xcomposite.h over rather than an
2older Xcomposite.h that might already be installed in the staging dir.
3
4--- libXcomposite-0.4.1/src/Makefile.am.orig 2010-06-27 15:50:05.000000000 +0800
5+++ libXcomposite-0.4.1/src/Makefile.am 2010-06-27 15:51:48.000000000 +0800
6@@ -19,7 +19,7 @@
7 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8 # PERFORMANCE OF THIS SOFTWARE.
9
10-AM_CFLAGS = $(CWARNFLAGS) $(XCOMPOSITE_CFLAGS) $(X_CFLAGS)
11+AM_CFLAGS = -I$(top_srcdir)/include $(CWARNFLAGS) $(XCOMPOSITE_CFLAGS) $(X_CFLAGS)
12 AM_CPPFLAGS = -I$(top_srcdir)/include
13
14 lib_LTLIBRARIES = libXcomposite.la