summaryrefslogtreecommitdiff
path: root/multimedia/plex-home-theater
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-04-13 13:40:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-16 08:20:02 +0700
commitb88738ef84bd060058fdb57b599bd18f88ee3c09 (patch)
treeed4c4f6aab2f0dd0f26ce2072210d4bb43552e44 /multimedia/plex-home-theater
parent2c2c45d4a0ad6396edb7dba02da128c5a6ecb546 (diff)
downloadslackbuilds-b88738ef84bd060058fdb57b599bd18f88ee3c09.tar.gz
multimedia/plex-home-theater: Fix build on i586.
Diffstat (limited to 'multimedia/plex-home-theater')
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.SlackBuild6
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 c23fad3237..b13f2e9a9c 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