mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
libraries/SimGear: Add patches for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0a228a9677
commit
f185561736
2 changed files with 16 additions and 1 deletions
|
@ -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 \
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Reference in a new issue