diff options
Diffstat (limited to 'audio/flac/patches/patch-as')
-rw-r--r-- | audio/flac/patches/patch-as | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/audio/flac/patches/patch-as b/audio/flac/patches/patch-as deleted file mode 100644 index ae33be1df07..00000000000 --- a/audio/flac/patches/patch-as +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-as,v 1.1 2004/11/16 12:05:54 sketch Exp $ - ---- ./include/OggFLAC++/encoder.h.orig 2004-11-16 11:11:52.196262000 +0000 -+++ ./include/OggFLAC++/encoder.h 2004-11-16 11:12:18.445244000 +0000 -@@ -162,7 +162,7 @@ - virtual ::FLAC__StreamEncoderWriteStatus write_callback(const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame) = 0; - virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 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 encoder_ from nested State::resolved_as_cstring() - friend State; - #endif -@@ -263,7 +263,7 @@ - virtual ::FLAC__SeekableStreamEncoderTellStatus tell_callback(FLAC__uint64 *absolute_byte_offset) = 0; - virtual ::FLAC__StreamEncoderWriteStatus write_callback(const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame) = 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 encoder_ from nested State::resolved_as_cstring() - friend State; - #endif -@@ -365,7 +365,7 @@ - protected: - virtual void progress_callback(FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned frames_written, unsigned total_frames_estimate); - --#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 encoder_ from nested State::resolved_as_cstring() - friend State; - #endif -@@ -380,7 +380,7 @@ - - /* \} */ - -- }; -+ } - }; - - #endif |