graphics/darktable: Update to 2.0.2

This update also fixes the build on FreeBSD 9.3-RELEASE where the
definition of powl(3) is hidden behind _DECLARE_C99_LDBL_MATH.

Reviewed by:	kwm
Approved by:	kwm
Differential Revision:	https://reviews.freebsd.org/D5279
This commit is contained in:
Jean-Sébastien Pédron 2016-03-11 19:01:42 +00:00
parent 2be3d1ede6
commit 6449a43c35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410836
4 changed files with 10 additions and 16 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= darktable
PORTVERSION= 2.0.1
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
@ -126,6 +126,12 @@ LDFLAGS+= ${OPENMP_FLAGS}
CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW
.endif
# On FreeBSD 9.3-RELEASE, powl(3) is hidden behind the following
# define. So let's define it to fix the build. This is only needed on
# 9.3-RELEASE, but it's harmless on later branches because this define
# is not used.
CFLAGS+= -D_DECLARE_C99_LDBL_MATH
.if defined(WITH_DEBUG)
CMAKE_BUILD_TYPE= RelWithDebInfo
STRIP=

View file

@ -1,2 +1,2 @@
SHA256 (darktable-2.0.1.tar.xz) = 4d0e76eb42b95418ab59c17bff8aac660f5348b082aabfb3113607c67e87830b
SIZE (darktable-2.0.1.tar.xz) = 2927028
SHA256 (darktable-2.0.2.tar.xz) = 75ea6354eb08aab8f25315a2de14c68dc6aad6ee5992061beea624afc7912400
SIZE (darktable-2.0.2.tar.xz) = 2963072

View file

@ -1,13 +0,0 @@
--- src/develop/masks/path.c.orig 2016-02-02 11:36:06 UTC
+++ src/develop/masks/path.c
@@ -2555,8 +2555,8 @@ static int dt_path_get_mask_roi(dt_iop_m
// 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

View file

@ -337,6 +337,7 @@ share/icons/hicolor/scalable/apps/darktable.svg
%%NLS%%share/locale/el/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/es/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/fr/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/he/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/hu/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/it/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/ja/LC_MESSAGES/darktable.mo