From 05b826e4daa6fa5b497ee2d739377f459cdc290e Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 11 Jun 2015 13:57:02 -0300 Subject: directfb: Correct bashism Fix builds of directfb on systems with dash as /bin/sh Change-Id: Idf5e208c8ac75f4c6251f9f5b0db317f91c42de5 Signed-off-by: Otavio Salvador --- recipes-graphics/directfb/directfb/bashism.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-graphics/directfb/directfb/bashism.patch diff --git a/recipes-graphics/directfb/directfb/bashism.patch b/recipes-graphics/directfb/directfb/bashism.patch new file mode 100644 index 0000000..2ef4e93 --- /dev/null +++ b/recipes-graphics/directfb/directfb/bashism.patch @@ -0,0 +1,18 @@ +${x//y/} is a bash syntax. Replace with something dash compatible + +RP 2015/5/3 +Upstream-Status: Pending + +Index: DirectFB-1.7.7/configure.in +=================================================================== +--- DirectFB-1.7.7.orig/configure.in ++++ DirectFB-1.7.7/configure.in +@@ -2696,7 +2696,7 @@ AM_CONDITIONAL(BUILD_TOOLS, test "$with_ + AM_CONDITIONAL(CROSS_COMPILING, test "$cross_compiling" = "yes") + + CFLAGS="$CFLAGS $DFB_INTERNAL_CFLAGS" +-CXXFLAGS="$CXXFLAGS ${CFLAGS//-Werror-implicit-function-declaration/}" ++CXXFLAGS="$CXXFLAGS $(printf '%s\n' "$CFLAGS" | sed 's/-Werror-implicit-function-declaration//g')" + DFB_LDFLAGS="$LDFLAGS $ZLIB_LIBS" + + CFLAGS="$CFLAGS $CFLAGS_STD" -- cgit v1.2.3-54-g00ecf