aboutsummaryrefslogtreecommitdiff
path: root/libraries/toml11/toml11.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/toml11/toml11.SlackBuild')
-rw-r--r--libraries/toml11/toml11.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/toml11/toml11.SlackBuild b/libraries/toml11/toml11.SlackBuild
index dca7e8b141..2798b1a3b0 100644
--- a/libraries/toml11/toml11.SlackBuild
+++ b/libraries/toml11/toml11.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for toml11
-# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2019-2025 Pouria Rezaei <Pouria.rz@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=toml11
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,9 +70,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-# Don't treat warn as error
-patch -p1 < "$CWD/fix-toml-options.patch"
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -85,7 +82,6 @@ cd build
cmake -G Ninja \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_STANDARD=11 \
-DTOML11_BUILD_TOML_TESTS=OFF \
-DCMAKE_INSTALL_LIBDIR:PATH="lib${LIBDIRSUFFIX}" \
-DCMAKE_BUILD_TYPE=Release ..