commit: 6f7cbc8f74a55a157e03c90557427790bf5975bf Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Fri Nov 1 06:29:35 2024 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Fri Nov 1 06:29:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f7cbc8f
media-sound/audacity: fixed build of 3.7.0 with clang Bug: https://bugs.gentoo.org/915041 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> media-sound/audacity/audacity-3.7.0.ebuild | 3 +++ ...clude-template-on-unix-to-fix-clang-compile.patch | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/media-sound/audacity/audacity-3.7.0.ebuild b/media-sound/audacity/audacity-3.7.0.ebuild index 3b9ac4e8b0de..100dac9a70a6 100644 --- a/media-sound/audacity/audacity-3.7.0.ebuild +++ b/media-sound/audacity/audacity-3.7.0.ebuild @@ -136,6 +136,9 @@ PATCHES=( # #920363 "${FILESDIR}/audacity-3.7.0-audiocom-std-string.patch" + + # 915041 + "${FILESDIR}/audacity-3.7.0-do-not-include-template-on-unix-to-fix-clang-compile.patch" ) src_prepare() { diff --git a/media-sound/audacity/files/audacity-3.7.0-do-not-include-template-on-unix-to-fix-clang-compile.patch b/media-sound/audacity/files/audacity-3.7.0-do-not-include-template-on-unix-to-fix-clang-compile.patch new file mode 100644 index 000000000000..0feeebd8073c --- /dev/null +++ b/media-sound/audacity/files/audacity-3.7.0-do-not-include-template-on-unix-to-fix-clang-compile.patch @@ -0,0 +1,20 @@ +From e421fc29f044d88b4036b3004714ec353b1527aa Mon Sep 17 00:00:00 2001 +From: "David C. Manuelda" <[email protected]> +Date: Fri, 1 Nov 2024 05:58:16 +0100 +Subject: [PATCH] Do not include template on Unix to fix clang compile issue + +Signed-off-by: David C. Manuelda <[email protected]> +--- a/src/ListNavigationPanel.h ++++ b/src/ListNavigationPanel.h +@@ -13,7 +13,7 @@ + #include <wx/window.h> + #include <wx/containr.h> + +-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) ++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__UNIX__) + extern template class WXDLLIMPEXP_CORE wxNavigationEnabled<wxWindow>; + #endif + +-- +2.47.0 +
