summaryrefslogtreecommitdiff
path: root/math/gnumeric
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-09-19 17:45:50 +0000
committerwiz <wiz@pkgsrc.org>2006-09-19 17:45:50 +0000
commitc7dde6d0e917f4ed233c668dc1d2eab9c272d89c (patch)
tree10ab39ebae9ab5d11c8e75a10d32995018d09a28 /math/gnumeric
parent48c9cfae10226b6a7451d69f5f8842f9f7512985 (diff)
downloadpkgsrc-c7dde6d0e917f4ed233c668dc1d2eab9c272d89c.tar.gz
Fix build with libgda-1.9.103, and depend on it. Bump PKGREVISION.
Patch from jsacco@garnome.
Diffstat (limited to 'math/gnumeric')
-rw-r--r--math/gnumeric/Makefile5
-rw-r--r--math/gnumeric/distinfo3
-rw-r--r--math/gnumeric/patches/patch-ab20
3 files changed, 25 insertions, 3 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index e6c6cdc4b00..62db3561852 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.115 2006/09/16 12:20:38 jmmv Exp $
+# $NetBSD: Makefile,v 1.116 2006/09/19 17:45:50 wiz Exp $
#
DISTNAME= gnumeric-1.6.3
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnumeric/1.6/}
EXTRACT_SUFX= .tar.bz2
@@ -28,6 +28,7 @@ GCONF2_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \
PLIST_SUBST+= PERL="@comment "
#.include "../../lang/perl5/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libgda+= libgda>=1.9.103
.include "../../databases/libgda/buildlink3.mk"
.include "../../databases/libgnomedb/buildlink3.mk"
.include "../../devel/libgsf/buildlink3.mk"
diff --git a/math/gnumeric/distinfo b/math/gnumeric/distinfo
index 678842cd8e3..83489821727 100644
--- a/math/gnumeric/distinfo
+++ b/math/gnumeric/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.27 2006/04/02 22:49:10 wiz Exp $
+$NetBSD: distinfo,v 1.28 2006/09/19 17:45:50 wiz Exp $
SHA1 (gnumeric-1.6.3.tar.bz2) = 2261b3276ed5ead65047208a6ddb7f3436b7e544
RMD160 (gnumeric-1.6.3.tar.bz2) = 49be3b72070555ab6b58f1c59a0c22819b9b9096
Size (gnumeric-1.6.3.tar.bz2) = 12540950 bytes
SHA1 (patch-aa) = 1601ae861cdf1851d1939aa44666929d9ad4f1e7
+SHA1 (patch-ab) = 2762921405544d83c8a1290afffafe846e47b3d1
diff --git a/math/gnumeric/patches/patch-ab b/math/gnumeric/patches/patch-ab
new file mode 100644
index 00000000000..4f8fcf05b13
--- /dev/null
+++ b/math/gnumeric/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.12 2006/09/19 17:45:50 wiz Exp $
+
+Patch from jsacco@garnome.
+
+--- plugins/gda/plugin-gda.c.orig 2005-08-09 11:49:36.000000000 +0000
++++ plugins/gda/plugin-gda.c
+@@ -62,11 +62,11 @@ display_recordset (GdaDataModel *recset,
+ for (row = 0; row < rowcount; row++) {
+ for (col = 0; col < fieldcount; col++) {
+ gchar *str;
+- const GdaValue *value;
++ const GValue *value;
+
+ value = gda_data_model_get_value_at (GDA_DATA_MODEL (recset),
+ col, row);
+- str = gda_value_stringify ((GdaValue *) value);
++ str = gda_value_stringify (value);
+ value_array_set (array,
+ col,
+ row,