0004-configure-zlib.patch 1.2 KB

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