diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2024-07-08 23:53:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-09 20:12:38 +0700 |
commit | f185561736ddd9af94ce18f369e2b7d024154ee7 (patch) | |
tree | 0c8225bbccb214b8016a38e2803a346d8475c0f5 /libraries/SimGear | |
parent | 0a228a9677bea488e3ebd6dfbefb1613c81c9cb0 (diff) |
libraries/SimGear: Add patches for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/SimGear')
-rw-r--r-- | libraries/SimGear/SimGear.SlackBuild | 6 | ||||
-rw-r--r-- | libraries/SimGear/compositor-pass-missing-array-include.patch | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild index 3b611b701fb9c..48a63c1b42c6a 100644 --- a/libraries/SimGear/SimGear.SlackBuild +++ b/libraries/SimGear/SimGear.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=SimGear SRCNAM=simgear VERSION=${VERSION:-2020.3.19} -BUILD=${BUILD:-1} +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 \ 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 0000000000000..5572f5f9e4a92 --- /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> + |