Date: Sat, 22 Jun 2013 08:41:45 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321555 - head/devel/ruby-locale/files Message-ID: <201306220841.r5M8fjUr049499@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Sat Jun 22 08:41:44 2013 New Revision: 321555 URL: http://svnweb.freebsd.org/changeset/ports/321555 Log: - fix build with ruby 1.9 Modified: head/devel/ruby-locale/files/patch-ab Modified: head/devel/ruby-locale/files/patch-ab ============================================================================== --- head/devel/ruby-locale/files/patch-ab Sat Jun 22 08:34:28 2013 (r321554) +++ head/devel/ruby-locale/files/patch-ab Sat Jun 22 08:41:44 2013 (r321555) @@ -1,6 +1,11 @@ ---- rblocale.c.orig Fri Apr 14 08:20:58 2000 -+++ rblocale.c Mon Jun 21 20:36:37 2004 -@@ -31,6 +31,16 @@ +--- rblocale.c.orig 2000-04-14 06:20:58.000000000 +0200 ++++ rblocale.c 2013-06-21 12:52:36.000000000 +0200 +@@ -27,10 +27,20 @@ + { + char *ret; + +- ret = setlocale(NUM2INT(category), locale == Qnil ? "" : STR2CSTR(locale)); ++ ret = setlocale(NUM2INT(category), locale == Qnil ? "" : StringValuePtr(locale)); return ret == NULL ? Qnil : rb_str_new2(ret); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306220841.r5M8fjUr049499>