From 29a1c77d219f8c39f7aeb9afe1e5b303e4772fc3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 21 Mar 2013 14:27:18 +0000 Subject: directfb: Fix case where ${B} != ${S} Add patch to allow out of tree builds to work. (From OE-Core rev: 15d7fe81bf3c52a14bfdd6a8a854836c8571e14f) Signed-off-by: Richard Purdie --- .../directfb/directfb/fixsepbuild.patch | 19 +++++++++++++++++++ meta/recipes-graphics/directfb/directfb_1.6.1.bb | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-graphics/directfb/directfb/fixsepbuild.patch (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/directfb/directfb/fixsepbuild.patch b/meta/recipes-graphics/directfb/directfb/fixsepbuild.patch new file mode 100644 index 0000000000..94a9ba5f02 --- /dev/null +++ b/meta/recipes-graphics/directfb/directfb/fixsepbuild.patch @@ -0,0 +1,19 @@ +Fix out of tree builds + +Upstream-Status: Pending + +RP 2013/03/21 + +Index: DirectFB-1.6.1/configure.in +=================================================================== +--- DirectFB-1.6.1.orig/configure.in 2013-03-19 01:38:28.174004720 +0000 ++++ DirectFB-1.6.1/configure.in 2013-03-21 12:18:10.253113675 +0000 +@@ -111,7 +111,7 @@ + AC_PATH_TOOL(FLUXCOMP, fluxcomp) + AC_SUBST(FLUXCOMP) + if test -z "$FLUXCOMP"; then +- if ! test -e src/core/CoreDFB.cpp; then ++ if ! test -e $srcdir/src/core/CoreDFB.cpp; then + AC_MSG_ERROR([ + *** DirectFB compilation requires fluxcomp *** + diff --git a/meta/recipes-graphics/directfb/directfb_1.6.1.bb b/meta/recipes-graphics/directfb/directfb_1.6.1.bb index 6c48a86f81..1230d12944 100644 --- a/meta/recipes-graphics/directfb/directfb_1.6.1.bb +++ b/meta/recipes-graphics/directfb/directfb_1.6.1.bb @@ -6,7 +6,8 @@ PR = "${INC_PR}.2" DEPENDS += "sysfsutils" SRC_URI += "file://fix-compilation-with-zlib.patch \ - file://rename-no-instrument-function-macro.patch" + file://rename-no-instrument-function-macro.patch \ + file://fixsepbuild.patch" EXTRA_OECONF = "\ --enable-freetype=yes \ -- cgit v1.2.3-54-g00ecf