aboutsummaryrefslogtreecommitdiffstats
path: root/main/goffice/cspline.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-11 13:47:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-11 14:06:12 +0000
commit89a0eadfa627882735c5da6175e27ef1268f7dbc (patch)
treed85aafbd02d6fc4a053be3c181cf2213bc025031 /main/goffice/cspline.patch
parentbae6448b567ed4110bd750ca31c4d0f8d8a9453a (diff)
downloadaports-89a0eadfa627882735c5da6175e27ef1268f7dbc.tar.bz2
aports-89a0eadfa627882735c5da6175e27ef1268f7dbc.tar.xz
main/goffice: upgrade to 0.10.1
Diffstat (limited to 'main/goffice/cspline.patch')
-rw-r--r--main/goffice/cspline.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/goffice/cspline.patch b/main/goffice/cspline.patch
new file mode 100644
index 0000000000..26382aab6a
--- /dev/null
+++ b/main/goffice/cspline.patch
@@ -0,0 +1,36 @@
+From 01f93869b7e2e9b38bd62c94d9d71103dffa4f08 Mon Sep 17 00:00:00 2001
+From: Morten Welinder <terra@gnome.org>
+Date: Sun, 10 Mar 2013 20:18:01 +0000
+Subject: Math: fix problems with cspline boxed type.
+
+---
+diff --git a/goffice/math/go-cspline.c b/goffice/math/go-cspline.c
+index a3d0991..d321847 100644
+--- a/goffice/math/go-cspline.c
++++ b/goffice/math/go-cspline.c
+@@ -229,9 +229,9 @@ SUFFIX(go_cspline_ref) (GOCSpline *sp)
+
+ GType
+ #ifdef LONG_DOUBLE
+-go_cspline_get_type (void)
+-#else
+ go_csplinel_get_type (void)
++#else
++go_cspline_get_type (void)
+ #endif
+ {
+ static GType t = 0;
+@@ -239,9 +239,9 @@ go_csplinel_get_type (void)
+ if (t == 0) {
+ t = g_boxed_type_register_static (
+ #ifdef LONG_DOUBLE
+- "GOCSpline",
+-#else
+ "GOCSplinel",
++#else
++ "GOCSpline",
+ #endif
+ (GBoxedCopyFunc)SUFFIX(go_cspline_ref),
+ (GBoxedFreeFunc)SUFFIX(go_cspline_destroy));
+--
+cgit v0.9.1