From owner-svn-ports-head@FreeBSD.ORG Sat Jun 22 08:41:45 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B494E9B5; Sat, 22 Jun 2013 08:41:45 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id A5F881216; Sat, 22 Jun 2013 08:41:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5M8fjmj049500; Sat, 22 Jun 2013 08:41:45 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5M8fjUr049499; Sat, 22 Jun 2013 08:41:45 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201306220841.r5M8fjUr049499@svn.freebsd.org> From: Dirk Meyer Date: Sat, 22 Jun 2013 08:41:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321555 - head/devel/ruby-locale/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 08:41:45 -0000 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); }