]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/mplayer/0004-configure-zlib.patch
7c1b2c8ec0241616ca87f585c4a79ba2115d2a71
[coffee/buildroot.git] / package / mplayer / 0004-configure-zlib.patch
1 configure: Fix compilation when zlib is missing.
2
3 Downloaded from upstream commit:
4
5 $ LC_ALL=C svn log -r 37816
6 ------------------------------------------------------------------------
7 r37816 | reimar | 2016-02-28 14:39:42 +0100 (Sun, 28 Feb 2016) | 3 lines
8
9 configure: Fix compilation when zlib is missing.
10
11 APNG and a few other decoders also cannot be enabled without it.
12 ------------------------------------------------------------------------
13
14 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
15
16 Index: configure
17 ===================================================================
18 --- a/configure (revision 37795)
19 +++ b/configure (revision 37816)
20 @@ -6464,8 +6464,8 @@
21    mplayer_encoders="$mplayer_encoders PNG_ENCODER"
22  else
23    def_zlib='#define CONFIG_ZLIB 0'
24 -  libavdecoders=$(filter_out_component decoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M TSCC ZEROCODEC')
25 -  libavencoders=$(filter_out_component encoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB')
26 +  libavdecoders=$(filter_out_component decoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M RSCC SCREENPRESSO TDSC TSCC ZEROCODEC')
27 +  libavencoders=$(filter_out_component encoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB')
28  fi
29  echores "$_zlib"
30