diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-02-25 22:43:48 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-27 13:22:27 +0700 |
commit | 02f03c4bff614c783386cd7c2e508d6bb00c93b8 (patch) | |
tree | 4c512d9a253f65069c30023f15743b58c5b80090 /graphics/darktable/8b1bb5fbb108be341f8313da47be48470c0501ec.patch | |
parent | b29af5ecff10793dc6197107f10a28c611f0ba6b (diff) |
graphics/darktable: Updated for version 2.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/darktable/8b1bb5fbb108be341f8313da47be48470c0501ec.patch')
-rw-r--r-- | graphics/darktable/8b1bb5fbb108be341f8313da47be48470c0501ec.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/darktable/8b1bb5fbb108be341f8313da47be48470c0501ec.patch b/graphics/darktable/8b1bb5fbb108be341f8313da47be48470c0501ec.patch new file mode 100644 index 0000000000000..fd2ee50862581 --- /dev/null +++ b/graphics/darktable/8b1bb5fbb108be341f8313da47be48470c0501ec.patch @@ -0,0 +1,25 @@ +From 9149e5b11bb25fbbdb5c1d7ad58c9a06dbf9f26f Mon Sep 17 00:00:00 2001 +From: Fabio Valentini <decathorpe@gmail.com> +Date: Thu, 4 Feb 2016 12:24:43 +0100 +Subject: [PATCH] src/develop/masks/path.c: fix int -> float (compile error w/ + GCC6) + +--- + src/develop/masks/path.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/develop/masks/path.c b/src/develop/masks/path.c +index 62c0095..f08dd4c 100644 +--- a/src/develop/masks/path.c ++++ b/src/develop/masks/path.c +@@ -2555,8 +2555,8 @@ static int dt_path_get_mask_roi(dt_iop_module_t *module, dt_dev_pixelpipe_iop_t + // now check if feather is at least partially within roi + for(int i = nb_corner * 3; i < border_count; i++) + { +- int xx = border[i * 2]; +- int yy = border[i * 2 + 1]; ++ float xx = border[i * 2]; ++ float yy = border[i * 2 + 1]; + if(isnan(xx)) + { + if(isnan(yy)) break; // that means we have to skip the end of the border path |