pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/guile-gnome Add an explicit cast to fix the buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47a5065955e9
branches:  trunk
changeset: 532785:47a5065955e9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 30 19:15:48 2007 +0000

description:
Add an explicit cast to fix the build on DragonFly.
glib seems to use either unsigned long or size_t and
generally long == size_t is a good assumption.

diffstat:

 devel/guile-gnome/distinfo         |   3 ++-
 devel/guile-gnome/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r cd8cfb7398eb -r 47a5065955e9 devel/guile-gnome/distinfo
--- a/devel/guile-gnome/distinfo        Thu Aug 30 19:10:46 2007 +0000
+++ b/devel/guile-gnome/distinfo        Thu Aug 30 19:15:48 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/08/10 21:10:35 gdt Exp $
+$NetBSD: distinfo,v 1.3 2007/08/30 19:15:48 joerg Exp $
 
 SHA1 (guile-gnome-platform-2.15.93.tar.gz) = 1ebd8b54e12a53d3eb95f2c754cc460f693a666c
 RMD160 (guile-gnome-platform-2.15.93.tar.gz) = 0370ce257add4de493878c0692ee6b7b08c8550f
 Size (guile-gnome-platform-2.15.93.tar.gz) = 1179732 bytes
+SHA1 (patch-aa) = efd8b052c9e8b778825dc75799bf5ed7d0ec13dd
diff -r cd8cfb7398eb -r 47a5065955e9 devel/guile-gnome/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/guile-gnome/patches/patch-aa        Thu Aug 30 19:15:48 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2007/08/30 19:15:48 joerg Exp $
+
+--- corba/gnome/corba/guile-gnome-corba-types.c.orig   2007-08-30 18:42:50.000000000 +0000
++++ corba/gnome/corba/guile-gnome-corba-types.c
+@@ -500,7 +500,7 @@ case CORBA_tk_ ## k:                                                               \
+       GType gtype;
+ 
+       gtype = guile_corba_generic_typecode_to_type (tc);
+-      g_message (G_STRLOC ": %ld", gtype);
++      g_message (G_STRLOC ": %lu", (unsigned long)gtype);
+ 
+       retval = scm_c_make_gvalue (gtype);
+         scm_gvalue_primitive_set (retval, SCM_MAKINUM(*(CORBA_unsigned_long*)any->_value));



Home | Main Index | Thread Index | Old Index