diff options
-rw-r--r-- | audio/audacity/audacity.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild index 6493c9c9eeb7..9196e0bc579b 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 \ |