mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/vapoursynth: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a77e0c4747
commit
db69adce33
1 changed files with 8 additions and 1 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue