diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-30 19:04:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-30 19:04:12 +0000 |
commit | d6009e62dd084f77055ce2fcf4d48a2a852db66d (patch) | |
tree | 08e96ce5e79b56f6f632300d22fd48d08dd6c7bb /devel | |
parent | 32fc36752c22446b4666ca214f7caa78e6d9fb9d (diff) | |
download | pkgsrc-d6009e62dd084f77055ce2fcf4d48a2a852db66d.tar.gz |
Don't use unportable ulong if unsigned long works as well.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/guile-gtk/distinfo | 3 | ||||
-rw-r--r-- | devel/guile-gtk/patches/patch-ab | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/devel/guile-gtk/distinfo b/devel/guile-gtk/distinfo index a66c7dfe4df..b7ffe13b20a 100644 --- a/devel/guile-gtk/distinfo +++ b/devel/guile-gtk/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2005/02/23 22:24:16 agc Exp $ +$NetBSD: distinfo,v 1.7 2006/01/30 19:04:12 joerg Exp $ SHA1 (guile-gtk-0.40.91.tar.gz) = 9044067d0ff4e745167c38325cd41dbc47e9c483 RMD160 (guile-gtk-0.40.91.tar.gz) = e9d7312273f65a13963ee55e1af1838035089be7 Size (guile-gtk-0.40.91.tar.gz) = 708183 bytes SHA1 (patch-aa) = f3f6e47727ea7429c671fe02d2a93e8e962e920b +SHA1 (patch-ab) = 27c37162913bd56d55bae1fe0463d80773c3b236 diff --git a/devel/guile-gtk/patches/patch-ab b/devel/guile-gtk/patches/patch-ab new file mode 100644 index 00000000000..ee385b9975c --- /dev/null +++ b/devel/guile-gtk/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.3 2006/01/30 19:04:12 joerg Exp $ + +--- guile-gtk.c.orig 2006-01-30 18:57:35.000000000 +0000 ++++ guile-gtk.c +@@ -1932,13 +1932,13 @@ sgtk_scm2arg (GtkArg *a, SCM obj, SCM pr + GTK_VALUE_INT(*a) = scm_num2long (obj, (long)SCM_ARG1, "scm->gtk"); + break; + case GTK_TYPE_UINT: +- GTK_VALUE_UINT(*a) = scm_num2ulong (obj, (ulong)SCM_ARG1, "scm->gtk"); ++ GTK_VALUE_UINT(*a) = scm_num2ulong (obj, (unsigned long)SCM_ARG1, "scm->gtk"); + break; + case GTK_TYPE_LONG: + GTK_VALUE_LONG(*a) = scm_num2long (obj, (long)SCM_ARG1, "scm->gtk"); + break; + case GTK_TYPE_ULONG: +- GTK_VALUE_ULONG(*a) = scm_num2ulong (obj, (ulong)SCM_ARG1, "scm->gtk"); ++ GTK_VALUE_ULONG(*a) = scm_num2ulong (obj, (unsigned long)SCM_ARG1, "scm->gtk"); + break; + case GTK_TYPE_FLOAT: + GTK_VALUE_FLOAT(*a) = sgtk_scm2float (obj); |