[package] fix urbi compilation failure on octeon (#6987)
[openwrt/svn-archive/archive.git] / sound / sox / patches / 001-cross_compile.patch
1 diff -urN sox-14.0.1/src/Makefile.am sox-14.0.1.new/src/Makefile.am
2 --- sox-14.0.1/src/Makefile.am 2008-01-14 04:40:59.000000000 +0100
3 +++ sox-14.0.1.new/src/Makefile.am 2008-07-14 14:14:37.000000000 +0200
4 @@ -288,10 +288,9 @@
5
6 EXTRA_DIST = tests.sh testall.sh tests.bat testall.bat monkey.au monkey.wav sox_sample_test.c amr-wb-test CMakeLists.txt soxstdint.h.cmake soxconfig.h.cmake example1.c
7
8 -all: sox$(EXEEXT) play rec sox_sample_test$(EXEEXT) example1$(EXEEXT)
9 +all: sox$(EXEEXT) play rec
10
11 play rec: sox$(EXEEXT)
12 - ./sox --help > /dev/null
13 test -f .libs/lt-sox && ( $(RM) $@ && $(LN_S) .libs/lt-sox $@ ) || $(LN_S) sox$(EXEEXT) $@
14
15 install-exec-hook:
16 diff -urN sox-14.0.1/src/Makefile.in sox-14.0.1.new/src/Makefile.in
17 --- sox-14.0.1/src/Makefile.in 2008-01-28 23:47:49.000000000 +0100
18 +++ sox-14.0.1.new/src/Makefile.in 2008-07-14 14:15:12.000000000 +0200
19 @@ -2426,10 +2426,9 @@
20 uninstall-libLTLIBRARIES uninstall-pkglibLTLIBRARIES
21
22
23 -all: sox$(EXEEXT) play rec sox_sample_test$(EXEEXT) example1$(EXEEXT)
24 +all: sox$(EXEEXT) play rec
25
26 play rec: sox$(EXEEXT)
27 - ./sox --help > /dev/null
28 test -f .libs/lt-sox && ( $(RM) $@ && $(LN_S) .libs/lt-sox $@ ) || $(LN_S) sox$(EXEEXT) $@
29
30 install-exec-hook: