supertux2: update to 0.6.2.

This commit is contained in:
Andrew Benson 2020-05-18 09:52:53 -05:00 committed by Andrew Benson
parent 3e5045f5b9
commit e1b7669599
2 changed files with 2 additions and 21 deletions

View File

@ -1,19 +0,0 @@
commit ab3daa606e215f43aa3077daad82cd2d55c38908
Author: q66 <daniel@octaforge.org>
Date: Mon Jan 6 03:02:59 2020 +0100
Fix build on big endian
diff --git src/audio/wav_sound_file.cpp src/audio/wav_sound_file.cpp
index c4036b1..e056f50 100644
--- src/audio/wav_sound_file.cpp
+++ src/audio/wav_sound_file.cpp
@@ -150,7 +150,7 @@ WavSoundFile::read(void* buffer, size_t buffer_size)
throw SoundError("read error while reading samples");
#ifdef WORDS_BIGENDIAN
- if (bits_per_sample != 16)
+ if (m_bits_per_sample != 16)
return readsize;
char *tmp = (char*)buffer;

View File

@ -1,6 +1,6 @@
# Template file for 'supertux2'
pkgname=supertux2
version=0.6.1.1
version=0.6.2
revision=1
wrksrc="SuperTux-v${version}-Source"
build_style=cmake
@ -18,7 +18,7 @@ maintainer="beefcurtains <beefcurtains@voidlinux.org>"
license="GPL-3.0-or-later, GPL-2.0-or-later, CC-BY-SA-3.0, CC-BY-SA-4.0, CC-BY-3.0"
homepage="https://supertux.github.io/"
distfiles="https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz"
checksum=2e8df0637b6e17534f7d7c2bd9b4f0f99aaf92389afc1abb9eb44d2a79c76658
checksum=26a9e56ea2d284148849f3239177d777dda5b675a10ab2d76ee65854c91ff598
supertux2-data_package() {
short_desc+=" - data files"