diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-06-11 13:57:02 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-06-11 14:01:27 -0300 |
commit | 753cce319da4af5138fb023fecba86551aada7b9 (patch) | |
tree | c474b4eb7f32acdfa29882fbc0bf95be03fec5f2 | |
parent | bf139085eb430f65a70421b244b8d5bc34af5769 (diff) | |
download | meta-freescale-753cce319da4af5138fb023fecba86551aada7b9.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-- | meta-fsl-arm/recipes-graphics/directfb/directfb/bashism.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb/bashism.patch b/meta-fsl-arm/recipes-graphics/directfb/directfb/bashism.patch new file mode 100644 index 00000000..2ef4e938 --- /dev/null +++ b/meta-fsl-arm/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" | ||