aboutsummaryrefslogtreecommitdiff
path: root/audio/audacity/audacity.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-16 13:44:20 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-19 18:33:47 +0700
commit0341541f14c3ce90bb1bcf8abc1e9d8ee65cd4d6 (patch)
treebb97c6258e054593f6fef0b20690316ba4c56597 /audio/audacity/audacity.SlackBuild
parentb04796101e370fe1e06f61c7c2d89f5596ac812c (diff)
audio/audacity: Add a missing include for gcc >= 11.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/audacity/audacity.SlackBuild')
-rw-r--r--audio/audacity/audacity.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 6493c9c9eeb72..9196e0bc579b1 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -104,6 +104,9 @@ sed -i "s,lib/vamp,lib$LIBDIRSUFFIX/vamp,g" \
# fix building against ffmpeg-2.6.x, patch from archlinux
patch -p1 < $CWD/audacity-ffmpeg.patch || exit 1
+# add a missing include for gcc >= 11.x
+sed -i '/#include <functional>/a #include <limits>' include/audacity/Types.h
+
mkdir -p build
cd build
cmake \