[117792] users/devans/dports/graphics/inkscape-devel
devans at macports.org
devans at macports.org
Wed Mar 12 21:41:41 PDT 2014
Revision: 117792
https://trac.macports.org/changeset/117792
Author: devans at macports.org
Date: 2014-03-12 21:41:40 -0700 (Wed, 12 Mar 2014)
Log Message:
-----------
devans/dports: inkscape-devel, update to bzr 13143 for testing.
Modified Paths:
--------------
users/devans/dports/graphics/inkscape-devel/Portfile
Added Paths:
-----------
users/devans/dports/graphics/inkscape-devel/files/
users/devans/dports/graphics/inkscape-devel/files/patch-src-extension-internal-grid.cpp.diff
Modified: users/devans/dports/graphics/inkscape-devel/Portfile
===================================================================
--- users/devans/dports/graphics/inkscape-devel/Portfile 2014-03-13 03:38:16 UTC (rev 117791)
+++ users/devans/dports/graphics/inkscape-devel/Portfile 2014-03-13 04:41:40 UTC (rev 117792)
@@ -5,7 +5,7 @@
name inkscape-devel
conflicts inkscape
-set bzr_rev 12966
+set bzr_rev 13143
version 0.48.99.${bzr_rev}
epoch 1
license GPL-2 LGPL-2.1
@@ -25,8 +25,8 @@
homepage http://www.inkscape.org/
master_sites file:///Users/devans/macports/distfiles/${name}
-checksums rmd160 727fefd41df46591637acfb591fcd240954e9940 \
- sha256 6245563b8530c1aecf46076e7b3af2477025a158d4bbae5218847f34acd88ba2
+checksums rmd160 22d664f6c7bc2541df2a5e6ca18676c30a2c1da4 \
+ sha256 bf2a1a102e62843eddd19e152404d2c1b23ff8236fbc8e45b45a99b3dace56c0
worksrcdir inkscape
@@ -53,6 +53,10 @@
port:libwpg \
port:gtkspell2
+patchfiles patch-src-extension-internal-grid.cpp.diff
+
+configure.cflags-append -Wno-unused-function
+
variant python26 conflicts python27 description {Configure to use Python version 2.6} {
depends_lib-append \
port:py26-lxml \
Added: users/devans/dports/graphics/inkscape-devel/files/patch-src-extension-internal-grid.cpp.diff
===================================================================
--- users/devans/dports/graphics/inkscape-devel/files/patch-src-extension-internal-grid.cpp.diff (rev 0)
+++ users/devans/dports/graphics/inkscape-devel/files/patch-src-extension-internal-grid.cpp.diff 2014-03-13 04:41:40 UTC (rev 117792)
@@ -0,0 +1,19 @@
+--- src/extension/internal/grid.cpp.orig 2014-03-11 00:39:37.000000000 -0700
++++ src/extension/internal/grid.cpp 2014-03-11 00:43:17.000000000 -0700
+@@ -115,11 +115,11 @@
+
+ gdouble scale = Inkscape::Util::Quantity::convert(1, "px", (document->doc())->getDefaultUnit());
+ bounding_area *= Geom::Scale(scale);
+- float spacings[2] = { scale*module->get_param_float("xspacing"),
+- scale*module->get_param_float("yspacing") };
+- float line_width = scale*module->get_param_float("lineWidth");
+- float offsets[2] = { scale*module->get_param_float("xoffset"),
+- scale*module->get_param_float("yoffset") };
++ float spacings[2] = { static_cast<float>(scale*module->get_param_float("xspacing")),
++ static_cast<float>(scale*module->get_param_float("yspacing"))};
++ float line_width = static_cast<float>(scale*module->get_param_float("lineWidth"));
++ float offsets[2] = { static_cast<float>(scale*module->get_param_float("xoffset")),
++ static_cast<float>(scale*module->get_param_float("yoffset")) };
+
+ Glib::ustring path_data("");
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140312/abb02f13/attachment.html>
More information about the macports-changes
mailing list