From 6cbe7c8571f18748ba36598cf6215178ab0f9fcd Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <hrw@openedhand.com>
Date: Wed, 14 Nov 2007 12:10:29 +0000
Subject: matchbox-stroke: fix expat build problem

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3162 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
 meta/packages/matchbox-stroke/files/configure_fix.patch | 13 +++++++++++++
 meta/packages/matchbox-stroke/matchbox-stroke_svn.bb    |  3 ++-
 2 files changed, 15 insertions(+), 1 deletion(-)
 create mode 100644 meta/packages/matchbox-stroke/files/configure_fix.patch

(limited to 'meta')

diff --git a/meta/packages/matchbox-stroke/files/configure_fix.patch b/meta/packages/matchbox-stroke/files/configure_fix.patch
new file mode 100644
index 000000000..52cea0e8f
--- /dev/null
+++ b/meta/packages/matchbox-stroke/files/configure_fix.patch
@@ -0,0 +1,13 @@
+Index: matchbox-window-manager/configure.ac
+===================================================================
+--- matchbox-window-manager.orig/configure.ac	2007-11-14 12:02:28.000000000 +0000
++++ matchbox-window-manager/configure.ac	2007-11-14 12:18:55.000000000 +0000
+@@ -283,7 +283,7 @@
+     yes)
+ 
+ 	case "$expat" in
+-	  yes)
++	  yes|"")
+ 		EXPAT_LIBS="-lexpat"
+ 		;;
+ 	    *)
diff --git a/meta/packages/matchbox-stroke/matchbox-stroke_svn.bb b/meta/packages/matchbox-stroke/matchbox-stroke_svn.bb
index 207f3418a..6a12c099f 100644
--- a/meta/packages/matchbox-stroke/matchbox-stroke_svn.bb
+++ b/meta/packages/matchbox-stroke/matchbox-stroke_svn.bb
@@ -4,7 +4,8 @@ DEPENDS = "libfakekey expat libxft"
 SECTION = "x11/wm"
 PV = "0.0+svnr${SRCREV}"
 
-SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http"
+SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
+           file://configure_fix.patch;patch=1 "
 
 S = "${WORKDIR}/${PN}"
 
-- 
cgit v1.2.3