~ubuntu-branches/ubuntu/lucid/alsa-lib/lucid

« back to all changes in this revision

Viewing changes to debian/patches/configure_cross_compile.patch

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-11-04 19:04:11 UTC
  • mfrom: (1.1.12 upstream) (2.2.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091104190411-igse8f4bzca8dq5x
Tags: 1.0.21a-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules:
    + Don't bail when removing include/alsa
  - debian/control: Add Vcs-Bzr URI
  - Add configuration files for bluetooth/bluez-alsa and pulseaudio
  - debian/libasound2.install: Ship smixer plugins for native and bi-arch
    packages
  - drop libcxxtools-dev build dependency, its in universe
  - debian/patches/Fix-fpe-snd_pcm_mmap_begin.patch: Handle attempts to
    divide by zero

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# configure_cross_compile.patch by Loic Minier <lool@dooz.org>
2
2
# Remove check that the compiler produces executables we can run. 
3
 
Index: alsa-lib-1.0.20/configure
 
3
Index: alsa-lib-1.0.21/configure
4
4
===================================================================
5
 
--- alsa-lib-1.0.20.orig/configure      2009-05-10 12:28:04.000000000 +0200
6
 
+++ alsa-lib-1.0.20/configure   2009-05-10 12:28:04.000000000 +0200
7
 
@@ -3225,7 +3225,7 @@
 
5
--- alsa-lib-1.0.21.orig/configure      2009-09-03 20:33:46.000000000 +0200
 
6
+++ alsa-lib-1.0.21/configure   2009-09-03 20:33:46.000000000 +0200
 
7
@@ -3515,7 +3515,7 @@
 
8
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
8
9
 $as_echo_n "checking whether the C compiler works... " >&6; }
9
 
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10
10
 # If not cross compiling, check that we can run a simple program.
11
11
-if test "$cross_compiling" != yes; then
12
12
+if false && test "$cross_compiling" != yes; then
13
13
   if { ac_try='./$ac_file'
14
 
   { (case "(($ac_try" in
 
14
   { { case "(($ac_try" in
15
15
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;