From owner-cvs-all@FreeBSD.ORG Wed Dec 7 03:24:30 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8C401065673; Wed, 7 Dec 2011 03:24:30 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (unknown [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b2]) by mx1.freebsd.org (Postfix) with ESMTP id 85B968FC08; Wed, 7 Dec 2011 03:24:30 +0000 (UTC) Received: from meatwad.mouf.net (cpe-024-162-230-236.nc.res.rr.com [24.162.230.236]) (authenticated bits=0) by mouf.net (8.14.4/8.14.4) with ESMTP id pB73OKTx012779 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Tue, 6 Dec 2011 22:24:26 -0500 (EST) (envelope-from swills@FreeBSD.org) Message-ID: <4EDEDC63.50300@FreeBSD.org> Date: Tue, 06 Dec 2011 22:24:19 -0500 From: Steve Wills User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110531 Thunderbird/3.1.10 MIME-Version: 1.0 To: "Philip M. Gollucci" References: <201112060247.pB62lW9f062884@repoman.freebsd.org> <4EDE5A09.4090406@p6m7g8.com> <4EDE82A9.2050306@p6m7g8.com> In-Reply-To: <4EDE82A9.2050306@p6m7g8.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mouf.net [204.109.58.86]); Tue, 06 Dec 2011 22:24:27 -0500 (EST) X-Virus-Scanned: clamav-milter 0.97.2 at mouf.net X-Virus-Status: Clean Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/x11-toolkits/ruby-gtk2/files patch-rbgtkrecentfilterinfo.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 03:24:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/06/11 16:01, Philip M. Gollucci wrote: > On 12/06/11 20:21, Steve Wills wrote: >>> Really ? UTF8 in comments ? GCC should handle that though not >>> technically valid C89/99 I forget. Its clang/sun compiler that yells. >>> >>> >> >> GCC has nothing to do with it, unfortunately. The file in question is >> parsed by ruby and a regex is applied. Ruby 1.9 complains with: >> >> extconf.rb:123:in `block (2 levels) in run': invalid byte sequence in >> US-ASCII (ArgumentError) >> >> Apparently it's unwilling to perform a regex on data that it thinks should >> be US-ASCII only but turns out to be UTF8? I'm not sure. If you find a >> better solution, by all means let me know. > > Update extconf.rb:123 to use the /u flag in the regex. Though I'm not > sure why the comment has multi-byte stings to begin with. > Thanks, good idea. Unfortunately, it didn't solve the problem. Putting Encoding.default_external="UTF-8" at the top of extconf.rb did, but it's not worth bothering with for now, IMHO. I'll get it next time. Thanks, Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJO3txjAAoJEPXPYrMgexuhf4YH/0J6eo24NfIS9H4xDNbXh5qZ O/R0OFesjy5ONlrvjsWei4Wd7H4l3m8m4J1Lo8Q3JuA/PzJH2VwSxyC40YXH4HAP 1jTlPR4mvyjvdR0V4QIPWH2TEFpBKgK5JrjTsxQ28EeVIf0YQ7OapdwOMCofzx7E 5JuUtoaeR/GPp9a+bp5o0vcnnL7ZRMQ0XEUwq9StAX6w/MVr2Vwl+tPsFGXfBo2N Vn3/ixq2JoIzIO4V1cbwBFkTkMnd8nS92bdNWEqQhy+BYx9UvSHCR7Px1faTfIaG hr3Q/ld/LwNxjomhN8yJPZSyx7xvB8+Krf4EAPZGjbZqLOSLGTS+JmdVeAqx9T8= =Ut1o -----END PGP SIGNATURE-----