[126607] trunk/dports/gnome/goffice

devans at macports.org devans at macports.org
Sun Oct 12 12:52:48 PDT 2014


Revision: 126607
          https://trac.macports.org/changeset/126607
Author:   devans at macports.org
Date:     2014-10-12 12:52:48 -0700 (Sun, 12 Oct 2014)
Log Message:
-----------
goffice: update to version 0.10.18, patch to fix crash in quad precision math routines, update homepage, minor whitespace changes.

Modified Paths:
--------------
    trunk/dports/gnome/goffice/Portfile

Added Paths:
-----------
    trunk/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff

Property Changed:
----------------
    trunk/dports/gnome/goffice/


Property changes on: trunk/dports/gnome/goffice
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/gnome/goffice:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/goffice:126043-126605
/users/rmstonecipher/gnome/goffice:102363-103172

Modified: trunk/dports/gnome/goffice/Portfile
===================================================================
--- trunk/dports/gnome/goffice/Portfile	2014-10-12 18:45:23 UTC (rev 126606)
+++ trunk/dports/gnome/goffice/Portfile	2014-10-12 19:52:48 UTC (rev 126607)
@@ -14,7 +14,7 @@
 categories              gnome devel
 platforms               darwin
 
-homepage                http://freecode.com/projects/goffice
+homepage                http://www.gnumeric.org/
 use_xz                  yes
 
 depends_build           port:intltool \
@@ -22,13 +22,12 @@
 
 if {${name} eq ${subport}} {
     epoch               1
-    version             0.10.8
-    revision            1
+    version             0.10.18
 
     license             {GPL-2 GPL-3}
 
-    checksums           rmd160  c21635c4f648deb34d5e78b92cbf31b5c2441e09 \
-                        sha256  11964b907b03dede6d8d8a1a4ae2d5727ffbe8d7bab5c92dec586acb616e807c
+    checksums           rmd160  8843e0b62cdc7e9f8b34bf0941ccc5e7684fbf75 \
+                        sha256  4743a148d4452743f3484ed28285a6889adb4af2a61b72448e0ddfe7d5142c64
 
     depends_lib         port:gtk3 \
                         port:libgsf \
@@ -38,9 +37,13 @@
                         port:gobject-introspection \
                         path:lib/pkgconfig/glib-2.0.pc:glib2
 
-    configure.args-append   --enable-introspection
-    patchfiles-append       patch_quartz-goffice-goffice.c.diff
+    configure.args-append \
+                        --enable-introspection \
+                        --enable-compile-warnings=minimum
 
+    patchfiles-append   patch_quartz-goffice-goffice.c.diff \
+                        patch-goffice-math-go-quad.diff
+
     livecheck.type      gnome
 } else {
     livecheck.type      none

Copied: trunk/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff (from rev 126605, users/devans/GNOME-3/stable/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff)
===================================================================
--- trunk/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff	                        (rev 0)
+++ trunk/dports/gnome/goffice/files/patch-goffice-math-go-quad.diff	2014-10-12 19:52:48 UTC (rev 126607)
@@ -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/1d6dcb46/attachment.html>


More information about the macports-changes mailing list