From db69adce33dbb84d116674c96d683ea504ec8ceb Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 29 Oct 2021 06:26:39 +0700 Subject: multimedia/vapoursynth: Fix build on current. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/vapoursynth/vapoursynth.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/multimedia/vapoursynth/vapoursynth.SlackBuild b/multimedia/vapoursynth/vapoursynth.SlackBuild index b3cbe7c5aa..4bd98b3fe4 100644 --- a/multimedia/vapoursynth/vapoursynth.SlackBuild +++ b/multimedia/vapoursynth/vapoursynth.SlackBuild @@ -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 ' src/core/genericfilters.cpp +sed -i '19a#include ' src/core/kernel/generic.cpp +sed -i '21i#include ' src/core/exprfilter.cpp +sed -i '21i#include ' src/filters/misc/miscfilters.cpp +sed -i '27i#include ' src/filters/removegrain/clense.cpp + autoreconf -fi CFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3