diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-21 14:27:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-21 17:04:56 +0000 |
commit | 15d7fe81bf3c52a14bfdd6a8a854836c8571e14f (patch) | |
tree | 9bb801e7f3d02666ea5d225baaf95485e40624ca | |
parent | d14012cbf4a55a66030a51da281cc68fc727d9f6 (diff) | |
download | openembedded-core-15d7fe81bf3c52a14bfdd6a8a854836c8571e14f.tar.gz openembedded-core-15d7fe81bf3c52a14bfdd6a8a854836c8571e14f.tar.bz2 openembedded-core-15d7fe81bf3c52a14bfdd6a8a854836c8571e14f.zip |
directfb: Fix case where ${B} != ${S}
Add patch to allow out of tree builds to work.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/directfb/directfb/fixsepbuild.patch | 19 | ||||
-rw-r--r-- | meta/recipes-graphics/directfb/directfb_1.6.1.bb | 3 |
2 files changed, 21 insertions, 1 deletions
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 \ |