pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/gnumeric Fix build with libgda-1.9.103, and depen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b4cd1eb66e2
branches:  trunk
changeset: 518822:2b4cd1eb66e2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 19 17:45:50 2006 +0000

description:
Fix build with libgda-1.9.103, and depend on it. Bump PKGREVISION.
Patch from jsacco@garnome.

diffstat:

 math/gnumeric/Makefile         |   5 +++--
 math/gnumeric/distinfo         |   3 ++-
 math/gnumeric/patches/patch-ab |  20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r 6a34fd07bcfc -r 2b4cd1eb66e2 math/gnumeric/Makefile
--- a/math/gnumeric/Makefile    Tue Sep 19 11:22:09 2006 +0000
+++ b/math/gnumeric/Makefile    Tue Sep 19 17:45:50 2006 +0000
@@ -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 @@
 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 -r 6a34fd07bcfc -r 2b4cd1eb66e2 math/gnumeric/distinfo
--- a/math/gnumeric/distinfo    Tue Sep 19 11:22:09 2006 +0000
+++ b/math/gnumeric/distinfo    Tue Sep 19 17:45:50 2006 +0000
@@ -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 -r 6a34fd07bcfc -r 2b4cd1eb66e2 math/gnumeric/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/gnumeric/patches/patch-ab    Tue Sep 19 17:45:50 2006 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index