diff options
author | joerg <joerg> | 2007-08-30 19:15:48 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-30 19:15:48 +0000 |
commit | f12f54cb30b3f96e16965eadc3d5eb4c6663dbad (patch) | |
tree | 14dddfa2e2616a9634117b0e41f2988609363b17 /devel | |
parent | a2eb1fa3757c65bd8b126de8f71f47b528792483 (diff) | |
download | pkgsrc-f12f54cb30b3f96e16965eadc3d5eb4c6663dbad.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/guile-gnome/distinfo | 3 | ||||
-rw-r--r-- | devel/guile-gnome/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/guile-gnome/distinfo b/devel/guile-gnome/distinfo index 976dfe5553b..67871e62f57 100644 --- a/devel/guile-gnome/distinfo +++ b/devel/guile-gnome/distinfo @@ -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 --git a/devel/guile-gnome/patches/patch-aa b/devel/guile-gnome/patches/patch-aa new file mode 100644 index 00000000000..3b0c6e43d83 --- /dev/null +++ b/devel/guile-gnome/patches/patch-aa @@ -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)); |