sumo: update to 1.3.1
This commit is contained in:
parent
fc7f9d7ed4
commit
2f1d83c41c
2 changed files with 17 additions and 3 deletions
14
srcpkgs/sumo/patches/musl.patch
Normal file
14
srcpkgs/sumo/patches/musl.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
# 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,7 +1,7 @@
|
|||
# Template file for 'sumo'
|
||||
pkgname=sumo
|
||||
version=1.2.0
|
||||
revision=3
|
||||
version=1.3.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="libgdal-tools pkg-config swig python3"
|
||||
makedepends="fox-devel gl2ps-devel libgdal-devel libxerces-c-devel osg-devel proj-devel"
|
||||
|
@ -10,4 +10,4 @@ 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=361ca67ba08b01499b1474e5949b4ddb9b6de3f9ded4bdba18c1da18bcf00190
|
||||
checksum=dd089814499cc8d21ea90ab506adbb01e7fda9d9685d9d90a1a41cc3fe680505
|
||||
|
|
Loading…
Reference in a new issue