1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

games/wyrmgus: update to 5.0.1

This commit is contained in:
Dmitry Marakasov 2021-08-24 01:10:38 +03:00
parent e148e1d447
commit 9aeed41c8f
3 changed files with 20 additions and 7 deletions

View File

@ -1,9 +1,8 @@
# Created by: Travis Poppe <tlp@liquidx.org>
PORTNAME= wyrmgus
PORTVERSION= 4.1.4
PORTVERSION= 5.0.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= games devel
MAINTAINER= amdmi3@FreeBSD.org
@ -20,10 +19,11 @@ GH_ACCOUNT= Andrettin
GH_PROJECT= Wyrmgus
USES= cmake compiler:c++17-lang lua:51 pkgconfig sdl sqlite qt:5 xorg
USE_QT= core gui widgets multimedia location declarative network \
USE_QT= core gui widgets multimedia location \
quickcontrols quickcontrols2 graphicaleffects \
qmake_build buildtools_build
USE_XORG= x11
USE_SDL= sdl mixer
USE_SDL= sdl2 mixer2
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
-DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1614275655
SHA256 (Andrettin-Wyrmgus-v4.1.4_GH0.tar.gz) = 583616cf9d744739c1a160d81d13905cefa3c1dd30c1c5d2cfa8da8ad7a5cd4e
SIZE (Andrettin-Wyrmgus-v4.1.4_GH0.tar.gz) = 1561342
TIMESTAMP = 1629717520
SHA256 (Andrettin-Wyrmgus-v5.0.1_GH0.tar.gz) = a149e6d6f80471ee017f1182b68c4a22256da220fc569a68a3cc9cc950a28141
SIZE (Andrettin-Wyrmgus-v5.0.1_GH0.tar.gz) = 1567090

View File

@ -0,0 +1,13 @@
std::filesystem::path::u8string may return std::string depending on standard
--- src/util/path_util.h.orig 2021-08-22 18:46:24 UTC
+++ src/util/path_util.h
@@ -31,7 +31,7 @@ namespace wyrmgus::path {
inline std::string to_string(const std::filesystem::path &path)
{
//convert a path to a UTF-8 encoded string
- const std::u8string u8str = path.u8string();
+ const auto u8str = path.u8string();
return std::string(u8str.begin(), u8str.end());
}