graphics/darktable: Update to 2.2.3

Version 2.2.3 was released shortly after 2.2.2 with the patch to
src/develop/imageop_math.c applied.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D9400
This commit is contained in:
Jean-Sébastien Pédron 2017-02-01 22:10:08 +00:00
parent d49444afc5
commit c7420f9c2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433115
3 changed files with 4 additions and 22 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= darktable
PORTVERSION= 2.2.2
PORTVERSION= 2.2.3
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1485537770
SHA256 (darktable-2.2.2.tar.xz) = 766d7d734e7bd5a33f6a6932a43b15cc88435c64ad9a0b20410ba5b4706941c2
SIZE (darktable-2.2.2.tar.xz) = 3079424
TIMESTAMP = 1485877660
SHA256 (darktable-2.2.3.tar.xz) = 1b33859585bf283577680c61e3c0ea4e48214371453b9c17a86664d2fbda48a0
SIZE (darktable-2.2.3.tar.xz) = 3079524

View file

@ -1,18 +0,0 @@
--- src/develop/imageop_math.c.orig 2017-01-27 11:03:43 UTC
+++ src/develop/imageop_math.c
@@ -195,13 +195,13 @@ void dt_iop_clip_and_zoom_mosaic_half_si
const float fy = (y + roi_out->y) * px_footprint;
const int miny = CLAMPS((int)floorf(fy - px_footprint), 0, roi_in->height-3);
- const int maxy = MIN(roi_in->height-1, (int)ceilf(fy + px_footprint));
+ const int maxy = MIN(roi_in->height-2, (int)ceilf(fy + px_footprint));
float fx = roi_out->x * px_footprint;
for(int x = 0; x < roi_out->width; x++, fx += px_footprint, outc++)
{
const int minx = CLAMPS((int)floorf(fx - px_footprint), 0, roi_in->width-3);
- const int maxx = MIN(roi_in->width-1, (int)ceilf(fx + px_footprint));
+ const int maxx = MIN(roi_in->width-2, (int)ceilf(fx + px_footprint));
const int c = FC(y, x, filters);
int num = 0;