diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 06:26:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 06:26:39 +0700 |
commit | db69adce33dbb84d116674c96d683ea504ec8ceb (patch) | |
tree | 4c0aac80e02433159173d183ba69dcb2de6514ad /multimedia/vapoursynth | |
parent | a77e0c47474f7de445dbbfea871b3768290367ea (diff) |
multimedia/vapoursynth: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/vapoursynth')
-rw-r--r-- | multimedia/vapoursynth/vapoursynth.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/vapoursynth/vapoursynth.SlackBuild b/multimedia/vapoursynth/vapoursynth.SlackBuild index b3cbe7c5aa3d1..4bd98b3fe48e0 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 <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" \ |