aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/directfb/directfb/bashism.patch
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-07-04 16:45:53 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2016-07-29 11:00:53 +0200
commit273be2ecc2dd4402dd44a8d377892ab2e83f60b3 (patch)
treedea88947ba13ccd050462fdb697f237cd7e7a52b /meta-oe/recipes-graphics/directfb/directfb/bashism.patch
parent37e1dd154b8516966fee5d01b689d2abf5fe0679 (diff)
downloadmeta-openembedded-contrib-273be2ecc2dd4402dd44a8d377892ab2e83f60b3.tar.gz
directfb: move recipe to meta-oe
directfb.org has been down for about a year now. Since there are active users for this recipe, it makes sense to move this from oe-core to meta-oe. Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'meta-oe/recipes-graphics/directfb/directfb/bashism.patch')
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb/bashism.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/directfb/directfb/bashism.patch b/meta-oe/recipes-graphics/directfb/directfb/bashism.patch
new file mode 100644
index 0000000000..2ef4e93853
--- /dev/null
+++ b/meta-oe/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"