games/supertux: Updated for version 0.6.2_rc.1.
Added a patch for boost >= 1.73.0 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
468ba087a3
commit
404b75b9a1
|
@ -0,0 +1,25 @@
|
|||
From dec7fb943c532f855e5c0ae2eb39d2d82a46a506 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Sat, 9 May 2020 03:04:02 +0200
|
||||
Subject: [PATCH] Fix build with boost-1.73
|
||||
|
||||
---
|
||||
src/editor/object_settings.hpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/editor/object_settings.hpp b/src/editor/object_settings.hpp
|
||||
index bc9049a94..15b77b1e4 100644
|
||||
--- a/src/editor/object_settings.hpp
|
||||
+++ b/src/editor/object_settings.hpp
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "editor/object_option.hpp"
|
||||
|
||||
+#include <algorithm>
|
||||
+
|
||||
class Color;
|
||||
enum class Direction;
|
||||
enum class WalkMode;
|
||||
--
|
||||
2.26.2
|
||||
|
|
@ -25,7 +25,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=supertux
|
||||
VERSION=${VERSION:-0.6.1}
|
||||
VERSION=${VERSION:-0.6.2_rc.1}
|
||||
SRCVERSION=$(echo $VERSION | tr _ - )
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -61,9 +62,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/SuperTux-v$VERSION-Source.tar.gz
|
||||
cd SuperTux-v$VERSION-Source
|
||||
rm -rf $PRGNAM-$SRCVERSION
|
||||
tar xvf $CWD/SuperTux-v$SRCVERSION-Source.tar.gz
|
||||
cd SuperTux-v$SRCVERSION-Source
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -71,6 +72,8 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/supertux-0.6.2_rc1-boost-1.73.patch
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="supertux"
|
||||
VERSION="0.6.1"
|
||||
VERSION="0.6.2_rc.1"
|
||||
HOMEPAGE="https://github.com/SuperTux/supertux"
|
||||
DOWNLOAD="https://github.com/SuperTux/supertux/releases/download/v0.6.1/SuperTux-v0.6.1-Source.tar.gz"
|
||||
MD5SUM="d7c9d70ef8501b4786908353202066e4"
|
||||
DOWNLOAD="https://github.com/SuperTux/supertux/releases/download/v0.6.2-rc.1/SuperTux-v0.6.2-rc.1-Source.tar.gz"
|
||||
MD5SUM="e4f1b5b112b729bfda801d058d09b7c0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="SDL2_image OpenAL physfs"
|
||||
|
|
Loading…
Reference in New Issue