diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-06-11 13:57:02 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-07 10:20:45 -0300 |
commit | 05b826e4daa6fa5b497ee2d739377f459cdc290e (patch) | |
tree | f968b914de4d4ef5d47443c29407bec093ee3564 | |
parent | 7c0428b883954e278d067c38c45f1e99bf59d582 (diff) | |
download | meta-fsl-arm-05b826e4daa6fa5b497ee2d739377f459cdc290e.tar.gz |
directfb: Correct bashism
Fix builds of directfb on systems with dash as /bin/sh
Change-Id: Idf5e208c8ac75f4c6251f9f5b0db317f91c42de5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-graphics/directfb/directfb/bashism.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
1 | ${x//y/} is a bash syntax. Replace with something dash compatible | ||
2 | |||
3 | RP 2015/5/3 | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Index: DirectFB-1.7.7/configure.in | ||
7 | =================================================================== | ||
8 | --- DirectFB-1.7.7.orig/configure.in | ||
9 | +++ DirectFB-1.7.7/configure.in | ||
10 | @@ -2696,7 +2696,7 @@ AM_CONDITIONAL(BUILD_TOOLS, test "$with_ | ||
11 | AM_CONDITIONAL(CROSS_COMPILING, test "$cross_compiling" = "yes") | ||
12 | |||
13 | CFLAGS="$CFLAGS $DFB_INTERNAL_CFLAGS" | ||
14 | -CXXFLAGS="$CXXFLAGS ${CFLAGS//-Werror-implicit-function-declaration/}" | ||
15 | +CXXFLAGS="$CXXFLAGS $(printf '%s\n' "$CFLAGS" | sed 's/-Werror-implicit-function-declaration//g')" | ||
16 | DFB_LDFLAGS="$LDFLAGS $ZLIB_LIBS" | ||
17 | |||
18 | CFLAGS="$CFLAGS $CFLAGS_STD" | ||