summaryrefslogtreecommitdiffstats
path: root/package/libplayer/libplayer-fix-configure-cflags.patch
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2012-07-14 11:34:36 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-10-22 09:46:35 +0200
commit05431ab52c5f7a4b3ff63b7a7a807eece6c051f9 (patch)
tree1d39e4ecd0e94dc06841f90aaf0ed3accd422229 /package/libplayer/libplayer-fix-configure-cflags.patch
parent6bcb68694f50cdc788114c77bdc7ed1ba39e0bef (diff)
downloadbuildroot-novena-05431ab52c5f7a4b3ff63b7a7a807eece6c051f9.tar.gz
buildroot-novena-05431ab52c5f7a4b3ff63b7a7a807eece6c051f9.zip
libplayer: fix handling of cflags in configure
Problem was found when compiling libplayer with GStreamer support on x86_64 with a Sourcery toolchain. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libplayer/libplayer-fix-configure-cflags.patch')
-rw-r--r--package/libplayer/libplayer-fix-configure-cflags.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/libplayer/libplayer-fix-configure-cflags.patch b/package/libplayer/libplayer-fix-configure-cflags.patch
new file mode 100644
index 000000000..186afd562
--- /dev/null
+++ b/package/libplayer/libplayer-fix-configure-cflags.patch
@@ -0,0 +1,41 @@
+From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
+Subject: [PATCH] libplayer: Fix handling of cflags in configure.
+
+The cflags returned by pkg-config or another config script may consist
+of several arguments for the compiler. These should not be quoted together
+into a single argument.
+
+Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
+---
+Sent upstream to devel@geexbox.org on July 11, 2012.
+---
+diff -rup libplayer-2.0.1.orig/configure libplayer-2.0.1/configure
+--- libplayer-2.0.1.orig/configure 2010-10-03 19:26:11.000000000 +0200
++++ libplayer-2.0.1/configure 2012-07-10 23:33:02.783701852 +0200
+@@ -342,7 +342,7 @@ check_libconfig(){
+ err=1
+ if `which "$config" 1>/dev/null 2>&1`; then
+ cflags=`$config $ccflags`
+- [ -n "$cflags" ] && check_cflags "$cflags"
++ [ -n "$cflags" ] && check_cflags $cflags
+ libs=`$config $clibs`
+ if [ -n "$libs" ]; then
+ temp_extralibs "$libs"
+@@ -364,7 +364,7 @@ check_libconfig_exists(){
+ err=1
+ if `which "$config" 1>/dev/null 2>&1`; then
+ cflags=`$config $ccflags`
+- [ -n "$cflags" ] && temp_cflags "$cflags"
++ [ -n "$cflags" ] && temp_cflags $cflags
+ libs=`$config $clibs`
+ if [ -n "$libs" ]; then
+ temp_extralibs "$libs"
+@@ -386,7 +386,7 @@ check_pkgconfig(){
+ err=1
+ if `which pkg-config 1>/dev/null 2>&1`; then
+ cflags=`pkg-config $pkg $ccflags`
+- [ -n "$cflags" ] && check_cflags "$cflags"
++ [ -n "$cflags" ] && check_cflags $cflags
+ libs=`pkg-config $pkg $clibs`
+ if [ -n "$libs" ]; then
+ temp_extralibs "$libs"