cvs commit: ports/x11-toolkits/ruby-gtk2/files patch-rbgtkrecentfilterinfo.c

Philip M. Gollucci pgollucci at gmail.com
Tue Dec 6 21:01:35 UTC 2011


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.




-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20111206/ca281027/signature.pgp


More information about the cvs-ports mailing list