#! /bin/sh -e
## 
## All lines beginning with `## DP:' are a description of the patch.
## DP: silent pfvtowav, #344165

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi  
case "$1" in
       -patch) patch $patch_opts -p1 < $0;;
       -unpatch) patch $patch_opts -p1 -R < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
		exit 1;;
esac            

exit 0
@DPATCH@
--- a/voice/libpvf/wav.c
+++ b/voice/libpvf/wav.c
@@ -341,12 +341,14 @@ int wavwritehdr(ft_t ft,long data_size)
      wllong(ft, data_length);  /* data chunk size: FIXUP(40) */
 
 
+/*
      fprintf(stderr, "Writing Wave file: %s format, %d channel%s, %ld samp/sec",
                wav_format_str(wFormatTag), wChannels,
                wChannels == 1 ? "" : "s", wSamplesPerSecond);
      fprintf(stderr, " %ld byte/sec, %d block align, %d bits/samp\n",
                      wAvgBytesPerSec, wBlockAlign, wBitsPerSample);
-
+*/
+		     
      return OK;
      }
 
