From 0341541f14c3ce90bb1bcf8abc1e9d8ee65cd4d6 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 16 Aug 2021 13:44:20 +0200 Subject: audio/audacity: Add a missing include for gcc >= 11.x. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- audio/audacity/audacity.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'audio/audacity') 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 /a #include ' include/audacity/Types.h + mkdir -p build cd build cmake \ -- cgit v1.2.3