Fix for file injection is broken on centos computes with Cirros images LP #1587960
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gstreamer / gst-fsl-plugins / 0002-Fix-bashism-in-configure-script.patch
1 From 83b4f84b1c490b9bb816e1ecbc743d80d48cc06d Mon Sep 17 00:00:00 2001
2 From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
3 Date: Tue, 18 Dec 2012 12:05:22 +0100
4 Subject: [PATCH] Fix bashism in configure script.
5
6 The configure script uses +=, which is not POSIX. Debians that
7 have the default dash as /bin/sh define a variable ending with
8 + instead of appending to it.
9
10 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
11 ---
12  configure.ac | 14 +++++++-------
13  1 file changed, 7 insertions(+), 7 deletions(-)
14
15 diff --git a/configure.ac b/configure.ac
16 index 5968eb6..1a31a06 100755
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -152,7 +152,7 @@ AC_SUBST(GST_PLUGINS_BASE_LIBS)
20  AC_CHECK_HEADERS([vpu_lib.h], [HAVE_VPU_LIB=yes], [HAVE_VPU_LIB=no])
21  if test "x$HAVE_VPU_LIB" = "xyes"; then
22      VPU_LIBS=`$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`
23 -    VPU_LIBS+=" -lvpu"
24 +    VPU_LIBS="$VPU_LIBS -lvpu"
25  fi
26  AC_SUBST(VPU_LIBS)
27  
28 @@ -176,15 +176,15 @@ AC_SUBST(RT_CFLAGS)
29  AC_SUBST(RT_LIBS)
30  
31  FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null`
32 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`
33 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslparser 2>/dev/null`
34 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`
35 +FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`"
36 +FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslparser 2>/dev/null`"
37 +FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`"
38  AC_SUBST(FSL_MM_CORE_CFLAGS)
39  
40  FSL_MM_CORE_LIBS=`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null`
41 -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`
42 -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslparser 2>/dev/null`
43 -FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`
44 +FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`"
45 +FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslparser 2>/dev/null`"
46 +FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`"
47  AC_SUBST(FSL_MM_CORE_LIBS)
48  
49  EXTRAPLATFORMCFLAGS="-DARM -D_GNUC_"
50 --