diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-04-13 13:40:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-04-16 08:20:02 +0700 |
commit | b88738ef84bd060058fdb57b599bd18f88ee3c09 (patch) | |
tree | ed4c4f6aab2f0dd0f26ce2072210d4bb43552e44 /multimedia | |
parent | 2c2c45d4a0ad6396edb7dba02da128c5a6ecb546 (diff) |
multimedia/plex-home-theater: Fix build on i586.
Diffstat (limited to 'multimedia')
-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 c23fad323773..b13f2e9a9c17 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 |