diff options
Diffstat (limited to 'audio/flac/patches/patch-ap')
-rw-r--r-- | audio/flac/patches/patch-ap | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/audio/flac/patches/patch-ap b/audio/flac/patches/patch-ap deleted file mode 100644 index 43e915a0407..00000000000 --- a/audio/flac/patches/patch-ap +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-ap,v 1.1 2004/11/16 12:05:54 sketch Exp $ - ---- ./src/libFLAC++/stream_encoder.cpp.orig 2004-11-16 11:05:01.874049000 +0000 -+++ ./src/libFLAC++/stream_encoder.cpp 2004-11-16 11:05:29.674481000 +0000 -@@ -169,7 +169,7 @@ - bool Stream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks) - { - FLAC__ASSERT(is_valid()); --#ifdef _MSC_VER -+#if (defined _MSC_VER) || (defined __SUNPRO_CC) - // MSVC++ can't handle: - // ::FLAC__StreamMetadata *m[num_blocks]; - // so we do this ugly workaround -@@ -181,7 +181,7 @@ - // we can get away with this since we know the encoder will only correct the is_last flags - m[i] = const_cast< ::FLAC__StreamMetadata*>((::FLAC__StreamMetadata*)metadata[i]); - } --#ifdef _MSC_VER -+#if (defined _MSC_VER) || (defined __SUNPRO_CC) - // complete the hack - const bool ok = (bool)::FLAC__stream_encoder_set_metadata(encoder_, m, num_blocks); - delete [] m; -@@ -356,5 +356,5 @@ - instance->metadata_callback(metadata); - } - -- }; -+ } - }; |