From 0266042757d6b3dbaab7331af2abdbf00b002bf7 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <nicolas.boulenguez@free.fr>
Date: Sun, 31 Jul 2016 01:09:34 +0200
Subject: [PATCH 12/12] Various typos detected by lintian.

---
 debian/patches/series     |   1 +
 debian/patches/typos.diff | 308 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 309 insertions(+)
 create mode 100644 debian/patches/typos.diff

diff --git a/debian/patches/series b/debian/patches/series
index 0cebedd..8da36dd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ fixed-issue-98.diff
 fixes-for-opus-encoder-by-christian-franke-nobody-no.diff
 server-connection-related-fixes.diff
 pkg-config-if-available.diff
+typos.diff
diff --git a/debian/patches/typos.diff b/debian/patches/typos.diff
new file mode 100644
index 0000000..574d253
--- /dev/null
+++ b/debian/patches/typos.diff
@@ -0,0 +1,308 @@
+Description: typos.
+Author: Nicolas Boulenguez <nicolas@debian.org>
+
+--- a/src/DarkIce.cpp
++++ b/src/DarkIce.cpp
+@@ -1277,7 +1277,7 @@
+ 
+     len = encConnector->transfer( bytes, 4096, 1, 0 );
+ 
+-    reportEvent( 1, len, "bytes transfered to the encoders");
++    reportEvent( 1, len, "bytes transferred to the encoders");
+ 
+     encConnector->close();
+ 
+--- a/src/MultiThreadedConnector.cpp
++++ b/src/MultiThreadedConnector.cpp
+@@ -229,7 +229,7 @@
+     dataBuffer   = new unsigned char[bufSize];
+     dataSize     = 0;
+ 
+-    reportEvent( 6, "MultiThreadedConnector :: tranfer, bytes", bytes);
++    reportEvent( 6, "MultiThreadedConnector :: transfer, bytes", bytes);
+ 
+     for ( b = 0; !bytes || b < bytes; ) {
+         if ( source->canRead( sec, usec) ) {
+--- a/man/darkice.cfg.5
++++ b/man/darkice.cfg.5
+@@ -175,7 +175,7 @@
+ Genre of the stream
+ .TP
+ .I public
+-"yes" or "no", wether the stream is public
++"yes" or "no", whether the stream is public
+ .TP
+ .I remoteDumpFile 
+ The file the
+@@ -189,7 +189,7 @@
+ server to this local file.
+ .TP
+ .I fileAddDate
+-"yes" or "no" if you want to automaticaly insert a date string in 
++"yes" or "no" if you want to automatically insert a date string in 
+ the localDumpFile name before its extension or at the end of file name if
+ no extension present
+ .TP
+@@ -302,7 +302,7 @@
+ Genre of the stream
+ .TP
+ .I public
+-"yes" or "no", wether the stream is public
++"yes" or "no", whether the stream is public
+ .TP
+ .I localDumpFile
+ Dump the same Ogg Vorbis data sent to the
+@@ -310,7 +310,7 @@
+ server to this local file.
+ .TP
+ .I fileAddDate
+-"yes" or "no" if you want to automaticaly insert a date string in 
++"yes" or "no" if you want to automatically insert a date string in 
+ the localDumpFile name before its extension or at the end of file name if
+ no extension present
+ .TP
+@@ -403,7 +403,7 @@
+ Genre of the stream
+ .TP
+ .I public
+-"yes" or "no", wether the stream is public
++"yes" or "no", whether the stream is public
+ .TP
+ .I irc
+ IRC information related to the stream
+@@ -432,7 +432,7 @@
+ server to this local file.
+ .TP
+ .I fileAddDate
+-"yes" or "no" if you want to automaticaly insert a date string in 
++"yes" or "no" if you want to automatically insert a date string in 
+ the localDumpFile name before its extension or at the end of file name if
+ no extension present
+ .TP
+--- a/src/AlsaDspSource.cpp
++++ b/src/AlsaDspSource.cpp
+@@ -210,7 +210,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether read() would return anything
++ *  Check whether read() would return anything
+  *----------------------------------------------------------------------------*/
+ bool
+ AlsaDspSource :: canRead ( unsigned int    sec,
+--- a/src/AudioEncoder.h
++++ b/src/AudioEncoder.h
+@@ -441,7 +441,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
+--- a/src/CastSink.h
++++ b/src/CastSink.h
+@@ -431,7 +431,7 @@
+         }
+ 
+         /**
+-         *  Get wether this stream is public.
++         *  Get whether this stream is public.
+          *
+          *  @return true if the stream is public, false otherwise.
+          */
+--- a/src/FaacEncoder.h
++++ b/src/FaacEncoder.h
+@@ -399,7 +399,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
+--- a/src/FileSink.cpp
++++ b/src/FileSink.cpp
+@@ -191,7 +191,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether a file exists and is regular file
++ *  Check whether a file exists and is regular file
+  *----------------------------------------------------------------------------*/
+ bool
+ FileSink :: exists ( void ) const               throw ()
+@@ -250,7 +250,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether the file can be written to
++ *  Check whether the file can be written to
+  *----------------------------------------------------------------------------*/
+ bool
+ FileSink :: canWrite (     unsigned int    sec,
+--- a/src/JackDspSource.cpp
++++ b/src/JackDspSource.cpp
+@@ -302,7 +302,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether read() would return anything
++ *  Check whether read() would return anything
+  *----------------------------------------------------------------------------*/
+ bool
+ JackDspSource :: canRead ( unsigned int   sec,
+--- a/src/LameLibEncoder.h
++++ b/src/LameLibEncoder.h
+@@ -320,7 +320,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
+--- a/src/OpusLibEncoder.h
++++ b/src/OpusLibEncoder.h
+@@ -447,7 +447,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
+--- a/src/OssDspSource.cpp
++++ b/src/OssDspSource.cpp
+@@ -229,7 +229,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether read() would return anything
++ *  Check whether read() would return anything
+  *----------------------------------------------------------------------------*/
+ bool
+ OssDspSource :: canRead ( unsigned int    sec,
+--- a/src/OssDspSource.h
++++ b/src/OssDspSource.h
+@@ -69,7 +69,7 @@
+         int         fileDescriptor;
+ 
+         /**
+-         *  Indicates wether the low-level OSS DSP device is in a recording
++         *  Indicates whether the low-level OSS DSP device is in a recording
+          *  state.
+          */
+         bool        running;
+--- a/src/PulseAudioDspSource.cpp
++++ b/src/PulseAudioDspSource.cpp
+@@ -173,7 +173,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether read() would return anything
++ *  Check whether read() would return anything
+  *----------------------------------------------------------------------------*/
+ bool
+ PulseAudioDspSource :: canRead ( unsigned int    sec,
+--- a/src/SerialUlaw.h
++++ b/src/SerialUlaw.h
+@@ -70,7 +70,7 @@
+         int         fileDescriptor;
+ 
+         /**
+-         *  Indicates wether the low-level OSS DSP device is in a recording
++         *  Indicates whether the low-level OSS DSP device is in a recording
+          *  state.
+          */
+         bool        running;
+--- a/src/SolarisDspSource.cpp
++++ b/src/SolarisDspSource.cpp
+@@ -201,7 +201,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether read() would return anything
++ *  Check whether read() would return anything
+  *----------------------------------------------------------------------------*/
+ bool
+ SolarisDspSource :: canRead ( unsigned int    sec,
+--- a/src/TcpSocket.cpp
++++ b/src/TcpSocket.cpp
+@@ -256,7 +256,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether read() would return anything
++ *  Check whether read() would return anything
+  *----------------------------------------------------------------------------*/
+ bool
+ TcpSocket :: canRead (      unsigned int    sec,
+@@ -329,7 +329,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether write() would send anything
++ *  Check whether write() would send anything
+  *----------------------------------------------------------------------------*/
+ bool
+ TcpSocket :: canWrite (    unsigned int    sec,
+--- a/src/TwoLameLibEncoder.h
++++ b/src/TwoLameLibEncoder.h
+@@ -249,7 +249,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
+--- a/src/Util.cpp
++++ b/src/Util.cpp
+@@ -235,7 +235,7 @@
+ 
+ 
+ /*------------------------------------------------------------------------------
+- *  Check wether two strings are equal
++ *  Check whether two strings are equal
+  *----------------------------------------------------------------------------*/
+ bool
+ Util :: strEq( const char    * str1,
+--- a/src/Util.h
++++ b/src/Util.h
+@@ -169,7 +169,7 @@
+         strDup (        const char    * str )       throw ( Exception );
+ 
+         /**
+-         *  Determine wether two string are equal.
++         *  Determine whether two string are equal.
+          *
+          *  @param str1 one of the strings.
+          *  @param str2 the other string.
+--- a/src/VorbisLibEncoder.h
++++ b/src/VorbisLibEncoder.h
+@@ -331,7 +331,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
+--- a/src/aacPlusEncoder.h
++++ b/src/aacPlusEncoder.h
+@@ -401,7 +401,7 @@
+         }
+ 
+         /**
+-         *  Check wether encoding is in progress.
++         *  Check whether encoding is in progress.
+          *
+          *  @return true if encoding is in progress, false otherwise.
+          */
-- 
2.8.1

