diff options
Diffstat (limited to 'audio/flac/patches/patch-ar')
-rw-r--r-- | audio/flac/patches/patch-ar | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/flac/patches/patch-ar b/audio/flac/patches/patch-ar new file mode 100644 index 00000000000..7c34b0be12a --- /dev/null +++ b/audio/flac/patches/patch-ar @@ -0,0 +1,40 @@ +$NetBSD: patch-ar,v 1.1 2004/11/16 12:05:54 sketch Exp $ + +--- ./include/OggFLAC++/decoder.h.orig 2004-11-16 11:09:28.868389000 +0000 ++++ ./include/OggFLAC++/decoder.h 2004-11-16 11:10:55.717825000 +0000 +@@ -144,7 +144,7 @@ + virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 0; + virtual void error_callback(::FLAC__StreamDecoderErrorStatus status) = 0; + +-#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96))) ++#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96))) || (defined __SUNPRO_CC) + // lame hack: some MSVC/GCC versions can't see a protected decoder_ from nested State::resolved_as_cstring() + friend State; + #endif +@@ -240,7 +240,7 @@ + virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 0; + virtual void error_callback(::FLAC__StreamDecoderErrorStatus status) = 0; + +-#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96))) ++#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96))) || (defined __SUNPRO_CC) + // lame hack: some MSVC/GCC versions can't see a protected decoder_ from nested State::resolved_as_cstring() + friend State; + #endif +@@ -334,7 +334,7 @@ + virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 0; + virtual void error_callback(::FLAC__StreamDecoderErrorStatus status) = 0; + +-#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96))) ++#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96))) || (defined __SUNPRO_CC) + // lame hack: some MSVC/GCC versions can't see a protected decoder_ from nested State::resolved_as_cstring() + friend State; + #endif +@@ -351,7 +351,7 @@ + + /* \} */ + +- }; ++ } + }; + + #endif |