• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libplayer/libplayer-fix-configure-cflags.patch
Arnout VandecappelleArnout Vandecappelle committed 05431ab52c514 Jul 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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"
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.