diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-01 07:29:35 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-01 07:29:35 +0100 |
commit | 6f7cbc8f74a55a157e03c90557427790bf5975bf (patch) | |
tree | 4f1fe69da8850096e0d1093ba3a109b0eecf6354 /media-sound | |
parent | dev-lisp/sbcl: remove old version (diff) | |
download | gentoo-6f7cbc8f74a55a157e03c90557427790bf5975bf.tar.gz gentoo-6f7cbc8f74a55a157e03c90557427790bf5975bf.tar.bz2 gentoo-6f7cbc8f74a55a157e03c90557427790bf5975bf.zip |
media-sound/audacity: fixed build of 3.7.0 with clang
Bug: https://bugs.gentoo.org/915041
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/audacity/audacity-3.7.0.ebuild | 3 | ||||
-rw-r--r-- | media-sound/audacity/files/audacity-3.7.0-do-not-include-template-on-unix-to-fix-clang-compile.patch | 20 |
2 files changed, 23 insertions, 0 deletions
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" <StormByte@gmail.com> +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 <StormByte@gmail.com> +--- 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 + |