diff options
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r-- | libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild index bcf21cc5d8..0357d47e42 100644 --- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild +++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild @@ -4,13 +4,13 @@ # Written by Aleksandar Samardzic <asamardzic@gmail.com> # Maintained by Jordan Evans <jordanevans19@gmail.com> -# Maintained 2018-2023 by Christoph Willing <chris.willing@linux.com> +# Maintained 2018-2025 by Christoph Willing <chris.willing@linux.com> cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OpenSceneGraph VERSION=${VERSION:-3.6.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -70,8 +67,9 @@ patch -p0 < $CWD/no-asio-occ.diff mkdir -p build cd build cmake .. \ + -Wno-dev \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -Wno-deprecated-declarations -Wno-deprecated-copy -Wno-shadow" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_POSTFIX=$LIBDIRSUFFIX \ -DCMAKE_BUILD_TYPE=Release \ |