summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMustafa Yuecel <yuecelm@ee.ethz.ch>2006-03-12 19:34:33 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-12 19:34:33 +0000
commitbcf6af242613b265d85a19941bba8af784ae5aaa (patch)
treef70b4c7edc5ad8a0e1b26c5d3fbbbb0539ed139d /packages
parent5e6059134c4f0e0216d5ef42d2b9f837a48cafe0 (diff)
parent920db53712c2e69b221e080120bae2c5d72b5fd0 (diff)
merge of 88f7b26bd7167f4b01485d1936de4c7bba0a26ab
and 9d3987c51ecb96e2da95a59c2c2fdce30384c802
Diffstat (limited to 'packages')
-rw-r--r--packages/xlibs/libxcomposite/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxcomposite/change-include-order.patch14
-rw-r--r--packages/xlibs/libxcomposite_X11R7.0-0.2.2.2.bb3
3 files changed, 16 insertions, 1 deletions
diff --git a/packages/xlibs/libxcomposite/.mtn2git_empty b/packages/xlibs/libxcomposite/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxcomposite/.mtn2git_empty
diff --git a/packages/xlibs/libxcomposite/change-include-order.patch b/packages/xlibs/libxcomposite/change-include-order.patch
new file mode 100644
index 0000000000..630b8818fc
--- /dev/null
+++ b/packages/xlibs/libxcomposite/change-include-order.patch
@@ -0,0 +1,14 @@
+This patch makes the build use its own Xcomposite.h over rather than an
+older Xcomposite.h that might already be installed in the staging dir.
+
+--- libXcomposite-X11R7.0-0.2.2.2/src/Makefile.am.orig 2006-03-12 20:10:17.000000000 +0100
++++ libXcomposite-X11R7.0-0.2.2.2/src/Makefile.am 2006-03-12 20:10:35.000000000 +0100
+@@ -21,7 +21,7 @@
+ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ # PERFORMANCE OF THIS SOFTWARE.
+
+-AM_CFLAGS = $(XCOMPOSITE_CFLAGS) $(XCOMPOSITE_CFLAGS) $(X_CFLAGS) -I$(top_srcdir)/include
++AM_CFLAGS = -I$(top_srcdir)/include $(XCOMPOSITE_CFLAGS) $(XCOMPOSITE_CFLAGS) $(X_CFLAGS)
+
+ lib_LTLIBRARIES = libXcomposite.la
+
diff --git a/packages/xlibs/libxcomposite_X11R7.0-0.2.2.2.bb b/packages/xlibs/libxcomposite_X11R7.0-0.2.2.2.bb
index 6de1388350..57eef74aa3 100644
--- a/packages/xlibs/libxcomposite_X11R7.0-0.2.2.2.bb
+++ b/packages/xlibs/libxcomposite_X11R7.0-0.2.2.2.bb
@@ -6,7 +6,8 @@ LICENSE= "BSD-X"
DEPENDS = "libx11 compositeproto xextproto libxfixes"
PROVIDES = "xcomposite"
-SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/libXcomposite-${PV}.tar.bz2"
+SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/libXcomposite-${PV}.tar.bz2 \
+ file://change-include-order.patch;patch=1"
S = "${WORKDIR}/libXcomposite-${PV}"
inherit autotools pkgconfig