sumo: update to 1.5.0.

This commit is contained in:
Juan RP 2020-03-04 08:53:09 +01:00
parent 8e7f2f4f21
commit d39696744d
2 changed files with 6 additions and 19 deletions

View file

@ -1,14 +0,0 @@
# Contributed by Chocimier@github
diff --git src/foreign/zstr/strict_fstream.hpp src/foreign/zstr/strict_fstream.hpp
index c0fae8f..313f71a 100644
--- src/foreign/zstr/strict_fstream.hpp
+++ src/foreign/zstr/strict_fstream.hpp
@@ -33,7 +33,7 @@ static std::string strerror()
{
buff = "Unknown error";
}
-#elif __APPLE__ || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
+#elif __APPLE__ || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || !defined(__GLIBC__)
// XSI-compliant strerror_r()
if (strerror_r(errno, &buff[0], buff.size()) != 0)
{

View file

@ -1,13 +1,14 @@
# Template file for 'sumo'
pkgname=sumo
version=1.3.1
revision=3
version=1.5.0
revision=1
build_style=cmake
python_version=3
hostmakedepends="libgdal-tools pkg-config swig python3"
makedepends="fox-devel gl2ps-devel libgdal-devel libxerces-c-devel osg-devel proj-devel"
short_desc="SUMO (Simulation of Urban MObility) and included applications"
maintainer="Warrior Graph <marques@larces.uece.br>"
license="EPL-2.0"
homepage="http://sumo.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-${version}.tar.gz"
checksum=dd089814499cc8d21ea90ab506adbb01e7fda9d9685d9d90a1a41cc3fe680505
homepage="https://sumo.dlr.de"
distfiles="https://sumo.dlr.de/releases/${version}/sumo-src-${version}.tar.gz"
checksum=dcf5339fdda0659fa44fcfd69fe3f4e03009aa9a59849624f2a3cfe72eda9f8e