From 32d3dac6f00a3c99842071d327e1573896b816ea Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 19 May 2020 14:24:00 -0700 Subject: [PATCH] ffmpeg: fix compilation with glibc No idea why. Patch submitted upstream: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200503090023.29418-1-rosenp@gmail.com/ Signed-off-by: Rosen Penev --- multimedia/ffmpeg/Makefile | 2 +- multimedia/ffmpeg/patches/050-glibc.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 multimedia/ffmpeg/patches/050-glibc.patch diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 6e1b3770f7..2933151d4a 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ffmpeg PKG_VERSION:=4.2.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://ffmpeg.org/releases/ diff --git a/multimedia/ffmpeg/patches/050-glibc.patch b/multimedia/ffmpeg/patches/050-glibc.patch new file mode 100644 index 0000000000..870a87ad07 --- /dev/null +++ b/multimedia/ffmpeg/patches/050-glibc.patch @@ -0,0 +1,10 @@ +--- a/libavcodec/wmv2dsp.c ++++ b/libavcodec/wmv2dsp.c +@@ -263,6 +263,6 @@ av_cold void ff_wmv2dsp_init(WMV2DSPContext *c) + c->put_mspel_pixels_tab[6] = put_mspel8_mc22_c; + c->put_mspel_pixels_tab[7] = put_mspel8_mc32_c; + +- if (ARCH_MIPS) ++ if (ARCH_MIPS64) + ff_wmv2dsp_init_mips(c); + } -- 2.30.2