From 007000f68b4d009d2d2229a56c36efe4e0d7a02f Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 27 Apr 2015 15:47:57 -0300 Subject: gst-fsl-plugin: Fix CFLAGS query using pkgconfig The pkgconfig queries cannot be appended without explicit spaces as pkgconfig does not print trailing spaces by itself. Change-Id: Ifa0d25ea715c1a517a81d971c9d5c46ffa9c64e6 Signed-off-by: Otavio Salvador --- ...igure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch (limited to 'recipes-multimedia/gstreamer/gst-fsl-plugin') diff --git a/recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch b/recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch new file mode 100644 index 0000000..16a75fc --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-fsl-plugin/configure.ac-Fix-query-of-CFLAGS-to-pkgconfig.patch @@ -0,0 +1,46 @@ +From 3312c9fbc80b7b7fe3e28b24c4b8955aa3d5bf18 Mon Sep 17 00:00:00 2001 +From: Otavio Salvador +Date: Mon, 27 Apr 2015 15:36:06 -0300 +Subject: [PATCH] configure.ac: Fix query of CFLAGS to pkgconfig +Organization: O.S. Systems Software LTDA. + +The pkgconfig queries cannot be appended without explicit spaces as +pkgconfig does not print trailing spaces by itself. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador +--- + configure.ac | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 86da399..276728f 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -175,15 +175,15 @@ AC_CHECK_LIB(rt, clock_gettime) + AC_SUBST(RT_CFLAGS) + AC_SUBST(RT_LIBS) + +-FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null` +-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null` +-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslparser 2>/dev/null` +-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null` ++FSL_MM_CORE_CFLAGS="`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null` \ ++ `$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null` \ ++ `$PKG_CONFIG --cflags libfslparser 2>/dev/null` \ ++ `$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`" + AC_SUBST(FSL_MM_CORE_CFLAGS) + +-FSL_MM_CORE_LIBS=`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null` +-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvideocodec 2>/dev/null` +-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslparser 2>/dev/null` ++FSL_MM_CORE_LIBS="`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null` \ ++ `$PKG_CONFIG --libs libfslvideocodec 2>/dev/null` \ ++ `$PKG_CONFIG --libs libfslparser 2>/dev/null`" + AC_SUBST(FSL_MM_CORE_LIBS) + + EXTRAPLATFORMCFLAGS="-DARM -D_GNUC_" +-- +2.1.4 + -- cgit v1.2.3-54-g00ecf