diff options
Diffstat (limited to 'multimedia/vapoursynth/vapoursynth.SlackBuild')
-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 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 <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" \ |