![Bernd Kuhls](/assets/img/avatar_default.png)
Added upstream commit to fix compilation when zlib is missing. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
configure: Fix compilation when zlib is missing.
|
|
|
|
Downloaded from upstream commit:
|
|
|
|
$ LC_ALL=C svn log -r 37816
|
|
------------------------------------------------------------------------
|
|
r37816 | reimar | 2016-02-28 14:39:42 +0100 (Sun, 28 Feb 2016) | 3 lines
|
|
|
|
configure: Fix compilation when zlib is missing.
|
|
|
|
APNG and a few other decoders also cannot be enabled without it.
|
|
------------------------------------------------------------------------
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
|
|
Index: configure
|
|
===================================================================
|
|
--- a/configure (revision 37795)
|
|
+++ b/configure (revision 37816)
|
|
@@ -6464,8 +6464,8 @@
|
|
mplayer_encoders="$mplayer_encoders PNG_ENCODER"
|
|
else
|
|
def_zlib='#define CONFIG_ZLIB 0'
|
|
- libavdecoders=$(filter_out_component decoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M TSCC ZEROCODEC')
|
|
- libavencoders=$(filter_out_component encoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB')
|
|
+ libavdecoders=$(filter_out_component decoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M RSCC SCREENPRESSO TDSC TSCC ZEROCODEC')
|
|
+ libavencoders=$(filter_out_component encoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB')
|
|
fi
|
|
echores "$_zlib"
|
|
|