Patchwork [07/11] libxcb: patch configure.ac to include more of OE-lite provided m4 files

login
register
mail settings
Submitter Morten Svendsen
Date Dec. 19, 2012, 10:05 a.m.
Message ID <9336ac7948b9d885475b9f9b1e1d617b240e4d8d.1355911420.git.morten.thunbergsvendsen@prevas.dk>
Download mbox | patch
Permalink /patch/207291/
State Accepted
Delegated to: Jacob Kjaergaard
Headers show

Comments

Morten Svendsen - Dec. 19, 2012, 10:05 a.m.
---
 recipes/xcb/libxcb-1.8.1/libtool-include-m4s.patch | 23 ++++++++++++++++++++++
 recipes/xcb/libxcb_1.8.1.oe                        |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 recipes/xcb/libxcb-1.8.1/libtool-include-m4s.patch

Patch

diff --git a/recipes/xcb/libxcb-1.8.1/libtool-include-m4s.patch b/recipes/xcb/libxcb-1.8.1/libtool-include-m4s.patch
new file mode 100644
index 0000000..979978e
--- /dev/null
+++ b/recipes/xcb/libxcb-1.8.1/libtool-include-m4s.patch
@@ -0,0 +1,23 @@ 
+Index: libxcb-1.8.1/Makefile.am
+===================================================================
+--- libxcb-1.8.1.orig/Makefile.am
++++ libxcb-1.8.1/Makefile.am
+@@ -1,5 +1,6 @@
+ SUBDIRS=src tests doc
+ 
++ACLOCAL_AMFLAGS = -I m4
+ pkgconfigdir = $(libdir)/pkgconfig
+ 
+ pkgconfig_DATA = xcb.pc
+Index: src/libxcb-1.8.1/configure.ac
+===================================================================
+--- libxcb-1.8.1.orig/configure.ac
++++ libxcb-1.8.1/configure.ac
+@@ -9,6 +9,7 @@ AC_CONFIG_SRCDIR([xcb.pc.in])
+ AM_INIT_AUTOMAKE([foreign dist-bzip2])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ 
++AC_CONFIG_MACRO_DIR([m4])
+ AM_PATH_PYTHON([2.6])
+ 
+ PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
diff --git a/recipes/xcb/libxcb_1.8.1.oe b/recipes/xcb/libxcb_1.8.1.oe
index fd9422a..8dd500e 100644
--- a/recipes/xcb/libxcb_1.8.1.oe
+++ b/recipes/xcb/libxcb_1.8.1.oe
@@ -3,6 +3,7 @@  include libxcb.inc
 LICENSE = "MIT"
 
 RECIPE_TYPES = "machine native"
+SRC_URI += "file://libtool-include-m4s.patch"
 
 DEPENDS += "libpthread-stubs native:xcb-proto libxdmcp"
 DEPENDS_${PN} += "libpthread-stubs libxau libxdmcp"