$NetBSD: patch-ad,v 1.3 2007/01/13 09:18:22 wiz Exp $

--- ext/flac/gstflacdec.h.orig	2006-08-22 12:28:24.000000000 +0000
+++ ext/flac/gstflacdec.h
@@ -41,7 +41,11 @@ typedef struct _GstFlacDecClass GstFlacD
 struct _GstFlacDec {
   GstElement     element;
 
+#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT < 8
   FLAC__SeekableStreamDecoder *seekable_decoder; /* for pull-based operation  */
+#else
+  FLAC__StreamDecoder         *seekable_decoder; /* for pull-based operation  */
+#endif
 
   FLAC__StreamDecoder         *stream_decoder;   /* for chain-based operation */
   GstAdapter                  *adapter;
