pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-gnome2-glib Fix build problem with glib-2.1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b92ec865f3e
branches: trunk
changeset: 532432:2b92ec865f3e
user: taca <taca%pkgsrc.org@localhost>
date: Sun Aug 19 03:00:26 2007 +0000
description:
Fix build problem with glib-2.14.0.
diffstat:
devel/ruby-gnome2-glib/Makefile | 3 ++-
devel/ruby-gnome2-glib/distinfo | 8 ++++++++
devel/ruby-gnome2-glib/patches/patch-aa | 14 ++++++++++++++
devel/ruby-gnome2-glib/patches/patch-ab | 13 +++++++++++++
devel/ruby-gnome2-glib/patches/patch-ac | 13 +++++++++++++
5 files changed, 50 insertions(+), 1 deletions(-)
diffs (81 lines):
diff -r ab60b9851811 -r 2b92ec865f3e devel/ruby-gnome2-glib/Makefile
--- a/devel/ruby-gnome2-glib/Makefile Sun Aug 19 02:59:24 2007 +0000
+++ b/devel/ruby-gnome2-glib/Makefile Sun Aug 19 03:00:26 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/01/29 06:42:34 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2007/08/19 03:00:26 taca Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-glib-${VERSION}
@@ -10,6 +10,7 @@
RUBY_EXTCONF_SUBDIRS= glib
USE_TOOLS+= pkg-config
+DISTINFO_FILE?= ${.CURDIR}/distinfo
.include "../../devel/glib2/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff -r ab60b9851811 -r 2b92ec865f3e devel/ruby-gnome2-glib/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gnome2-glib/distinfo Sun Aug 19 03:00:26 2007 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2007/08/19 03:00:26 taca Exp $
+
+SHA1 (ruby-gnome2-all-0.16.0.tar.gz) = 488f6c1f139060e005f336c9c854c4dc5b3e6b7c
+RMD160 (ruby-gnome2-all-0.16.0.tar.gz) = c83c7cdcf633ad5cc213180f641a6c8f18002a9c
+Size (ruby-gnome2-all-0.16.0.tar.gz) = 1208856 bytes
+SHA1 (patch-aa) = c2d366bd156936838ec0a8f74ab89474f3373931
+SHA1 (patch-ab) = 513dea951b8596dafd4c0c4f58cb7614b6a68dc0
+SHA1 (patch-ac) = 28e54cb6be9dbad161379989bc815a2bc84360bb
diff -r ab60b9851811 -r 2b92ec865f3e devel/ruby-gnome2-glib/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gnome2-glib/patches/patch-aa Sun Aug 19 03:00:26 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2007/08/19 03:00:27 taca Exp $
+
+--- glib/src/rbgobj_boxed.c.orig 2006-12-29 22:17:28.000000000 +0900
++++ glib/src/rbgobj_boxed.c
+@@ -145,7 +145,8 @@ rbgobj_boxed_initialize(obj, boxed)
+
+ gpointer
+ rbgobj_boxed_get(obj, gtype)
+- VALUE obj, gtype;
++ VALUE obj;
++ GType gtype;
+ {
+ boxed_holder* holder;
+ Data_Get_Struct(obj, boxed_holder, holder);
diff -r ab60b9851811 -r 2b92ec865f3e devel/ruby-gnome2-glib/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gnome2-glib/patches/patch-ab Sun Aug 19 03:00:26 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/08/19 03:00:27 taca Exp $
+
+--- glib/src/rbglib_maincontext.c.orig 2006-12-29 13:17:28.000000000 +0000
++++ glib/src/rbglib_maincontext.c
+@@ -343,7 +343,7 @@ timeout_add_seconds(VALUE self, VALUE in
+ info->callback = func;
+ id = g_timeout_add_seconds(NUM2UINT(interval),
+ (GSourceFunc)invoke_source_func,
+- (gpointer)info, g_free);
++ (gpointer)info);
+ info->id = id;
+ rb_id = UINT2NUM(id);
+ G_RELATIVE2(mGLibSource, func, id__callbacks__, rb_id);
diff -r ab60b9851811 -r 2b92ec865f3e devel/ruby-gnome2-glib/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gnome2-glib/patches/patch-ac Sun Aug 19 03:00:26 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/08/19 03:00:28 taca Exp $
+
+--- glib/src/rbglib_unicode.c.orig 2006-12-29 13:17:28.000000000 +0000
++++ glib/src/rbglib_unicode.c
+@@ -140,7 +140,7 @@ static VALUE
+ rbglib_m_unichar_get_script(VALUE self, VALUE unichar)
+ {
+ return GENUM2RVAL(g_unichar_get_script(NUM2UINT(unichar)),
+- G_TYPE_UNICODE_SCRIPT_TYPE);
++ G_TYPE_UNICODE_SCRIPT);
+ }
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index