python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / freeswitch / 0001-libvpx-cross.patch
bloba2583dac35133ccf471ce4435b53436a37d61e63
1 Fix cross-compiling libvpx
3 Freeswitch since version 1.6.7 only uses an in-tree-version of libvpx:
4 https://freeswitch.org/fisheye/changelog/freeswitch?cs=febe0f8dacea2d2a31902b3dc469be757f8c3c4d
6 It is not possible to use an external version of libvpx anymore.
7 Unfortunately the freeswitch build system has no support for cross-
8 compiling libvpx so we need to patch Makefile to pass CROSS from
9 package/freeswitch/freeswitch.mk and add target=generic-gnu as
10 configure parameter:
11 https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/libvpx/README#110
13 And yes, autoreconf is also broken, so we patch Makefile.in instead
14 of Makefile.am.
16 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
18 diff -uNr freeswitch-1.6.7.org/Makefile.in freeswitch-1.6.7/Makefile.in
19 --- freeswitch-1.6.7.org/Makefile.in 2016-04-01 18:09:54.000000000 +0200
20 +++ freeswitch-1.6.7/Makefile.in 2016-04-22 20:11:37.938961730 +0200
21 @@ -3491,7 +3491,7 @@
22 cd libs/libzrtp && $(MAKE)
24 libs/libvpx/Makefile:
25 - cd libs/libvpx && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="$(VISIBILITY_FLAG)"
26 + cd libs/libvpx && CROSS=$(CROSS) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --target=generic-gnu --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="$(VISIBILITY_FLAG)"
28 libs/libvpx/libvpx.a: libs/libvpx/Makefile
29 @cd libs/libvpx && $(MAKE)