[ncview] 06/17: Add patch to fix 'auxiliary' typo.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Apr 18 18:05:53 UTC 2015


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

sebastic pushed a commit to branch master
in repository ncview.

commit 5f42c5c71ceef28dcad443b7503f05a4734b133f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Apr 18 15:37:45 2015 +0200

    Add patch to fix 'auxiliary' typo.
---
 debian/changelog                    |  1 +
 debian/patches/auxiliary-typo.patch | 65 +++++++++++++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 67 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9d8b7e3..0fff9b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ ncview (2.1.5+ds1-1) UNRELEASED; urgency=medium
   * Bump debhelper compatibility to 9.
   * Use minimal dh rules with autotools-dev.
   * Repack upstream sources to exclude automatically removed files.
+  * Add patch to fix 'auxiliary' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 18 Apr 2015 14:42:51 +0200
 
diff --git a/debian/patches/auxiliary-typo.patch b/debian/patches/auxiliary-typo.patch
new file mode 100644
index 0000000..a927325
--- /dev/null
+++ b/debian/patches/auxiliary-typo.patch
@@ -0,0 +1,65 @@
+Description: Fix 'auxilliary' typo, replace with 'auxiliary'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/'
++++ b/'
+@@ -270,7 +270,7 @@ typedef struct {
+ 	char	*string;
+ 	void	*next, *prev;
+ 	int	index;		/* initialized to position in list */
+-	void	*aux;		/* auxilliary data */
++	void	*aux;		/* auxiliary data */
+ } Stringlist;
+ 
+ /*****************************************************************************/
+--- a/src/util.c
++++ b/src/util.c
+@@ -431,7 +431,7 @@ add_var_to_list( char *var_name, int fil
+ 		}
+ 	strcpy( new_fdb->filename, filename );
+ 
+-	/* fill out auxilliary (data-file format dependent) information
++	/* fill out auxiliary (data-file format dependent) information
+ 	 * for the new fdb.
+ 	 */
+ 	fi_fill_aux_data( file_id, var_name, new_fdb );
+--- a/src/stringlist.c
++++ b/src/stringlist.c
+@@ -44,7 +44,7 @@ stringlist_match_string_exact( Stringlis
+ }
+ 
+ /**************************************************************************************
+- * Adds the given string and auxilliary data to the list.
++ * Adds the given string and auxiliary data to the list.
+  * The first time this is called, assuming you want to make a new stringlist, pass
+  * with *list == NULL. This will make a new stringlist with the passed string (and 
+  * aux info) as the first element of the new string.
+@@ -163,7 +163,7 @@ stringlist_add_string_ordered( Stringlis
+ }
+ 		
+ /**************************************************************************************
+- * Allocates space in the stringlist element for the auxilliary data, and copies it over
++ * Allocates space in the stringlist element for the auxiliary data, and copies it over
+  * Returns 0 on success, -1 on error (usually inability to allocate memory)
+  */
+ 	static int
+@@ -493,7 +493,7 @@ stringlist_check_args( Stringlist **list
+ 		}
+ 
+ 	if( (sltype == SLTYPE_STRING) && (strlen( (char *)aux ) > STRINGLIST_MAX_LEN) ) {
+-		fprintf( stderr, "stringlist_check_args: error, trying to add auxilliary string data to a stringlist element and that string is longer than allowed max of %d\n",
++		fprintf( stderr, "stringlist_check_args: error, trying to add auxiliary string data to a stringlist element and that string is longer than allowed max of %d\n",
+ 			STRINGLIST_MAX_LEN );
+ 		return( -68 );
+ 		}
+--- a/src/stringlist.h
++++ b/src/stringlist.h
+@@ -39,7 +39,7 @@ typedef struct {
+ 	char	*string;
+ 	void	*next, *prev;
+ 	int	index;		/* initialized to position in list */
+-	void	*aux;		/* auxilliary data */
++	void	*aux;		/* auxiliary data */
+ 	int	sltype;		/* one of the defined SLTYPEs, indicating type of aux */
+ } Stringlist;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c592a56
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+auxiliary-typo.patch

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



More information about the Pkg-grass-devel mailing list