[hamradio-commits] [libfap5] 06/12: Fixed spelling mistakes with quilt patch

Iain Learmonth irl-guest at moszumanska.debian.org
Wed Oct 29 16:13:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

irl-guest pushed a commit to branch master
in repository libfap5.

commit 095723358f090faa0c1cfbb5ca47f74d53cff947
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Sat Sep 27 17:25:23 2014 +0100

    Fixed spelling mistakes with quilt patch
---
 debian/patches/fix-spelling-mistakes.patch | 22 ++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/fix-spelling-mistakes.patch b/debian/patches/fix-spelling-mistakes.patch
new file mode 100644
index 0000000..7964621
--- /dev/null
+++ b/debian/patches/fix-spelling-mistakes.patch
@@ -0,0 +1,22 @@
+--- libfap5.orig/src/fap.c
++++ libfap5/src/fap.c
+@@ -1119,7 +1119,7 @@
+ 				/* Yes, lets do some checks. */
+ 				if ( header_len < 14 || header_len % 7 != 0 )
+ 				{
+-					sprintf(output, "Invalid header lenght (%d).", header_len);
++					sprintf(output, "Invalid header length (%d).", header_len);
+ 					output_len = strlen(output)+1;
+ 					retval = 0;
+ 					break;
+--- libfap5.orig/src/helpers2.c
++++ libfap5/src/helpers2.c
+@@ -562,7 +562,7 @@
+ 		}
+ 	}
+ 	
+-	/* Check that we found markers, and that they mark even-lenght string. */
++	/* Check that we found markers, and that they mark even-length string. */
+ 	len = j - i + 1;
+ 	if ( i < *rest_len && j < *rest_len && len > 1 && len % 2 == 0)
+ 	{
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6c1655e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-spelling-mistakes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/libfap5.git



More information about the pkg-hamradio-commits mailing list