mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
sumo: update to 1.5.0.
This commit is contained in:
parent
8e7f2f4f21
commit
d39696744d
2 changed files with 6 additions and 19 deletions
|
@ -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)
|
|
||||||
{
|
|
|
@ -1,13 +1,14 @@
|
||||||
# Template file for 'sumo'
|
# Template file for 'sumo'
|
||||||
pkgname=sumo
|
pkgname=sumo
|
||||||
version=1.3.1
|
version=1.5.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
python_version=3
|
||||||
hostmakedepends="libgdal-tools pkg-config swig python3"
|
hostmakedepends="libgdal-tools pkg-config swig python3"
|
||||||
makedepends="fox-devel gl2ps-devel libgdal-devel libxerces-c-devel osg-devel proj-devel"
|
makedepends="fox-devel gl2ps-devel libgdal-devel libxerces-c-devel osg-devel proj-devel"
|
||||||
short_desc="SUMO (Simulation of Urban MObility) and included applications"
|
short_desc="SUMO (Simulation of Urban MObility) and included applications"
|
||||||
maintainer="Warrior Graph <marques@larces.uece.br>"
|
maintainer="Warrior Graph <marques@larces.uece.br>"
|
||||||
license="EPL-2.0"
|
license="EPL-2.0"
|
||||||
homepage="http://sumo.sourceforge.net/"
|
homepage="https://sumo.dlr.de"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-${version}.tar.gz"
|
distfiles="https://sumo.dlr.de/releases/${version}/sumo-src-${version}.tar.gz"
|
||||||
checksum=dd089814499cc8d21ea90ab506adbb01e7fda9d9685d9d90a1a41cc3fe680505
|
checksum=dcf5339fdda0659fa44fcfd69fe3f4e03009aa9a59849624f2a3cfe72eda9f8e
|
||||||
|
|
Loading…
Add table
Reference in a new issue