aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2016-03-12 03:01:42 +0800
committerdumbbell <dumbbell@FreeBSD.org>2016-03-12 03:01:42 +0800
commit8834bfc43b7b9b2e521b0f375c96a9fc3ac7b4e0 (patch)
tree0312349a7c78e4a412357416ffc929e4c342131e /graphics
parent26a66df25bf27064b201b521b26bb02c1862eb71 (diff)
downloadfreebsd-ports-gnome-8834bfc43b7b9b2e521b0f375c96a9fc3ac7b4e0.tar.gz
freebsd-ports-gnome-8834bfc43b7b9b2e521b0f375c96a9fc3ac7b4e0.tar.zst
freebsd-ports-gnome-8834bfc43b7b9b2e521b0f375c96a9fc3ac7b4e0.zip
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/darktable/Makefile8
-rw-r--r--graphics/darktable/distinfo4
-rw-r--r--graphics/darktable/files/patch-src_develop_masks_path.c13
-rw-r--r--graphics/darktable/pkg-plist1
4 files changed, 10 insertions, 16 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index eea9be7295a3..7cfd5f4bc04d 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -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=
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index 0723b90678d1..3531f7995d91 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -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
diff --git a/graphics/darktable/files/patch-src_develop_masks_path.c b/graphics/darktable/files/patch-src_develop_masks_path.c
deleted file mode 100644
index 07a505e5ca32..000000000000
--- a/graphics/darktable/files/patch-src_develop_masks_path.c
+++ /dev/null
@@ -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
diff --git a/graphics/darktable/pkg-plist b/graphics/darktable/pkg-plist
index 45ad77ee6c39..2897eeaeb178 100644
--- a/graphics/darktable/pkg-plist
+++ b/graphics/darktable/pkg-plist
@@ -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