supertuxkart: update to 1.1.

This commit is contained in:
mobinmob 2020-01-08 21:40:00 +02:00 committed by Helmut Pozimski
parent 5eeb531245
commit ee5760ee7f
3 changed files with 5 additions and 30 deletions

View File

@ -1,11 +0,0 @@
--- lib/irrlicht/source/Irrlicht/COSOperator.cpp.orig 2017-11-20 11:54:09.862922068 +0100
+++ lib/irrlicht/source/Irrlicht/COSOperator.cpp 2017-11-20 11:54:36.294203640 +0100
@@ -14,7 +14,7 @@
#if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__)
#include <sys/param.h>
#include <sys/types.h>
-#ifdef ANDROID
+#if defined(ANDROID) || !defined(__GLIBC__)
#include <linux/sysctl.h>
#else
#include <sys/sysctl.h>

View File

@ -1,15 +0,0 @@
--- src/utils/log.hpp 2015-04-21 13:32:22.936220206 +0200
+++ src/utils/log.hpp 2015-08-15 23:43:09.392887849 +0200
@@ -26,10 +26,10 @@
#include <stdlib.h>
#include <string>
-#ifdef __GNUC__
+#if defined(__GLIBC__)
# define VALIST __gnuc_va_list
#else
-# define VALIST char*
+# define VALIST va_list
#endif
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1800

View File

@ -1,21 +1,22 @@
# Template file for 'supertuxkart' # Template file for 'supertuxkart'
pkgname=supertuxkart pkgname=supertuxkart
version=1.0 version=1.1
revision=2 revision=1
archs="i686* x86_64* ppc64*" archs="i686* x86_64* ppc64*"
wrksrc="${pkgname}-${version}-src"
build_style=cmake build_style=cmake
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libgomp-devel libjpeg-turbo-devel libpng-devel makedepends="libgomp-devel libjpeg-turbo-devel libpng-devel
libbluetooth-devel glu-devel libvorbis-devel libXrandr-devel libbluetooth-devel glu-devel libvorbis-devel libXrandr-devel
libopenal-devel fribidi-devel libcurl-devel freetype-devel libopenal-devel fribidi-devel libcurl-devel freetype-devel
libopenglrecorder-devel wayland-devel" libopenglrecorder-devel wayland-devel harfbuzz-devel"
depends="desktop-file-utils hicolor-icon-theme supertuxkart-data" depends="desktop-file-utils hicolor-icon-theme supertuxkart-data"
short_desc="Kart racing game featuring Tux and his friends" short_desc="Kart racing game featuring Tux and his friends"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="http://supertuxkart.sourceforge.net/" homepage="http://supertuxkart.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.xz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.xz"
checksum=6d88f43f0de5202766ba305c87e3d9843103e81d31b7193059286098d2a5d980 checksum=e9b02b0b11ab68aacaec38306903feffe59a501224805cd3645cebf10e880ae8
supertuxkart-data_package() { supertuxkart-data_package() {
short_desc+=" - data files" short_desc+=" - data files"