multimedia/vapoursynth: Fix build on current.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-10-29 06:26:39 +07:00
parent a77e0c4747
commit db69adce33

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vapoursynth
VERSION=${VERSION:-R52}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -83,6 +83,13 @@ find -L . \
# https://github.com/vapoursynth/vapoursynth/pull/650
patch -p1 < $CWD/650.patch
# Thanks to Lockywolf
sed -i '38i#include <limits>' src/core/genericfilters.cpp
sed -i '19a#include <limits>' src/core/kernel/generic.cpp
sed -i '21i#include <limits>' src/core/exprfilter.cpp
sed -i '21i#include <limits>' src/filters/misc/miscfilters.cpp
sed -i '27i#include <limits>' src/filters/removegrain/clense.cpp
autoreconf -fi
CFLAGS="$SLKCFLAGS" \