diff options
Diffstat (limited to 'multimedia/gnash/gnash.SlackBuild')
-rw-r--r-- | multimedia/gnash/gnash.SlackBuild | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild index 6e359cf86e..9e30ea2234 100644 --- a/multimedia/gnash/gnash.SlackBuild +++ b/multimedia/gnash/gnash.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=gnash VERSION=${VERSION:-0.8.11dev_20190130} SRCVER=${SRCVER:-583ccbc1275c7701dc4843ec12142ff86bb305b4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -99,6 +99,21 @@ cd $PRGNAM-$SRCVER chown -R root:root . chmod -R u+w,go-w,a+rX-st . +# jemalloc(3) wants <jemalloc/jemalloc.h>, not <jemalloc.h> +sed -i 's|jemalloc.h|jemalloc/jemalloc.h|' \ + libbase/jemalloc_gnash.c \ + configure.ac + +# Fix giflib version check for API change +sed -i 's|GIFLIB_MINOR==1|GIFLIB_MINOR>=1|' \ + libbase/GnashImageGif.cpp + +# Consider using --enable-media=... to disable ffmpeg +# if this isn't sufficient for compatibility with latest ffmpeg +sed -i 's|FF_INPUT_BUFFER_PADDING_SIZE|AV_INPUT_BUFFER_PADDING_SIZE|' \ + libmedia/ffmpeg/MediaHandlerFfmpeg.cpp \ + libmedia/ffmpeg/MediaParserFfmpeg.cpp + autoreconf -vif ./configure \ --prefix=/usr \ |