svn commit: r321555 - head/devel/ruby-locale/files
Dirk Meyer
dinoex at FreeBSD.org
Sat Jun 22 08:41:45 UTC 2013
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);
}
More information about the svn-ports-head
mailing list