aboutsummaryrefslogtreecommitdiff
path: root/development/libcutl/libcutl.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-16 20:00:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:51 +0700
commit9cad56da4826010dd90503214e01c1cba7e726d9 (patch)
tree2e6f9402a621ec0da674632771e5af644b24c17f /development/libcutl/libcutl.SlackBuild
parenta4aa26e892ef060fb7c3a3aba93a16e2f2cb0c1b (diff)
development/libcutl: Patch for gcc >= 11.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/libcutl/libcutl.SlackBuild')
-rw-r--r--development/libcutl/libcutl.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/libcutl/libcutl.SlackBuild b/development/libcutl/libcutl.SlackBuild
index b12db11f301b..9d2c30116e96 100644
--- a/development/libcutl/libcutl.SlackBuild
+++ b/development/libcutl/libcutl.SlackBuild
@@ -79,6 +79,9 @@ 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 {} \;
+# thanks, debian!
+patch -p1 < $CWD/gcc11.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \