aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
index 3a5fd0e54ecf2..6edeaadf7f055 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
@@ -65,9 +65,19 @@ cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220215 bkw: asio is an optional, auto-detected dependency. Our
+# version of asio is either too new or too old for this. Note
+# that this is Asio (the network library for C++), not
+# ASIO (the Windows low-latency audio API) nor wineasio, nor
+# /usr/include/boost/asio.hpp, whatever that even is. I don't see a
+# way to disable asio support via a cmake variable, so it has to be
+# surgery. Applying this patch disables the RestHttpDevice plugin,
+# hope that's OK.
+patch -p1 < $CWD/disable_asio.diff
mkdir -p build
cd build