summaryrefslogtreecommitdiffstats
path: root/package/mplayer/0004-configure-zlib.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-05-28 11:27:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-05-28 13:23:29 +0200
commit04658d5003353a84f120ed5ceb5d815f1a5b354d (patch)
tree9ab07ee491cf8bd064a196d63fc04ce156c7f307 /package/mplayer/0004-configure-zlib.patch
parenta1db78af758f702e87144fdc5c3c1d154a8f723f (diff)
downloadbuildroot-04658d5003353a84f120ed5ceb5d815f1a5b354d.tar.gz
buildroot-04658d5003353a84f120ed5ceb5d815f1a5b354d.zip
package/mplayer: bump version to 1.3.0
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>
Diffstat (limited to 'package/mplayer/0004-configure-zlib.patch')
-rw-r--r--package/mplayer/0004-configure-zlib.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/mplayer/0004-configure-zlib.patch b/package/mplayer/0004-configure-zlib.patch
new file mode 100644
index 0000000000..7c1b2c8ec0
--- /dev/null
+++ b/package/mplayer/0004-configure-zlib.patch
@@ -0,0 +1,30 @@
+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"
+
OpenPOWER on IntegriCloud