pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/libgnomedb Fix a C99-ism that prevented this...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e4ca01bcb51
branches:  trunk
changeset: 490287:6e4ca01bcb51
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Mar 06 21:27:13 2005 +0000

description:
Fix a C99-ism that prevented this package from building with gcc 2.95,
and remove GCC_REQD on gcc 3.

diffstat:

 databases/libgnomedb/Makefile         |   3 +--
 databases/libgnomedb/distinfo         |   3 ++-
 databases/libgnomedb/patches/patch-aa |  18 ++++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 38f74e77fce9 -r 6e4ca01bcb51 databases/libgnomedb/Makefile
--- a/databases/libgnomedb/Makefile     Sun Mar 06 21:26:03 2005 +0000
+++ b/databases/libgnomedb/Makefile     Sun Mar 06 21:27:13 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2005/03/03 16:39:28 drochner Exp $
+# $NetBSD: Makefile,v 1.33 2005/03/06 21:27:13 kristerw Exp $
 #
 
 DISTNAME=              libgnomedb-1.2.0
@@ -14,7 +14,6 @@
 
 USE_X11=               YES
 USE_GNU_TOOLS+=                make
-GCC_REQD=              3.3
 USE_LIBTOOL=           YES
 USE_BUILDLINK3=                YES
 USE_DIRS+=             gnome2-1.5
diff -r 38f74e77fce9 -r 6e4ca01bcb51 databases/libgnomedb/distinfo
--- a/databases/libgnomedb/distinfo     Sun Mar 06 21:26:03 2005 +0000
+++ b/databases/libgnomedb/distinfo     Sun Mar 06 21:27:13 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2005/02/24 19:17:10 drochner Exp $
+$NetBSD: distinfo,v 1.13 2005/03/06 21:27:13 kristerw Exp $
 
 SHA1 (libgnomedb-1.2.0.tar.bz2) = 6f5a59bd09fae98fed69f0961a8ac5ef2173786b
 RMD160 (libgnomedb-1.2.0.tar.bz2) = 5808ddb919f18c4243ca2ef27a7f97cea79019d8
 Size (libgnomedb-1.2.0.tar.bz2) = 649272 bytes
+SHA1 (patch-aa) = 60bc2de7960a283418df6bf102200597e59e1d29
 SHA1 (patch-ab) = 6b8ae19bb5876532cab5b1441cf24cce92ca57f1
 SHA1 (patch-ad) = 008d949f0e0debda852f07c3a2eaac2462c37f50
diff -r 38f74e77fce9 -r 6e4ca01bcb51 databases/libgnomedb/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libgnomedb/patches/patch-aa     Sun Mar 06 21:27:13 2005 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.7 2005/03/06 21:27:13 kristerw Exp $
+
+--- libgnomedb/gnome-db-find-dialog.c.orig     Sat Mar  5 20:22:31 2005
++++ libgnomedb/gnome-db-find-dialog.c  Sat Mar  5 20:23:05 2005
+@@ -216,11 +216,12 @@
+ GtkWidget *
+ gnome_db_find_dialog_new_with_model (const gchar *title, GdaDataModel *dm)
+ {
++      GnomeDbFindDialog *dialog;
+       g_return_val_if_fail (GDA_IS_DATA_MODEL (dm), NULL);
+       
+       g_object_ref (dm);
+       
+-      GnomeDbFindDialog *dialog = gnome_db_find_dialog_new (title);
++      dialog = gnome_db_find_dialog_new (title);
+       gnome_db_find_dialog_add_fields_from_model (dialog, dm);
+ 
+       g_object_unref (dm);



Home | Main Index | Thread Index | Old Index