[nco] 02/03: Add patch for 'unofficial' typo.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Mon Aug 24 13:29:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository nco.
commit 4e79eae4b9d8691682ef06aaaa89b9717ea49c6b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 24 15:13:02 2015 +0200
Add patch for 'unofficial' typo.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/unofficial-typo.patch | 14 ++++++++++++++
3 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4e85186..0b131ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
nco (4.5.1-2) UNRELEASED; urgency=medium
* Handle common dversion mangling in watch file.
+ * Add patch for 'unofficial' typo.
-- Bas Couwenberg <sebastic at debian.org> Mon, 24 Aug 2015 14:38:05 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..686281a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+unofficial-typo.patch
diff --git a/debian/patches/unofficial-typo.patch b/debian/patches/unofficial-typo.patch
new file mode 100644
index 0000000..a9c8bf0
--- /dev/null
+++ b/debian/patches/unofficial-typo.patch
@@ -0,0 +1,14 @@
+Description: Fix 'unoffical' typo, replace with 'unofficial'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/nco/nco_cnv_csm.c
++++ b/src/nco/nco_cnv_csm.c
+@@ -55,7 +55,7 @@ nco_cnv_ccm_ccsm_cf_inq /* O [fnc] Check
+ (void)fprintf(stderr,"%s: CONVENTION File \"%s\" attribute is \"%s\"\n",nco_prg_nm_get(),cnv_sng,att_val);
+ if(cnv_sng == cnv_sng_LC) (void)fprintf(stderr,"%s: WARNING: This file uses a non-standard attribute (\"%s\") to indicate the netCDF convention. The correct attribute is \"%s\".\n",nco_prg_nm_get(),cnv_sng_LC,cnv_sng_UC);
+ /* Only warn in arithmetic operators where conventions change behavior */
+- if(nco_dbg_lvl_get() >= nco_dbg_fl && nco_dbg_lvl_get() != nco_dbg_dev && nco_is_rth_opr(nco_prg_id_get())) (void)fprintf(stderr,"%s: INFO NCO attempts to abide by many official and unoffical metadata conventions including ARM, CCM, CCSM, and CF. To adhere to these conventions, NCO implements variable-specific exceptions in certain operators, e.g., ncbo will not subtract variables named \"date\" or \"gw\", and many operators will always leave coordinate variables unchanged. The fu [...]
++ if(nco_dbg_lvl_get() >= nco_dbg_fl && nco_dbg_lvl_get() != nco_dbg_dev && nco_is_rth_opr(nco_prg_id_get())) (void)fprintf(stderr,"%s: INFO NCO attempts to abide by many official and unofficial metadata conventions including ARM, CCM, CCSM, and CF. To adhere to these conventions, NCO implements variable-specific exceptions in certain operators, e.g., ncbo will not subtract variables named \"date\" or \"gw\", and many operators will always leave coordinate variables unchanged. The f [...]
+ } /* endif dbg */
+ att_val=(char *)nco_free(att_val);
+ } /* endif */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git
More information about the Pkg-grass-devel
mailing list