The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libplayer / 0002-fix-configure-cflags.patch
1 From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2 Subject: [PATCH] libplayer: Fix handling of cflags in configure.
3
4 The cflags returned by pkg-config or another config script may consist
5 of several arguments for the compiler.  These should not be quoted together
6 into a single argument.
7
8 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
9 ---
10 Sent upstream to devel@geexbox.org on July 11, 2012.
11 ---
12 diff -rup libplayer-2.0.1.orig/configure libplayer-2.0.1/configure
13 --- libplayer-2.0.1.orig/configure      2010-10-03 19:26:11.000000000 +0200
14 +++ libplayer-2.0.1/configure   2012-07-10 23:33:02.783701852 +0200
15 @@ -342,7 +342,7 @@ check_libconfig(){
16    err=1
17    if `which "$config" 1>/dev/null 2>&1`; then
18      cflags=`$config $ccflags`
19 -    [ -n "$cflags" ] && check_cflags "$cflags"
20 +    [ -n "$cflags" ] && check_cflags $cflags
21      libs=`$config $clibs`
22      if [ -n "$libs" ]; then
23        temp_extralibs "$libs"
24 @@ -364,7 +364,7 @@ check_libconfig_exists(){
25    err=1
26    if `which "$config" 1>/dev/null 2>&1`; then
27      cflags=`$config $ccflags`
28 -    [ -n "$cflags" ] && temp_cflags "$cflags"
29 +    [ -n "$cflags" ] && temp_cflags $cflags
30      libs=`$config $clibs`
31      if [ -n "$libs" ]; then
32        temp_extralibs "$libs"
33 @@ -386,7 +386,7 @@ check_pkgconfig(){
34    err=1
35    if `which pkg-config 1>/dev/null 2>&1`; then
36      cflags=`pkg-config $pkg $ccflags`
37 -    [ -n "$cflags" ] && check_cflags "$cflags"
38 +    [ -n "$cflags" ] && check_cflags $cflags
39      libs=`pkg-config $pkg $clibs`
40      if [ -n "$libs" ]; then
41        temp_extralibs "$libs"