simgear: update to 2020.3.11.

This commit is contained in:
Roberto Ricci 2021-07-26 14:40:53 +02:00 committed by Érico Nogueira Rolim
parent 2d1ad08fa4
commit 78032eff15
2 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
--- a/simgear/misc/strutils.cxx 2020-06-26 00:07:33.000000000 +0200
+++ b/simgear/misc/strutils.cxx 2020-08-22 19:50:07.043076612 +0200
@@ -1137,7 +1137,13 @@
@@ -1169,7 +1175,13 @@
// Always makes the string in 'buf' null-terminated
retcode = strerror_s(buf, sizeof(buf), errnum);
#elif defined(_GNU_SOURCE)
@ -14,7 +14,7 @@
#elif (_POSIX_C_SOURCE >= 200112L) || defined(SG_MAC) || defined(__FreeBSD__) || defined(__OpenBSD__)
int retcode;
// POSIX.1-2001 and POSIX.1-2008
@@ -1146,7 +1152,7 @@
@@ -1178,7 +1184,7 @@
#error "Could not find a thread-safe alternative to strerror()."
#endif

View file

@ -1,19 +1,20 @@
# Template file for 'simgear'
pkgname=simgear
version=2020.1.3
version=2020.3.11
revision=1
# XXX: always keep in sync with flightgear version!
build_style=cmake
configure_args="-DENABLE_TESTS=OFF -Wdev"
hostmakedepends="pkg-config"
makedepends="boost-devel freetype-devel libjpeg-turbo-devel giflib-devel
libcurl-devel libfreeglut-devel libopenal-devel osg-devel plib-devel"
libcurl-devel libfreeglut-devel libopenal-devel osg-devel plib-devel
liblzma-devel"
short_desc="Simulation engine for FlightGear - static libraries"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.flightgear.org/"
distfiles="$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=66da2c4f68058f6854206f2dd9c03c9223851ade24a50216e88b4e50598c13d1
checksum=bb8dfcbc2a3b0143d1ffcf01d1a961e566ef21dd33d9cc768d6d9aa5871d4f3c
# Suppress warnings regarding auto_ptr
CXXFLAGS="-Wno-deprecated-declarations"