From owner-svn-ports-all@FreeBSD.ORG Fri Apr 17 18:54:03 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92946556; Fri, 17 Apr 2015 18:54:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6666ACED; Fri, 17 Apr 2015 18:54:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3HIs3nD026419; Fri, 17 Apr 2015 18:54:03 GMT (envelope-from dumbbell@FreeBSD.org) Received: (from dumbbell@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3HIs2v5026417; Fri, 17 Apr 2015 18:54:02 GMT (envelope-from dumbbell@FreeBSD.org) Message-Id: <201504171854.t3HIs2v5026417@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dumbbell set sender to dumbbell@FreeBSD.org using -f From: Jean-Sebastien Pedron Date: Fri, 17 Apr 2015 18:54:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384169 - in head/graphics/darktable: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 18:54:03 -0000 Author: dumbbell (src committer) Date: Fri Apr 17 18:54:02 2015 New Revision: 384169 URL: https://svnweb.freebsd.org/changeset/ports/384169 Log: graphics/darktable: Fix bug with preferences when built with Clang 3.6 The patch was committed upstream. The commit message has a detailed explanation: https://github.com/darktable-org/darktable/commit/9d77a28e54f8bc19592a170b1e4b9cf083f7b5a3 Differential Revision: https://reviews.freebsd.org/D2308 Reviewed by: kwm Approved by: kwm Added: head/graphics/darktable/files/ head/graphics/darktable/files/patch-tools_generate__prefs.xsl (contents, props changed) Modified: head/graphics/darktable/Makefile Modified: head/graphics/darktable/Makefile ============================================================================== --- head/graphics/darktable/Makefile Fri Apr 17 17:15:59 2015 (r384168) +++ head/graphics/darktable/Makefile Fri Apr 17 18:54:02 2015 (r384169) @@ -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}/ Added: head/graphics/darktable/files/patch-tools_generate__prefs.xsl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/darktable/files/patch-tools_generate__prefs.xsl Fri Apr 17 18:54:02 2015 (r384169) @@ -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);