diff options
Diffstat (limited to 'libraries/SimGear')
-rw-r--r-- | libraries/SimGear/SimGear.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/SimGear/SimGear.info | 6 | ||||
-rw-r--r-- | libraries/SimGear/compositor-pass-missing-array-include.patch | 11 |
3 files changed, 21 insertions, 6 deletions
diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild index 5eb2bcca81..48a63c1b42 100644 --- a/libraries/SimGear/SimGear.SlackBuild +++ b/libraries/SimGear/SimGear.SlackBuild @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=SimGear SRCNAM=simgear -VERSION=${VERSION:-2020.3.13} -BUILD=${BUILD:-1} +VERSION=${VERSION:-2020.3.19} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "${CURRENT:-no}" = "yes" ]; then + patch -p1 < $CWD/compositor-pass-missing-array-include.patch +fi + mkdir -p build cd build cmake \ @@ -99,7 +103,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README* Thanks $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING NEWS README* Thanks $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/SimGear/SimGear.info b/libraries/SimGear/SimGear.info index 7afa89f6b8..e1a5d02a29 100644 --- a/libraries/SimGear/SimGear.info +++ b/libraries/SimGear/SimGear.info @@ -1,8 +1,8 @@ PRGNAM="SimGear" -VERSION="2020.3.13" +VERSION="2020.3.19" HOMEPAGE="http://wiki.flightgear.org/SimGear" -DOWNLOAD="https://downloads.sourceforge.net/flightgear/simgear-2020.3.13.tar.bz2" -MD5SUM="a8d52b209912d1a26e93663b659c542b" +DOWNLOAD="https://downloads.sourceforge.net/flightgear/simgear-2020.3.19.tar.bz2" +MD5SUM="1e799e3ddee8040c0b6f7ec25f95c38c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenSceneGraph plib" diff --git a/libraries/SimGear/compositor-pass-missing-array-include.patch b/libraries/SimGear/compositor-pass-missing-array-include.patch new file mode 100644 index 0000000000..5572f5f9e4 --- /dev/null +++ b/libraries/SimGear/compositor-pass-missing-array-include.patch @@ -0,0 +1,11 @@ +diff -ur simgear-2020.3.17.orig/simgear/scene/viewer/Compositor.hxx simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx +--- simgear-2020.3.17.orig/simgear/scene/viewer/Compositor.hxx 2022-11-20 19:01:30.000000000 +0100 ++++ simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx 2023-03-10 18:40:59.219808993 +0100 +@@ -17,6 +17,7 @@ + #ifndef SG_COMPOSITOR_HXX + #define SG_COMPOSITOR_HXX + ++#include <array> + #include <unordered_map> + #include <vector> + |