[eccodes] 44/106: small fix , now use grib_usage()

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 09:05:13 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository eccodes.

commit 73ce910b100405921925e393964eb8b01e6d0f19
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sun Oct 23 12:15:01 2016 +0100

    small fix , now use grib_usage()
---
 debian/patches/static-fix.patch | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/patches/static-fix.patch b/debian/patches/static-fix.patch
index b2bf4b2..a91e260 100644
--- a/debian/patches/static-fix.patch
+++ b/debian/patches/static-fix.patch
@@ -3,7 +3,7 @@ Description: compile fix for shadowed function definitions
  goto-cc compiler says multiple 'usage' functions shadow each other
  due to including 'grib_options' when linking. Declare static.
 Bug-Upstream: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752732
-Last-Updated: 2016-04-27
+Last-Updated: 2016-10-27
 Forwarded: no
 
 Index: eccodes-2.0.0/tools/mars_request.c
@@ -190,3 +190,16 @@ Index: eccodes-2.0.0/tools/grib_to_netcdf.c
          exit(1);
      }
  
+Index: eccodes-2.0.0/tools/bufr_compare.c
+===================================================================
+--- eccodes-2.0.0.orig/tools/bufr_compare.c
++++ eccodes-2.0.0/tools/bufr_compare.c
+@@ -349,7 +349,7 @@ int grib_tool_init(grib_runtime_options*
+         options->tolerance_count=MAX_KEYS;
+         ret=parse_keyval_string(grib_tool_name, sarg,1,GRIB_TYPE_DOUBLE,options->tolerance,&(options->tolerance_count));
+         if (ret == GRIB_INVALID_ARGUMENT) {
+-            usage();
++            grib_usage();
+             exit(1);
+         }
+     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/eccodes.git



More information about the debian-science-commits mailing list