summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-10-18 19:26:10 +0000
committerHans de Graaff <graaff@gentoo.org>2007-10-18 19:26:10 +0000
commitae2ddb2b5b9055b45751a05b847d08bddc02d808 (patch)
tree9e14e369aeb141c1da6cc4ceb9b4ce87428ed29a /dev-ruby/ruby-glib2/files
parentfix var quoting. (diff)
downloadhistorical-ae2ddb2b5b9055b45751a05b847d08bddc02d808.tar.gz
historical-ae2ddb2b5b9055b45751a05b847d08bddc02d808.tar.bz2
historical-ae2ddb2b5b9055b45751a05b847d08bddc02d808.zip
Fix bug with glib 2.14 API
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-ruby/ruby-glib2/files')
-rw-r--r--dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r13
-rw-r--r--dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch26
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r1 b/dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r1
new file mode 100644
index 000000000000..3a3870dfc695
--- /dev/null
+++ b/dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r1
@@ -0,0 +1,3 @@
+MD5 b3b4f81ef0fe2ce6b3f965bb7c6d3686 ruby-gnome2-all-0.16.0.tar.gz 1208856
+RMD160 c83c7cdcf633ad5cc213180f641a6c8f18002a9c ruby-gnome2-all-0.16.0.tar.gz 1208856
+SHA256 0910f08c5224bc39aad66c46b506e5c97e260475ede6b427d5365a9ef2d69ad4 ruby-gnome2-all-0.16.0.tar.gz 1208856
diff --git a/dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch b/dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch
new file mode 100644
index 000000000000..7e3e1205f86d
--- /dev/null
+++ b/dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch
@@ -0,0 +1,26 @@
+Found patch at
+http://www.redhat.com/archives/fedora-extras-commits/2007-August/msg02211.html
+
+Fixes compatibility issue for glib-2.14
+
+--- ruby-gnome2-all-0.16.0/glib/src/rbglib_maincontext.c.glib2_14 2006-12-29 22:17:28.000000000 +0900
++++ ruby-gnome2-all-0.16.0/glib/src/rbglib_maincontext.c 2007-08-09 23:05:28.000000000 +0900
+@@ -343,7 +343,7 @@
+ 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);
+--- ruby-gnome2-all-0.16.0/glib/src/rbglib_unicode.c.glib2_14 2006-12-29 22:17:28.000000000 +0900
++++ ruby-gnome2-all-0.16.0/glib/src/rbglib_unicode.c 2007-08-09 23:35:54.000000000 +0900
+@@ -140,6 +140,6 @@
+ 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