[DRE-commits] [SCM] ruby-ferret.git branch, master, updated. debian/0.11.6-3-21-g68f4ccc
Cédric Boutillier
cedric.boutillier at gmail.com
Thu Jun 14 21:01:59 UTC 2012
The following commit has been merged in the master branch:
commit 04907aa0ea48b9fba323a53867835f0db68a67c2
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Thu Jun 14 22:07:21 2012 +0200
add fix_typos_in_source_code.patch
diff --git a/debian/patches/fix_typos_in_source_code.patch b/debian/patches/fix_typos_in_source_code.patch
new file mode 100644
index 0000000..241b9e3
--- /dev/null
+++ b/debian/patches/fix_typos_in_source_code.patch
@@ -0,0 +1,60 @@
+Description: Fix typos in source code detected by lintian
+ endianess -> endianness; lenght -> length
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2012-06-14
+
+--- a/ext/compound_io.c
++++ b/ext/compound_io.c
+@@ -332,7 +332,7 @@
+ len = end_ptr - start_ptr;
+ if (len != length) {
+ RAISE(IO_ERROR, "Difference in compound file output file offsets "
+- "<%"OFF_T_PFX"d> does not match the original file lenght "
++ "<%"OFF_T_PFX"d> does not match the original file length "
+ "<%"OFF_T_PFX"d>", len, length);
+ }
+
+--- a/ext/posh.c
++++ b/ext/posh.c
+@@ -200,10 +200,10 @@
+ const char *
+ s_testEndianess( void )
+ {
+- /* check endianess */
++ /* check endianness */
+ if ( s_testBigEndian() != IS_BIG_ENDIAN )
+ {
+- return "*ERROR: POSH compile time endianess does not match run-time endianess verification. Please report this to poshlib at poshlib.org!\n";
++ return "*ERROR: POSH compile time endianness does not match run-time endianness verification. Please report this to poshlib at poshlib.org!\n";
+ }
+
+ /* make sure our endian swap routines work */
+@@ -212,7 +212,7 @@
+ ( NATIVE16( 0x1234 ) != 0x1234 ) ||
+ ( FOREIGN16( 0x1234 ) != 0x3412 ) )
+ {
+- return "*ERROR: POSH endianess macro selection failed. Please report this to poshlib at poshlib.org!\n";
++ return "*ERROR: POSH endianness macro selection failed. Please report this to poshlib at poshlib.org!\n";
+ }
+
+ /* test serialization routines */
+@@ -245,7 +245,7 @@
+ "floating point..."POSH_FLOAT_STRING"\n"
+ "compiler........."POSH_COMPILER_STRING"\n";
+
+- /* test endianess */
++ /* test endianness */
+ err = s_testEndianess();
+
+ if ( err != 0 )
+--- a/ext/posh.h
++++ b/ext/posh.h
+@@ -633,7 +633,7 @@
+
+ /*
+ ** ----------------------------------------------------------------------------
+-** Try to infer endianess. Basically we just go through the CPUs we know are
++** Try to infer endianness. Basically we just go through the CPUs we know are
+ ** little endian, and assume anything that isn't one of those is big endian.
+ ** As a sanity check, we also do this with operating systems we know are
+ ** little endian, such as Windows. Some processors are bi-endian, such as
diff --git a/debian/patches/series b/debian/patches/series
index bca4ab7..dee7ec6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_compatibility_with_minitest.patch
disable_test_causing_segfault.patch
disable_load_path_manipulation.patch
use_system_bzlib.patch
+fix_typos_in_source_code.patch
--
ruby-ferret.git
More information about the Pkg-ruby-extras-commits
mailing list