mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
teeworlds: update to 0.7.4.
This commit is contained in:
parent
0358190c5a
commit
abef6ad155
2 changed files with 3 additions and 27 deletions
|
@ -1,24 +0,0 @@
|
|||
This fixes big endian builds in general.
|
||||
|
||||
From 7dc19230d04a895cfc1085cf5b0e62326d6e2cd3 Mon Sep 17 00:00:00 2001
|
||||
From: Jordy Ruiz <jordy.ruiz@univ-lille.fr>
|
||||
Date: Fri, 26 Apr 2019 17:55:03 +0200
|
||||
Subject: [PATCH] Fix s390x: explicit conversion to unsigned
|
||||
|
||||
---
|
||||
src/engine/shared/datafile.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/engine/shared/datafile.cpp b/src/engine/shared/datafile.cpp
|
||||
index 676800c637..c4e809738e 100644
|
||||
--- src/engine/shared/datafile.cpp
|
||||
+++ src/engine/shared/datafile.cpp
|
||||
@@ -172,7 +172,7 @@ bool CDataFileReader::Open(class IStorage *pStorage, const char *pFilename, int
|
||||
m_pDataFile = pTmpDataFile;
|
||||
|
||||
#if defined(CONF_ARCH_ENDIAN_BIG)
|
||||
- swap_endian(m_pDataFile->m_pData, sizeof(int), min(static_cast<unsigned>(Header.m_Swaplen), Size) / sizeof(int));
|
||||
+ swap_endian(m_pDataFile->m_pData, sizeof(int), min(static_cast<unsigned>(Header.m_Swaplen), static_cast<unsigned>(Size)) / sizeof(int));
|
||||
#endif
|
||||
|
||||
//if(DEBUG)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'teeworlds'
|
||||
pkgname=teeworlds
|
||||
version=0.7.3.1
|
||||
revision=2
|
||||
version=0.7.4
|
||||
revision=1
|
||||
hostmakedepends="bam python pkg-config"
|
||||
makedepends="zlib-devel SDL2-devel glu-devel freetype-devel"
|
||||
short_desc="Retro multiplayer shooter"
|
||||
|
@ -9,7 +9,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="custom"
|
||||
homepage="https://www.teeworlds.com"
|
||||
distfiles="https://github.com/teeworlds/teeworlds/archive/${version}.tar.gz"
|
||||
checksum=62da301f20dfc20e2e480223dc1fc4ea5f9bfbfa6bc304c4c7732071a319ffd4
|
||||
checksum=272391773b16eb854c824e23ed04ed9e7f0aa605d585277dc4136193227222b5
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686) _ARCH=x86;;
|
||||
|
|
Loading…
Add table
Reference in a new issue