diff options
-rw-r--r-- | games/speed-dreams/speed-dreams-params-conversion.patch | 22 | ||||
-rw-r--r-- | games/speed-dreams/speed-dreams.SlackBuild | 15 | ||||
-rw-r--r-- | games/speed-dreams/speed-dreams.info | 18 |
3 files changed, 15 insertions, 40 deletions
diff --git a/games/speed-dreams/speed-dreams-params-conversion.patch b/games/speed-dreams/speed-dreams-params-conversion.patch deleted file mode 100644 index 16bd19d2f7..0000000000 --- a/games/speed-dreams/speed-dreams-params-conversion.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/libs/tgf/params.cpp.orig 2017-02-14 10:32:38.701066427 +0100 -+++ src/libs/tgf/params.cpp 2017-02-14 10:33:19.425879383 +0100 -@@ -3809,7 +3809,7 @@ - if( lastSlash != NULL && key ) - { - *key = lastSlash + 1; -- lastSlash = '\0'; -+ lastSlash = NULL; - } - else if( key ) - { ---- src/libs/tgfclient/openalmusicplayer.cpp.orig 2017-02-14 13:14:10.870735828 +0100 -+++ src/libs/tgfclient/openalmusicplayer.cpp 2017-02-14 13:15:11.592684153 +0100 -@@ -171,7 +171,7 @@ - { - char pcm[BUFFERSIZE]; - int size = 0; -- const char* error = '\0'; -+ const char* error = NULL; - - if (!_stream->read(pcm, BUFFERSIZE, &size, error)) { - GfLogError("OpenALMusicPlayer: Stream read error: %s\n", error); diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild index 04e05a0b7e..16a75f8448 100644 --- a/games/speed-dreams/speed-dreams.SlackBuild +++ b/games/speed-dreams/speed-dreams.SlackBuild @@ -3,10 +3,13 @@ # Slackware build script for the game Speed Dreams # written by powtrix (@gmail.com) +# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0, +# by updating to v2.2.3_r7616. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=speed-dreams -VERSION=${VERSION:-2.2.2_r6553} +VERSION=${VERSION:-2.2.3_r7616} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -21,9 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -63,12 +63,9 @@ tar xvf $CWD/$PRGNAM-src-wip-cars-and-tracks-$SRCVERSION.tar.xz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Thanks fedora -patch -p0 < $CWD/speed-dreams-params-conversion.patch + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ mkdir build cd build diff --git a/games/speed-dreams/speed-dreams.info b/games/speed-dreams/speed-dreams.info index 8f9160537f..5fcacff770 100644 --- a/games/speed-dreams/speed-dreams.info +++ b/games/speed-dreams/speed-dreams.info @@ -1,14 +1,14 @@ PRGNAM="speed-dreams" -VERSION="2.2.2_r6553" +VERSION="2.2.3_r7616" HOMEPAGE="http://www.speed-dreams.org/" -DOWNLOAD="https://sf.net/projects/speed-dreams/files/2.2.2/speed-dreams-src-base-2.2.2-r6553.tar.xz \ - https://sf.net/projects/speed-dreams/files/2.2.2/speed-dreams-src-hq-cars-and-tracks-2.2.2-r6553.tar.xz \ - https://sf.net/projects/speed-dreams/files/2.2.2/speed-dreams-src-more-hq-cars-and-tracks-2.2.2-r6553.tar.xz \ - https://sf.net/projects/speed-dreams/files/2.2.2/speed-dreams-src-wip-cars-and-tracks-2.2.2-r6553.tar.xz" -MD5SUM="75dcdc727f7b40b3a9b8e6dace72612f \ - ed11647ad2d479dc4012ffd79375b995 \ - d615eda2c443a2e5ce74cf45d5374062 \ - bc183b3e80c742bc249f630cb029920c" +DOWNLOAD="https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-base-2.2.3-r7616.tar.xz \ + https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-hq-cars-and-tracks-2.2.3-r7616.tar.xz \ + https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-more-hq-cars-and-tracks-2.2.3-r7616.tar.xz \ + https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-wip-cars-and-tracks-2.2.3-r7616.tar.xz" +MD5SUM="9db757fb19d2f01f002df5d2f2d468e3 \ + 9aeb1f7b77c54c7c4b0f15acc82df807 \ + 3f49f465fc8e841da070a1ef8405e92d \ + 6439507f2109cb5dbaee41623a0a7f66" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="enet plib OpenSceneGraph" |