[126605] users/devans/GNOME-3/stable/dports/gnome/goffice
devans at macports.org
devans at macports.org
Sun Oct 12 10:42:45 PDT 2014
Revision: 126605
https://trac.macports.org/changeset/126605
Author: devans at macports.org
Date: 2014-10-12 10:42:45 -0700 (Sun, 12 Oct 2014)
Log Message:
-----------
GNOME-3/stable: goffice, update to version 0.10.18, patch to fix crash in quad precision math routines.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/gnome/goffice/Portfile
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff
Modified: users/devans/GNOME-3/stable/dports/gnome/goffice/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/goffice/Portfile 2014-10-12 17:31:13 UTC (rev 126604)
+++ users/devans/GNOME-3/stable/dports/gnome/goffice/Portfile 2014-10-12 17:42:45 UTC (rev 126605)
@@ -22,12 +22,12 @@
if {${name} eq ${subport}} {
epoch 1
- version 0.10.14
+ version 0.10.18
license {GPL-2 GPL-3}
-checksums rmd160 47fcf1d4b60a154c6ae71c16773ac08f3f432d31 \
- sha256 c0783ca32828a64a65fe57609a692c1cb6627d3dfe8bed4fed8a70f32c8f404e
+ checksums rmd160 8843e0b62cdc7e9f8b34bf0941ccc5e7684fbf75 \
+ sha256 4743a148d4452743f3484ed28285a6889adb4af2a61b72448e0ddfe7d5142c64
depends_lib port:gtk3 \
port:libgsf \
@@ -37,11 +37,11 @@
port:gobject-introspection \
path:lib/pkgconfig/glib-2.0.pc:glib2
- configure.optflags -g -O0
configure.args-append --enable-introspection \
--enable-compile-warnings=minimum
- patchfiles-append patch_quartz-goffice-goffice.c.diff
+ patchfiles-append patch_quartz-goffice-goffice.c.diff \
+ patch-goffice-math-go-quad.diff
livecheck.type gnome
} else {
Added: users/devans/GNOME-3/stable/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff 2014-10-12 17:42:45 UTC (rev 126605)
@@ -0,0 +1,42 @@
+--- goffice/math/go-quad.h.orig 2014-09-21 15:03:01.000000000 -0700
++++ goffice/math/go-quad.h 2014-10-11 07:50:04.000000000 -0700
+@@ -46,12 +46,12 @@
+
+ GO_VAR_DECL const GOQuad go_quad_zero;
+ GO_VAR_DECL const GOQuad go_quad_one;
+-GO_VAR_DECL const GOQuad go_quad_pi;
+-GO_VAR_DECL const GOQuad go_quad_2pi;
+-GO_VAR_DECL const GOQuad go_quad_e;
+-GO_VAR_DECL const GOQuad go_quad_ln2;
+-GO_VAR_DECL const GOQuad go_quad_sqrt2;
+-GO_VAR_DECL const GOQuad go_quad_euler;
++GO_VAR_DECL GOQuad go_quad_pi;
++GO_VAR_DECL GOQuad go_quad_2pi;
++GO_VAR_DECL GOQuad go_quad_e;
++GO_VAR_DECL GOQuad go_quad_ln2;
++GO_VAR_DECL GOQuad go_quad_sqrt2;
++GO_VAR_DECL GOQuad go_quad_euler;
+
+ #ifdef GOFFICE_WITH_LONG_DOUBLE
+ struct GOQuadl_ {
+--- goffice/math/go-quad.c.orig 2014-10-11 07:57:10.000000000 -0700
++++ goffice/math/go-quad.c 2014-10-11 07:57:32.000000000 -0700
+@@ -273,12 +273,12 @@
+
+ const QUAD SUFFIX(go_quad_zero) = { 0, 0 };
+ const QUAD SUFFIX(go_quad_one) = { 1, 0 };
+-const QUAD SUFFIX(go_quad_pi);
+-const QUAD SUFFIX(go_quad_2pi);
+-const QUAD SUFFIX(go_quad_e);
+-const QUAD SUFFIX(go_quad_ln2);
+-const QUAD SUFFIX(go_quad_sqrt2);
+-const QUAD SUFFIX(go_quad_euler);
++QUAD SUFFIX(go_quad_pi);
++QUAD SUFFIX(go_quad_2pi);
++QUAD SUFFIX(go_quad_e);
++QUAD SUFFIX(go_quad_ln2);
++QUAD SUFFIX(go_quad_sqrt2);
++QUAD SUFFIX(go_quad_euler);
+
+ /**
+ * go_quad_init: (skip)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141012/3ea8106d/attachment.html>
More information about the macports-changes
mailing list