From c12a3dcc11a93bd4a8852c4889c371a83cd1cb5d Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 14 Apr 2017 21:21:49 +0700 Subject: games/yabause: Patched to fix build with ffmpeg 3.x. Signed-off-by: Willy Sudiarto Raharjo --- games/yabause/yabause.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'games/yabause/yabause.SlackBuild') diff --git a/games/yabause/yabause.SlackBuild b/games/yabause/yabause.SlackBuild index b3706d90fd7f8..19089d158ee93 100644 --- a/games/yabause/yabause.SlackBuild +++ b/games/yabause/yabause.SlackBuild @@ -24,12 +24,12 @@ PRGNAM=yabause VERSION=${VERSION:-0.9.15} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -82,6 +82,9 @@ for pic in $(find . -name "*\.png");do mv ${pic}.new $pic done +# Patch against ffmpeg 3 +patch -p1 < $CWD/ffmpeg3.patch + mkdir build cd build cmake -G "Unix Makefiles" \ -- cgit v1.2.3