diff options
author | dbj <dbj@pkgsrc.org> | 2021-02-06 23:21:13 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2021-02-06 23:21:13 +0000 |
commit | 93473a0d56dd7893313931eea6ebabf1464953ae (patch) | |
tree | 41a6a487efa07f86885cdabde586640ba306e4ba /audio | |
parent | 0c71c835489fa60b4e164bde9497ea3d25194767 (diff) | |
download | pkgsrc-93473a0d56dd7893313931eea6ebabf1464953ae.tar.gz |
audio/audacity: include Audacity.h in audacity/Types.h to get HAVE_VISIBILITY definition
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audacity/Makefile | 4 | ||||
-rw-r--r-- | audio/audacity/distinfo | 3 | ||||
-rw-r--r-- | audio/audacity/patches/patch-include_audacity_Types.h | 15 |
3 files changed, 18 insertions, 4 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile index c9d48c1997d..ec286ae44b0 100644 --- a/audio/audacity/Makefile +++ b/audio/audacity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.138 2020/12/31 20:04:11 nia Exp $ +# $NetBSD: Makefile,v 1.139 2021/02/06 23:21:13 dbj Exp $ DISTNAME= audacity-2.4.1 PKGREVISION= 2 @@ -26,8 +26,6 @@ USE_LANGUAGES= c c++ # configure: error: Audacity requires at least GCC 4.9 GCC_REQD+= 4.9 -CFLAGS+= -DHAVE_VISIBILITY=1 # ??? - WRAPPER_SHELL= ${BASH} CONFIG_SHELL= ${BASH} diff --git a/audio/audacity/distinfo b/audio/audacity/distinfo index 3cfe7e1b4a1..ece1d20a86d 100644 --- a/audio/audacity/distinfo +++ b/audio/audacity/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.43 2020/05/23 15:51:28 nia Exp $ +$NetBSD: distinfo,v 1.44 2021/02/06 23:21:13 dbj Exp $ SHA1 (audacity-2.4.1.tar.gz) = f164b6a2e02947809cee2e313cb61279a60d4829 RMD160 (audacity-2.4.1.tar.gz) = 8c0b5643d015c7dd5bbe1b47eae0025201eb51b2 @@ -8,6 +8,7 @@ SHA1 (patch-Makefile.in) = 2aca8c2ae0af7863f8f090a707c08fba693c7c86 SHA1 (patch-aa) = 67c0ec5ff99004d9035de13f0263add46ed8c994 SHA1 (patch-configure) = 2cf208a6104c73c761156e2373d21af64606c31e SHA1 (patch-configure.ac) = b34f733208080d57b30877d762e61a3d3fdec888 +SHA1 (patch-include_audacity_Types.h) = 369ce152d4ecc8fd67fcb45fe4adf3260119571b SHA1 (patch-lib-src_FileDialog_Makefile.am) = efa6ca612f3984a4cf8150e3c624e347d144af87 SHA1 (patch-lib-src_FileDialog_Makefile.in) = 44ca2539d68ab3951ae44377ed56f574785c1b08 SHA1 (patch-lib-src_lib-widget-extra_Makefile.am) = 03d080c141259fbf02a9c5a70ce06625fcebf75e diff --git a/audio/audacity/patches/patch-include_audacity_Types.h b/audio/audacity/patches/patch-include_audacity_Types.h new file mode 100644 index 00000000000..9f75410d444 --- /dev/null +++ b/audio/audacity/patches/patch-include_audacity_Types.h @@ -0,0 +1,15 @@ +$NetBSD: patch-include_audacity_Types.h,v 1.1 2021/02/06 23:21:13 dbj Exp $ + +this include file references HAVE_VISIBILITY when it might not be defined +pull in Audacity.h which includes the appropriate config*.h file that sets it + +--- include/audacity/Types.h.orig 2020-05-19 09:43:53.000000000 +0000 ++++ include/audacity/Types.h +@@ -42,6 +42,7 @@ + #ifndef __AUDACITY_TYPES_H__ + #define __AUDACITY_TYPES_H__ + ++#include "Audacity.h" // for HAVE_VISIBILITY + #include <algorithm> + #include <functional> + #include <type_traits> |