Index: graphics/darktable/Makefile
===================================================================
--- graphics/darktable/Makefile
+++ graphics/darktable/Makefile
@@ -3,6 +3,7 @@
PORTNAME= darktable
PORTVERSION= 1.6.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION}/
Index: graphics/darktable/files/patch-tools_generate__prefs.xsl
===================================================================
--- /dev/null
+++ graphics/darktable/files/patch-tools_generate__prefs.xsl
@@ -0,0 +1,13 @@
+--- tools/generate_prefs.xsl.orig 2015-04-03 13:59:08 UTC
++++ tools/generate_prefs.xsl
+@@ -231,7 +231,9 @@
+ gint min = 0;
gint max = G_MAXINT;
+
+
+- min *= factor; max *= factor;
++ double tmp;
++ tmp = min * (double)factor; min = tmp;
++ tmp = max * (double)factor; max = tmp;
+ widget = gtk_spin_button_new_with_range(min, max, 1);
+ gtk_spin_button_set_digits(GTK_SPIN_BUTTON(widget), 0);
+ gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget), dt_conf_get_int("") * factor);