diff options
-rw-r--r-- | multimedia/plex-home-theater/plex-home-theater.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild index c23fad3237739..b13f2e9a9c176 100644 --- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild +++ b/multimedia/plex-home-theater/plex-home-theater.SlackBuild @@ -82,6 +82,12 @@ patch -p0 < $CWD/disable_via_ace.patch # https://raw.githubusercontent.com/foux/fouxlay/master/media-tv/plex-home-theater/files/fribidi.patch patch -p1 < $CWD/fribidi.patch +# Fix "'asm' operand has impossible constraints" build failure in embedded ffmpeg +if [ "$ARCH" != 'x86_64' ]; then + sed -i -e 's/get_cabac(/get_cabac_noinline(/g' lib/ffmpeg/libavcodec/cabac.c + sed -i -e 's/get_cabac(/get_cabac_noinline(/g' lib/ffmpeg/libavcodec/h264_cabac.c +fi + mkdir build cd build |