aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-gtk2
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-12-06 10:47:32 +0800
committerswills <swills@FreeBSD.org>2011-12-06 10:47:32 +0800
commitbabb4ef8d9fa0f35818c2c1eb15383e8349c2b9f (patch)
treebf128351e8ae21b9f236ac473eb2abc454a30b25 /x11-toolkits/ruby-gtk2
parent07c25bde135c4213c47ea3c252987f50d1ceb248 (diff)
downloadfreebsd-ports-gnome-babb4ef8d9fa0f35818c2c1eb15383e8349c2b9f.tar.gz
freebsd-ports-gnome-babb4ef8d9fa0f35818c2c1eb15383e8349c2b9f.tar.zst
freebsd-ports-gnome-babb4ef8d9fa0f35818c2c1eb15383e8349c2b9f.zip
- Fix build with Ruby 1.9 (I wish I were making this up). No change to
default package so no PORTREVISION bump Feature safe: yes
Diffstat (limited to 'x11-toolkits/ruby-gtk2')
-rw-r--r--x11-toolkits/ruby-gtk2/files/patch-rbgtkrecentfilterinfo.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-gtk2/files/patch-rbgtkrecentfilterinfo.c b/x11-toolkits/ruby-gtk2/files/patch-rbgtkrecentfilterinfo.c
new file mode 100644
index 000000000000..8a7d6386395d
--- /dev/null
+++ b/x11-toolkits/ruby-gtk2/files/patch-rbgtkrecentfilterinfo.c
@@ -0,0 +1,11 @@
+--- ext/gtk2/rbgtkrecentfilterinfo.c.orig 2011-12-06 02:31:21.000000000 +0000
++++ ext/gtk2/rbgtkrecentfilterinfo.c 2011-12-06 02:32:42.000000000 +0000
+@@ -103,7 +103,7 @@
+ static VALUE
+ rf_set_applications(VALUE self, VALUE applications)
+ {
+- /* NOTE: This can’t be right. What guarantees that the entries in
++ /* NOTE: This can't be right. What guarantees that the entries in
+ * applications will be around? It should be RVAL2STRV_DUP and use
+ * g_strfreev in free above. */
+ _SELF(self)->applications = RVAL2STRV(applications);