[proj] 01/02: Add patch for missing ! in boolean evaluation.

Bas Couwenberg sebastic at debian.org
Sun Feb 11 16:07:15 UTC 2018


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

sebastic pushed a commit to branch experimental
in repository proj.

commit 7ab20946bb052f69587ee82d2ba99e2fbf36a807
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 11 16:54:35 2018 +0100

    Add patch for missing ! in boolean evaluation.
---
 debian/changelog                                     |  6 ++++++
 ...dd-missing-in-boolean-evaluation.-Fixes-780.patch | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 131546a..1d03f8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+proj (5.0.0~rc2-1~exp4) UNRELEASED; urgency=medium
+
+  * Add patch for missing ! in boolean evaluation.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 11 Feb 2018 16:54:16 +0100
+
 proj (5.0.0~rc2-1~exp3) experimental; urgency=medium
 
   * Ignore test failures on problematic architectures only.
diff --git a/debian/patches/0001-Add-missing-in-boolean-evaluation.-Fixes-780.patch b/debian/patches/0001-Add-missing-in-boolean-evaluation.-Fixes-780.patch
new file mode 100644
index 0000000..d4e4ce2
--- /dev/null
+++ b/debian/patches/0001-Add-missing-in-boolean-evaluation.-Fixes-780.patch
@@ -0,0 +1,20 @@
+From 332bf648a65b5a1a6bb1e2f5d7f5c7cca1ce1159 Mon Sep 17 00:00:00 2001
+From: Kristian Evers <kristianevers at gmail.com>
+Date: Sun, 11 Feb 2018 16:07:18 +0100
+Subject: Add missing ! in boolean evaluation. Fixes #780.
+
+---
+ src/pj_gridinfo.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/pj_gridinfo.c
++++ b/src/pj_gridinfo.c
+@@ -564,7 +564,7 @@ static int pj_gridinfo_init_ntv2( projCt
+ 
+             gi->gridname = pj_strdup( gilist->gridname );
+             gi->filename = pj_strdup( gilist->filename );
+-            if (!gi->gridname || gi->filename) {
++            if (!gi->gridname || !gi->filename) {
+                 pj_gridinfo_free(ctx, gi);
+                 pj_dalloc(ct);
+                 pj_gridinfo_free(ctx, gilist);
diff --git a/debian/patches/series b/debian/patches/series
index 2dc5fe8..e799b7e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 manpage-section.patch
 avoid-numerical-differences-on-non-amd64-architectures.patch
 0001-Avoid-XY-LP-and-UV-datatype-clashes-with-other-libra.patch
+0001-Add-missing-in-boolean-evaluation.-Fixes-780.patch

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



More information about the Pkg-grass-devel mailing list