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.patch18
1 files changed, 18 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..60331f6e78
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch
@@ -0,0 +1,18 @@
1Upstream-Status: Inappropriate [configuration]
2
3This patch makes the build use its own Xcomposite.h over rather than an
4older Xcomposite.h that might already be installed in the staging dir.
5
6Index: libXcomposite-0.4.3/src/Makefile.am
7===================================================================
8--- libXcomposite-0.4.3.orig/src/Makefile.am 2010-06-30 22:42:53.000000000 -0700
9+++ libXcomposite-0.4.3/src/Makefile.am 2010-11-23 23:09:34.544322930 -0800
10@@ -19,7 +19,7 @@
11 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
12 # PERFORMANCE OF THIS SOFTWARE.
13
14-AM_CFLAGS = $(CWARNFLAGS) $(XCOMPOSITE_CFLAGS) $(XFIXES_CFLAGS)
15+AM_CFLAGS = -I$(top_srcdir)/include $(CWARNFLAGS) $(XCOMPOSITE_CFLAGS) $(XFIXES_CFLAGS)
16 AM_CPPFLAGS = -I$(top_srcdir)/include
17
18 lib_LTLIBRARIES = libXcomposite.la